{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,16]],"date-time":"2026-11-16T18:52:31Z","timestamp":1794855151138,"version":"4.9.1"},"publisher-location":"Cham","reference-count":42,"publisher":"Springer Nature Switzerland","isbn-type":[{"value":"9783032412683","type":"print"},{"value":"9783032412690","type":"electronic"}],"license":[{"start":{"date-parts":[[2026,10,13]],"date-time":"2026-10-13T00:00:00Z","timestamp":1791849600000},"content-version":"tdm","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"},{"start":{"date-parts":[[2026,10,13]],"date-time":"2026-10-13T00:00:00Z","timestamp":1791849600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"}],"content-domain":{"domain":["link.springer.com"],"crossmark-restriction":false},"short-container-title":[],"published-print":{"date-parts":[[2027]]},"abstract":"<jats:title>Abstract<\/jats:title>\n                  <jats:p>Automatically deriving executable and efficient constraint programming models from natural language descriptions has long been a central goal in optimisation and constraint programming. Large Language Models (LLMs) appear to bring this vision closer, showing promising results in generating models for classical benchmark problems. However, part of this apparent success may stem from data contamination rather than genuine reasoning capabilities, as many standard CP problems are likely represented in the training data of modern LLMs.<\/jats:p>\n                  <jats:p>In this initial investigation, we study the robustness of LLM-based constraint modelling by rephrasing and perturbing a set of 10 constraint problems while preserving their underlying structure. The modifications alter contextual elements and introduce misleading or distracting information to explore whether models rely on semantic understanding or superficial textual cues. We compare the models generated by three representative LLMs across the original and modified problem descriptions. Our qualitative analysis shows that, although LLMs frequently produce syntactically valid and semantically plausible models, their performance degrades significantly under contextual and linguistic variation, suggesting strong sensitivity to wording and contextual cues.<\/jats:p>","DOI":"10.1007\/978-3-032-41269-0_6","type":"book-chapter","created":{"date-parts":[[2026,10,13]],"date-time":"2026-10-13T20:28:39Z","timestamp":1791923319000},"page":"83-104","update-policy":"https:\/\/doi.org\/10.1007\/springer_crossmark_policy","source":"Crossref","is-referenced-by-count":0,"title":["When Words Change the\u00a0Model: Sensitivity of\u00a0LLMs for\u00a0Constraint Programming Modelling"],"prefix":"10.1007","author":[{"given":"Alessio","family":"Pellegrino","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Jacopo","family":"Mauro","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"297","published-online":{"date-parts":[[2026,10,13]]},"reference":[{"key":"6_CR1","unstructured":"Anthropic: Introducing Claude 4\u2014anthropic.com (2025). https:\/\/www.anthropic.com\/news\/claude-4"},{"key":"6_CR2","doi-asserted-by":"crossref","unstructured":"Balafas, V., Tsouros, D., Ploskas, N., Stergiou, K.: The impact of solution diversity on passive constraint acquisition. In: Proceedings of the 13th Hellenic Conference on Artificial Intelligence, pp. 1\u201310 (2024)","DOI":"10.1145\/3688671.3688759"},{"key":"6_CR3","doi-asserted-by":"crossref","unstructured":"Balloccu, S., Schmidtov\u00e1, P., Lango, M., Du\u0161ek, O.: Leak, cheat, repeat: data contamination and evaluation malpractices in closed-source LLMs. In: Proceedings of the 18th Conference of the European Chapter of the Association for Computational Linguistics (EACL), pp. 67\u201393 (2024)","DOI":"10.18653\/v1\/2024.eacl-long.5"},{"issue":"9","key":"6_CR4","doi-asserted-by":"publisher","first-page":"1066","DOI":"10.1140\/epjc\/s10052-025-14707-8","volume":"85","author":"KG Barman","year":"2025","unstructured":"Barman, K.G., et al.: Large physics models: towards a collaborative approach with large language models and foundation models. Eur. Phys. J. C 85(9), 1066 (2025)","journal-title":"Eur. Phys. J. C"},{"key":"6_CR5","unstructured":"Bart\u00e1k, R.: Constraint programming: in pursuit of the holy grail. In: Proceedings of the Week of Doctoral Students (WDS99), vol. 4, pp. 555\u2013564. MatFyzPress, Prague (1999)"},{"issue":"2","key":"6_CR6","doi-asserted-by":"publisher","first-page":"405","DOI":"10.1016\/j.ejor.2020.07.063","volume":"290","author":"Y Bengio","year":"2021","unstructured":"Bengio, Y., Lodi, A., Prouvost, A.: Machine learning for combinatorial optimization: a methodological tour d\u2019horizon. Eur. J. Oper. Res. 290(2), 405\u2013421 (2021)","journal-title":"Eur. J. Oper. Res."},{"key":"6_CR7","doi-asserted-by":"publisher","first-page":"315","DOI":"10.1016\/j.artint.2015.08.001","volume":"244","author":"C Bessiere","year":"2017","unstructured":"Bessiere, C., Koriche, F., Lazaar, N., O\u2019Sullivan, B.: Constraint acquisition. Artif. Intell. 244, 315\u2013342 (2017)","journal-title":"Artif. Intell."},{"key":"6_CR8","unstructured":"Blackwell, R.E., Barry, J., Cohn, A.G.: Towards reproducible LLM evaluation: quantifying uncertainty in LLM benchmark scores. arXiv preprint arXiv:2410.03492 (2024)"},{"key":"6_CR9","doi-asserted-by":"crossref","unstructured":"Cappart, Q., Guns, T., Lombardi, M., Pesant, G., Tsouros, D.: Combining constraint programming and machine learning: from current progress to future opportunities. J. Artif. Intell. Res. 84 (2025)","DOI":"10.1613\/jair.1.19533"},{"key":"6_CR10","doi-asserted-by":"crossref","unstructured":"Cappart, Q., Moisan, T., Rousseau, L.M., Pr\u00e9mont-Schwarz, I., Cire, A.A.: Combining reinforcement learning and constraint programming for combinatorial optimization. In: Proceedings of the AAAI Conference on Artificial Intelligence, vol. 35, pp. 3677\u20133687 (2021)","DOI":"10.1609\/aaai.v35i5.16484"},{"key":"6_CR11","unstructured":"Claes, J., Bogaerts, B., Canoy, R., Guns, T.: User-oriented solving and explaining of natural language logic grid puzzles. In: The Third Workshop on Progress Towards the Holy Grail, vol. 14 (2019)"},{"key":"6_CR12","doi-asserted-by":"publisher","unstructured":"Da Ros, F., Soprano, M., Gaspero, L.D., Roitero, K.: Large language models for combinatorial optimization: a systematic review. ACM Comput. Surv. 58(11), 272:1\u2013272:53 (2026). https:\/\/doi.org\/10.1145\/3801961","DOI":"10.1145\/3801961"},{"key":"6_CR13","doi-asserted-by":"publisher","unstructured":"Demoen, B., Garcia de\u00a0la Banda, M.: Redundant sudoku rules. Theory Pract. Log. Program. 14(3), 363\u2013377 (2014). https:\/\/doi.org\/10.1017\/S1471068412000361","DOI":"10.1017\/S1471068412000361"},{"key":"6_CR14","unstructured":"Frisch, A.M., Grum, M., Jefferson, C., Hernandez, B.M., Miguel, I.: The design of ESSENCE: a constraint language for specifying combinatorial problems. In: Proceedings of the 20th International Joint Conference on Artificial Intelligence (IJCAI 2007), pp. 80\u201387 (2007)"},{"key":"6_CR15","series-title":"Lecture Notes in Computer Science","doi-asserted-by":"publisher","first-page":"480","DOI":"10.1007\/978-3-540-48085-3_36","volume-title":"Principles and Practice of Constraint Programming \u2013 CP\u201999","author":"IP Gent","year":"1999","unstructured":"Gent, I.P., Walsh, T.: CSPlib: a benchmark library for constraints. In: Jaffar, J. (ed.) CP 1999. LNCS, vol. 1713, pp. 480\u2013481. Springer, Heidelberg (1999). https:\/\/doi.org\/10.1007\/978-3-540-48085-3_36"},{"key":"6_CR16","unstructured":"Guns, T.: Increasing modeling language convenience with a universal $$n$$-dimensional array, CPpy as Python-embedded example. In: Proceedings of the 18th Workshop on Constraint Modelling and Reformulation at CP (Modref 2019), vol. 19 (2019)"},{"key":"6_CR17","unstructured":"Guo, D., et\u00a0al.: DeepSeek-R1: incentivizing reasoning capability in LLMs via reinforcement learning. arXiv preprint arXiv:2501.12948 (2025)"},{"key":"6_CR18","doi-asserted-by":"crossref","unstructured":"Hagos, D.H., Battle, R., Rawat, D.B.: Recent advances in generative AI and large language models: current status, challenges, and perspectives. IEEE Trans. Artif. Intell. (2024)","DOI":"10.1109\/TAI.2024.3444742"},{"key":"6_CR19","unstructured":"Hoffmann, J., et al.: Training compute-optimal Large Language Models. arXiv preprint arXiv:2203.15556 (2022)"},{"issue":"5","key":"6_CR20","doi-asserted-by":"publisher","first-page":"1233","DOI":"10.1039\/D3DD00113J","volume":"2","author":"KM Jablonka","year":"2023","unstructured":"Jablonka, K.M., et al.: 14 examples of how LLMs can transform materials science and chemistry: a reflection on a Large Language Model hackathon. Digital Disc. 2(5), 1233\u20131250 (2023)","journal-title":"Digital Disc."},{"issue":"S1","key":"6_CR21","doi-asserted-by":"publisher","first-page":"S63","DOI":"10.1121\/1.2016299","volume":"62","author":"F Jelinek","year":"1977","unstructured":"Jelinek, F., Mercer, R.L., Bahl, L.R., Baker, J.K.: Perplexity \u2013 a measure of the difficulty of speech recognition tasks. J. Acoust. Soc. Am. 62(S1), S63\u2013S63 (1977)","journal-title":"J. Acoust. Soc. Am."},{"key":"6_CR22","unstructured":"Kiziltan, Z., Lippi, M., Torroni, P.: Constraint detection in natural language problem descriptions. In: Proceedings of the 25th International Joint Conference on Artificial Intelligence (IJCAI-16), pp. 744\u2013750 (2016)"},{"issue":"1","key":"6_CR23","doi-asserted-by":"publisher","first-page":"50","DOI":"10.1109\/TKDE.2020.2981314","volume":"34","author":"J Li","year":"2020","unstructured":"Li, J., Sun, A., Han, J., Li, C.: A survey on deep learning for named entity recognition. IEEE Trans. Knowl. Data Eng. 34(1), 50\u201370 (2020)","journal-title":"IEEE Trans. Knowl. Data Eng."},{"issue":"4","key":"6_CR24","doi-asserted-by":"publisher","first-page":"435","DOI":"10.1007\/s10601-015-9234-6","volume":"21","author":"M Lombardi","year":"2016","unstructured":"Lombardi, M., Gualandi, S.: A Lagrangian propagator for artificial neural networks in constraint programming. Constraints 21(4), 435\u2013462 (2016)","journal-title":"Constraints"},{"key":"6_CR25","doi-asserted-by":"crossref","unstructured":"Mellgren, N., Schneider-Kamp, P., Poech, L.G.: Training language models to use prolog as a tool. In: Findings of the Association for Computational Linguistics: ACL 2026, pp. 32860\u201332880. Association for Computational Linguistics (2026). https:\/\/aclanthology.org\/2026.findings-acl.1644\/","DOI":"10.18653\/v1\/2026.findings-acl.1644"},{"key":"6_CR26","doi-asserted-by":"publisher","unstructured":"Michailidis, K., Tsouros, D., Guns, T.: CP-bench: evaluating large language models for constraint modelling. In: ECAI. Frontiers in Artificial Intelligence and Applications, vol.\u00a0413, pp. 861\u2013868. IOS Press (2025). https:\/\/doi.org\/10.3233\/FAIA250890","DOI":"10.3233\/FAIA250890"},{"key":"6_CR27","unstructured":"MiniZinc Developers: 2.7. effective modelling practices in MiniZinc 2014; the MiniZinc handbook 2.9.4\u2014docs.minizinc.dev (2014). https:\/\/docs.minizinc.dev\/en\/stable\/efficient.html"},{"key":"6_CR28","series-title":"Lecture Notes in Computer Science","doi-asserted-by":"publisher","first-page":"529","DOI":"10.1007\/978-3-540-74970-7_38","volume-title":"Principles and Practice of Constraint Programming \u2013 CP 2007","author":"N Nethercote","year":"2007","unstructured":"Nethercote, N., Stuckey, P.J., Becket, R., Brand, S., Duck, G.J., Tack, G.: MiniZinc: towards a standard CP modelling language. In: Bessi\u00e8re, C. (ed.) CP 2007. LNCS, vol. 4741, pp. 529\u2013543. Springer, Heidelberg (2007). https:\/\/doi.org\/10.1007\/978-3-540-74970-7_38"},{"key":"6_CR29","unstructured":"OpenAI: GPT-4\u2014openai.com (2024). https:\/\/openai.com\/index\/gpt-4\/"},{"key":"6_CR30","unstructured":"Oren, Y., Meister, N., Chatterji, N.S., Ladhak, F., Hashimoto, T.: Proving test set contamination in black-box language models. In: The Twelfth International Conference on Learning Representations (ICLR) (2024)"},{"key":"6_CR31","doi-asserted-by":"crossref","unstructured":"Panagoulias, D.P., Palamidas, F.A., Virvou, M., Tsihrintzis, G.A.: Evaluating the potential of LLMs and ChatGPT on medical diagnosis and treatment. In: Proceedings of the 2023 14th International Conference on Information, Intelligence, Systems & Applications (IISA), pp.\u00a01\u20139. IEEE (2023)","DOI":"10.1109\/IISA59645.2023.10345968"},{"key":"6_CR32","doi-asserted-by":"crossref","unstructured":"Papineni, K., Roukos, S., Ward, T., Zhu, W.: BLEU: a method for automatic evaluation of machine translation. In: Proceedings of the 40th Annual Meeting of the Association for Computational Linguistics (ACL), pp. 311\u2013318. Association for Computational Linguistics (2002). https:\/\/aclanthology.org\/P02-1040\/","DOI":"10.3115\/1073083.1073135"},{"issue":"12","key":"6_CR33","doi-asserted-by":"publisher","first-page":"6518","DOI":"10.3390\/app15126518","volume":"15","author":"R Penco","year":"2025","unstructured":"Penco, R., Pintar, D., Vrani\u0107, M., \u0160o\u0161tari\u0107, M.: Large language model-driven framework for automated constraint model generation in configuration problems. Appl. Sci. 15(12), 6518 (2025)","journal-title":"Appl. Sci."},{"key":"6_CR34","doi-asserted-by":"publisher","unstructured":"Pennino, F., Raimondi, B., Rondelli, M., Gurioli, A., Gabbrielli, M.: From reasoning to code: GRPO optimization for underrepresented languages. CoRR arxiv:2506.11027 (2025). https:\/\/doi.org\/10.48550\/arXiv.2506.11027","DOI":"10.48550\/arXiv.2506.11027"},{"issue":"8","key":"6_CR35","first-page":"9","volume":"1","author":"A Radford","year":"2019","unstructured":"Radford, A., Wu, J., Child, R., Luan, D., Amodei, D., Sutskever, I., et al.: Language models are unsupervised multitask learners. OpenAI Blog 1(8), 9 (2019)","journal-title":"OpenAI Blog"},{"key":"6_CR36","unstructured":"Rossi, F., Van Beek, P., Walsh, T.: Handbook of Constraint Programming. Elsevier (2006)"},{"key":"6_CR37","doi-asserted-by":"crossref","unstructured":"Sainz, O., Campos, J.A., Garc\u00eda-Ferrero, I., Etxaniz, J., de\u00a0Lacalle, O.L., Agirre, E.: NLP evaluation in trouble: on the need to measure LLM data contamination for each benchmark. arXiv preprint arXiv:2310.18018 (2023)","DOI":"10.18653\/v1\/2023.findings-emnlp.722"},{"key":"6_CR38","unstructured":"Singirikonda, A., Kadioglu, S., Uppuluri, K.: Text2Zinc: a cross-domain dataset for modeling optimization and satisfaction problems in MiniZinc. arXiv preprint arXiv:2503.10642 (2025)"},{"key":"6_CR39","doi-asserted-by":"publisher","unstructured":"Song, Y., Cohen, E.: Do LLMs understand constraint programming? Zero-shot constraint programming model generation using LLMs. In: Learning and Intelligent Optimization: 19th International Conference, LION 19, Prague, Czech Republic, June 15\u201319, 2025, Proceedings, Part I, LNCS, pp. 16\u201331. Springer, Heidelberg (2025). https:\/\/doi.org\/10.1007\/978-3-032-09156-7_2","DOI":"10.1007\/978-3-032-09156-7_2"},{"key":"6_CR40","doi-asserted-by":"crossref","unstructured":"Voboril, F., Ramaswamy, V.P., Szeider, S.: Generating streamlining constraints with Large Language Models. arXiv preprint arXiv:2408.10268 (2024)","DOI":"10.1613\/jair.1.18965"},{"key":"6_CR41","unstructured":"Wang, H., Mang, Q., Cheung, A., Sen, K., Song, D.: How We Broke Top AI Agent Benchmarks: And What Comes Next (2026). https:\/\/rdi.berkeley.edu\/blog\/trustworthy-benchmarks-cont\/"},{"issue":"7","key":"6_CR42","doi-asserted-by":"publisher","first-page":"5731","DOI":"10.1007\/s10462-022-10144-1","volume":"55","author":"M Wankhade","year":"2022","unstructured":"Wankhade, M., Rao, A.C.S., Kulkarni, C.: A survey on sentiment analysis methods, applications, and challenges. Artif. Intell. Rev. 55(7), 5731\u20135780 (2022)","journal-title":"Artif. Intell. Rev."}],"container-title":["Lecture Notes in Computer Science","Bridging the Gap Between AI and Reality"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1007\/978-3-032-41269-0_6","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,10,13]],"date-time":"2026-10-13T20:28:42Z","timestamp":1791923322000},"score":1,"resource":{"primary":{"URL":"https:\/\/link.springer.com\/10.1007\/978-3-032-41269-0_6"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,10,13]]},"ISBN":["9783032412683","9783032412690"],"references-count":42,"URL":"https:\/\/doi.org\/10.1007\/978-3-032-41269-0_6","relation":{"is-part-of":[{"id-type":"doi","id":"https:\/\/doi.org\/10.1007\/978-3-032-41269-0","asserted-by":"object"}]},"ISSN":["0302-9743","1611-3349"],"issn-type":[{"value":"0302-9743","type":"print"},{"value":"1611-3349","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,10,13]]},"assertion":[{"value":"13 October 2026","order":1,"name":"first_online","label":"First Online","group":{"name":"ChapterHistory","label":"Chapter History"}},{"value":"AISoLA","order":1,"name":"conference_acronym","label":"Conference Acronym","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"International Conference on Bridging the Gap between AI and Reality","order":2,"name":"conference_name","label":"Conference Name","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"Kos","order":3,"name":"conference_city","label":"Conference City","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"Greece","order":4,"name":"conference_country","label":"Conference Country","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"2026","order":5,"name":"conference_year","label":"Conference Year","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"27 October 2026","order":7,"name":"conference_start_date","label":"Conference Start Date","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"31 October 2026","order":8,"name":"conference_end_date","label":"Conference End Date","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"4","order":9,"name":"conference_number","label":"Conference Number","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"aisola2026","order":10,"name":"conference_id","label":"Conference ID","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"https:\/\/2026-isola.isola-conference.org\/","order":11,"name":"conference_url","label":"Conference URL","group":{"name":"ConferenceInfo","label":"Conference Information"}}]}}