arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2511.14334cs.AIcs.LG
收藏

当表述改变模型:大语言模型在约束规划建模中的敏感性

When Words Change the Model: Sensitivity of LLMs for Constraint Programming Modelling

Alessio Pellegrino, Jacopo Mauro

AI总结:

为验证大语言模型在约束规划建模上的成功是否源于数据污染,研究通过改写CSPLib问题测试发现,LLM性能随表述变化骤降,存在理解浅薄、对措辞敏感的问题。

摘要:

优化与约束规划领域的长期目标之一,是用自然语言描述问题并自动获得可执行的高效模型。大语言模型(LLM)似乎让这一愿景更近一步,在为经典基准自动生成模型方面展现出令人瞩目的成果。然而,这种表面上的成功很大程度上可能源于数据污染而非真正的推理:许多标准约束规划(CP)问题很可能被包含在这些模型的训练数据中。为验证这一假设,我们对一组知名的CSPLib问题进行了系统改写和扰动,在保留问题结构的同时修改其背景并引入误导性元素。随后我们对比了三款代表性LLM在原始描述与修改后描述下生成的模型。定性分析表明,尽管LLM能生成语法有效、语义看似合理的模型,但在背景和语言表述发生变化时,其性能会急剧下降,暴露出理解浅薄且对措辞敏感的问题。

英文摘要:

One of the long-standing goals in optimisation and constraint programming is to describe a problem in natural language and automatically obtain an executable, efficient model. Large language models appear to bring this vision closer, showing impressive results in automatically generating models for classical benchmarks. However, much of this apparent success may derive from data contamination rather than genuine reasoning: many standard CP problems are likely included in the training data of these models. To examine this hypothesis, we systematically rephrased and perturbed a set of well-known CSPLib problems to preserve their structure while modifying their context and introducing misleading elements. We then compared the models produced by three representative LLMs across original and modified descriptions. Our qualitative analysis shows that while LLMs can produce syntactically valid and semantically plausible models, their performance drops sharply under contextual and linguistic variation, revealing shallow understanding and sensitivity to wording.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑