When Words Change the Model: Sensitivity of LLMs for Constraint Programming Modelling
Alessio PellegrinoJacopo Mauro
Oct 2026· Lecture notes in computer science
Constraint Satisfaction and Optimization
Abstract
Abstract 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. 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.
The results are packaged in the Greenfield Startup Model (GSM), which explains the priority of startups to release the product as quickly as possible, and the need to shorten time-to-market, by speeding up the development through low-precision engineering activities.
Carmine Giardino, Nicolò Paternoster, M. Unterkalmsteiner et al.· IEEE Transactions on Softwar...· 178 citations· ⚡14
Software startup companies develop innovative, software-intensive products within limited timeframes and with few resources, searching for sustainable and scalable business models.
M. Unterkalmsteiner, P. Abrahamsson, Xiaofeng Wang et al.· e-Informatica Software Engin...· 157 citations· ⚡17
This study conducts a case survey study based on the secondary data of the major pivots happened in 49 software startups, and demonstrates that customer need pivot is the most common among all pivot types.
Sohaib Shahid Bajwa, Xiaofeng Wang, Anh Nguyen-Duc et al.· Empirical Software Engineeri...· 127 citations· ⚡15
The comparison of adopter and non-adopter sample reveals three potential adoption inhibitor, security, data privacy, and portability, which underlines the importance of the technical and security perspectives for research investigating the adoption of technology.
Nattakarn Phaphoom, Xiaofeng Wang, S. Samuel et al.· Journal of Systems and Softw...· 111 citations· ⚡8
The ongoing work building a Raspberry Pi cluster consisting of 300 nodes is presented, with potential use cases being an inexpensive and green test bed for cloud computing research and a robust and mobile data center for operating in adverse environments.
P. Abrahamsson, S. Helmer, Nattakarn Phaphoom et al.· IEEE International Conferenc...· 110 citations· ⚡7
The findings show that speed related agile practices are used to a greater extent in comparison to quality practices, and that software startups who adopt the Lean Startup approach do not sacrifice quality for speed more than other startups do.
Jevgenija Pantiuchina, Marco Mondini, Dron Khanna et al.· International Conference on...· 84 citations· ⚡4
Related blog posts
MIT News · Artificial Intelligence· news.mit.eduOct 23, 2026
Assistant Professor Benjamin Lindquist studies how engineers deliberately injected randomness into early AI, giving rise to deep-learning models that sometimes hallucinate.
Flint-interactive gives AI agents a language for creating interactive visualizations. Click a chart, filter data, highlight related content, and explore beyond the view the author originally chose. The post Flint-interactive: A language for creating interactive data visualizations appeared first on Microsoft Research.