基于LLM的数学优化建模失败模式分析
Understanding Failure Patterns in LLM-Based Mathematical Optimization Modeling
研究将LLM优化建模过程拆解为数学推理、求解器使用和领域知识三部分,并构建针对性数据集分析各组件与错误的关联,发现不同组件对应不同失败类型,但关联并不总是强或一致。组合这些组件可提升执行可靠性,然而可行但错误的解仍是主要失败模式,说明可执行性与正确性之间仍存在差距。
arXiv:2611.33351v1 Announce Type: new Abstract: Industrial optimization involves complex constraints, making optimization modeling difficult to automate. Large language models (LLMs) have been explored for generating optimization models from natural language, but their reliability in end-to-end settings remains limited, often producing non-executable, infeasible, or feasible but incorrect solutions. In this work, we study failure modes in LLM-based optimization modeling by decomposing the process into three components: mathematical reasoning, solver usage, and domain knowledge, and constructing datasets that target each aspect. Using these datasets, we analyze how different components relate to errors and find that they are associated with different types of failure, although these relationships are not always strong or consistent. Furthermore, while combining these components improves execution reliability, feasible but incorrect solutions remain the dominant failure mode, suggesting a remaining gap between executability and correctness. These findings highlight limitations of current dataset designs and suggest the importance of data that better capture constraint completeness and formulation accuracy to enhance reliability.
来源:arXiv (AI + Vision + Imaging) · arxiv.org