Understanding Failure Patterns in LLM-Based Mathematical Optimization Modeling
Ryoichi Takase, Xian Yeow Lee, Hikaru Tomonari, Masaya Tsunokake
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.
Create a lesson
Related papers
Understanding Clipping In Zeroth-Order Optimization
Shared title terminologycs.LGSaket Gollapudi, Elisa Bertino, Sewoong Oh
When High Capacity Becomes Undeployable: Pore-Filling Constraints for Multi-Objective Optimization of Direct Air Capture Sorbents
Shared title terminologycs.LGYujie Liu, Xuehua Shen, Zuotai Zhang
CARROT: Competitive Adaptive Graph Clustering via Semi-Relaxed Optimal Transport
Shared title terminologycs.LGChing Fan Chiang, Jia-Yu Pan, Wen-Chieh Lin
BReD: Block Replay Dithering for Stable Low-Bit EMA Optimizer States
Shared title terminologycs.LGHeshen Zhan, Youhan Huang, Yunke Peng et al.
Don't Waste the Population: Post-Anneal Refinement for Combinatorial Optimization
Shared title terminologycs.LGYuma Ichikawa
Understanding Mode Collapse in Diffusion Models under Classifier-Free Guidance
Shared title terminologycs.LGDaniel Pfrommer, Chenyang Yuan, Frank Permenter et al.