ReLoop: Structured Modeling and Behavioral Verification for Reliable LLM-Based Optimization
Not on the map. Why?
Abstract (arXiv)
Large language models (LLMs) can translate natural-language problem descriptions into optimization code, but the code is prone to silent failures: it executes and returns a solver-feasible solution while encoding a semantically incorrect formulation. On compositional problems, the resulting feasibility-correctness gap reaches 90 percentage points. We introduce ReLoop, which combines two mechanisms. Structured generation decomposes code production into a four-stage reasoning chain (understand, formalize, synthesize, verify) to reduce formulation errors during generation. Behavioral verification detects the errors that remain by testing whether the formulation responds correctly to solver-based parameter perturbation, a signal that comes from the solver rather than from LLM self-review and requires no ground truth. The two mechanisms address different error structures: structured generation gives the largest gain on compositional problems (+8.5pp accuracy on RetailOpt-190 with Claude Opus 4.6), and behavioral verification gives its largest gain on localized defects (+4.4pp on MAMO-ComplexLP). With diagnostic execution recovery, ReLoop reaches 100% executable code on Claude Opus 4.6, and relative to direct generation it raises or preserves every reported metric of the three chat-tuned foundation models on all three benchmarks. For the narrowly fine-tuned SFT model we test, the chain-of-thought prompt conflicts with its learned output format and lowers its accuracy on MAMO-ComplexLP; we document and analyze this interaction. We release RetailOpt-190, 190 compositional retail optimization scenarios in which several constraints interact.
Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). Builds on 16 of its 32 references that are in the map. First posted on arXiv 17 Feb 2026.
Builds on
16 of 32 references.
References · 16
- 2025Qwen3 Technical Reportcited by 8,820
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
- 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,276
- 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,442
- 2023Large Language Models Cannot Self-Correct Reasoning Yetcited by 1,017
- 2022CodeT: Code Generation with Generated Testscited by 384
- 2023LEVER: Learning to Verify Language-to-Code Generation with Executioncited by 239
- 2023NL4Opt Competition: Formulating Optimization Problems Based on Their Natural Language Descriptionscited by 135
- 2024ORLM: A Customizable Framework in Training Large Models for Automated Optimization Modelingcited by 124
- 2024OptiMUS: Scalable Optimization Modeling with (MI)LP Solvers and Large Language Modelscited by 109
- 2024LLMOPT: Learning to Define and Solve General Optimization Problems from Scratchcited by 102
- 2020Metamorphic Testing: A New Approach for Generating Next Test Casescited by 75
4 more
- 2025OptMATH: A Scalable Bidirectional Data Synthesis Framework for Optimization Modelingcited by 49
- 2025Solver-Informed RL: Grounding Large Language Models for Authentic Optimization Modelingcited by 45
- 2025OptiChat: Bridging Optimization Models and Practitioners with Large Language Modelscited by 8
- 2025SAC-Opt: Semantic Anchors for Iterative Correction in Optimization Modelingcited by 8
Built on by
Citing papers per year: 2026: 8.
8 papers.
- 2026OptiLoop: Coordination-in-the-Loop Verification and Repair for LLM-Generated Optimization Agentscited by 2
- 2026StarOR: Synergizing Tree Search and Test-Time Reinforcement Learning for Optimization Modelingcited by 1
- 2026Falsification-Based Verification of LLM-Generated Optimization Models: Sound Test Batteries and Their Detection Limitscited by 1
- 2026Is Vibe Coding the Future? An Empirical Assessment of LLM Generated Codes for Construction Safetycited by 0
- 2026Large Language Models as Optimizers: A Survey of Direct vs. Tool-Augmented Approaches and Their Performance Frontierscited by 0
- 2026Admission Without Answers: Label-Free Certification and Experience Learning for LLM-Based Optimization Modelingcited by 0
- 2026OptiSkill: A Hierarchical and Evolving SkillBank for LLM-Based Optimization Modelingcited by 0
- 2026OR for AI That Does OR: Routing LLMs up the Escalator inside the OSCAR Frameworkcited by 0
- 2026OR for AI That Does OR: Routing LLMs up the Escalator inside the OSCAR Framework1 Oct 2026
- 2026OptiSkill: A Hierarchical and Evolving SkillBank for LLM-Based Optimization Modeling19 Sep 2026
- 2026Admission Without Answers: Label-Free Certification and Experience Learning for LLM-Based Optimization Modeling16 Aug 2026
- 2026Falsification-Based Verification of LLM-Generated Optimization Models: Sound Test Batteries and Their Detection Limits18 Jul 2026
- 2026StarOR: Synergizing Tree Search and Test-Time Reinforcement Learning for Optimization Modeling13 Jun 2026
- 2026OptiLoop: Coordination-in-the-Loop Verification and Repair for LLM-Generated Optimization Agents26 May 2026
- 2026Is Vibe Coding the Future? An Empirical Assessment of LLM Generated Codes for Construction Safety14 Apr 2026
- 2026Large Language Models as Optimizers: A Survey of Direct vs. Tool-Augmented Approaches and Their Performance Frontiers9 Apr 2026
Similar, not cited
Close in wording, no citation either way
- 2025Toward a Trustworthy Optimization Modeling Agent via Verifiable Synthetic Data Generation
- 2026OPT-Engine: Benchmarking the Limits of LLMs in Optimization Modeling via Complexity Scaling
- 2025Peering Inside the Black Box: Uncovering LLM Errors in Optimization Modelling through Component-Level Evaluation
- 2026ReaComp: Compiling LLM Reasoning into Symbolic Solvers for Efficient Program Synthesis
- 2025Step-Opt: Boosting Optimization Modeling in LLMs through Iterative Data Synthesis and Structured Validation
- 2026Efficiency Hallucination: Formalizing and Measuring Behavioral Calibration in LLM-Based Code Optimization
- 2025AlphaOPT: Formulating Optimization Programs with Self-Improving LLM Experience Library
- 2024OptiBench Meets ReSocratic: Measure and Improve LLMs for Optimization Modeling