Falsification-Based Verification of LLM-Generated Optimization Models: Sound Test Batteries and Their Detection Limits
Not on the map. Why?
Abstract (arXiv)
Large language models now translate natural-language descriptions of decision problems into solver-ready optimization models, and they fail silently. A generated model often runs and still encodes the wrong problem, while standard evaluation compares optimal values against labeled answers that deployment does not provide. How to certify such a model without any reference is the question this paper addresses. We develop falsification-based verification. Every numeric quantity in a problem description plays a role that the text itself states, such as a capacity, a requirement, or a unit cost, and any correct model must respond to changes in these quantities as the stated roles dictate. From duality and sensitivity analysis we derive a battery of solver-based tests that are individually sound, so a violation certifies a faulty model and the false-positive rate is zero by design. We characterize the errors that no test of this kind can see, give conditions under which each canonical error class is detected with certainty, and prove that perturbation testers with tuned thresholds cannot be simultaneously sound and nontrivial. Across 326 ground-truth models, a synthetic family, and four public benchmarks with two generators, the battery flags 0.0% of faithful models while a threshold tester flags 54.9%; it detects 56.1% of core formulation errors, 70.0% under certified preconditions, and 40.4% of the errors that value-based scoring provably cannot see, and it reproduces the predicted detectability pattern including its blind spots. Every flag carries a machine-checkable certificate that localizes the defect, and a full audit costs about 25 millisecond-scale solver calls per model. Classical sensitivity analysis and duality thus offer a rigorous, label-free audit that complements existing evaluation of AI-generated optimization models.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 22 of its 36 references that are in the map. First posted on arXiv 18 Jul 2026.
Builds on
22 of 36 references.
References · 22
- 2023Large Language Models Cannot Self-Correct Reasoning Yetcited by 965
- 2023NL4Opt Competition: Formulating Optimization Problems Based on Their Natural Language Descriptionscited by 133
- 2024ORLM: A Customizable Framework in Training Large Models for Automated Optimization Modelingcited by 124
- 2024LLMOPT: Learning to Define and Solve General Optimization Problems from Scratchcited by 102
- 2024OptiBench Meets ReSocratic: Measure and Improve LLMs for Optimization Modelingcited by 66
- 2025OptMATH: A Scalable Bidirectional Data Synthesis Framework for Optimization Modelingcited by 48
- 2025Solver-Informed RL: Grounding Large Language Models for Authentic Optimization Modelingcited by 44
- 2021Optimization with Constraint Learning: A Framework and Surveycited by 28
- 2026ReLoop: Structured Modeling and Behavioral Verification for Reliable LLM-Based Optimizationcited by 8
- 2025ORGEval: Graph-Theoretic Evaluation of LLMs in Optimization Modelingcited by 7
- 2024Validating LLM-Generated Programs with Metamorphic Prompt Testingcited by 6
- 2026ConstraintBench: Benchmarking LLM Constraint Reasoning on Direct Optimizationcited by 6
10 more
- 2026Opt-Verifier: Unleashing the Power of LLMs for Optimization Modeling via Dual-Side Verificationcited by 5
- 2026Strategy-Aware Optimization Modeling with Reasoning LLMscited by 4
- 2024Metamorphic Relation Generation: State of the Art and Visions for Future Researchcited by 3
- 2025An Agent-Based Framework for the Automatic Validation of Mathematical Optimization Modelscited by 3
- 2026OptArgus: A Multi-Agent System to Detect Hallucinations in LLM-based Optimization Modelingcited by 3
- 2026Execution-Verified Reinforcement Learning for Optimization Modelingcited by 2
- 2026TriVAL: A Tri-Validation Framework for Faithful Automatic Optimization Modelingcited by 2
- 2026OptiLoop: Coordination-in-the-Loop Verification and Repair for LLM-Generated Optimization Agentscited by 2
- 2026Beyond Objective Equivalence: Constraint Injection for LLM-Based Optimization Modeling on Vehicle Routing Problemscited by 2
- 2026MiniOpt: Reasoning to Model and Solve General Optimization Problems with Limited Resourcescited by 1
Built on by
Citing papers per year: 2026: 1.
1 paper.