mlsanityData to 14 Oct 2026

ReLoop: Structured Modeling and Behavioral Verification for Reliable LLM-Based Optimization

arXiv 2602.15983 ↗First posted 17 Feb 2026cs.SE cs.AI cs.LGcited by 8

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

  1. 2025Qwen3 Technical Reportcited by 8,820
  2. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
  3. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,276
  4. 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,442
  5. 2023Large Language Models Cannot Self-Correct Reasoning Yetcited by 1,017
  6. 2022CodeT: Code Generation with Generated Testscited by 384
  7. 2023LEVER: Learning to Verify Language-to-Code Generation with Executioncited by 239
  8. 2023NL4Opt Competition: Formulating Optimization Problems Based on Their Natural Language Descriptionscited by 135
  9. 2024ORLM: A Customizable Framework in Training Large Models for Automated Optimization Modelingcited by 124
  10. 2024OptiMUS: Scalable Optimization Modeling with (MI)LP Solvers and Large Language Modelscited by 109
  11. 2024LLMOPT: Learning to Define and Solve General Optimization Problems from Scratchcited by 102
  12. 2020Metamorphic Testing: A New Approach for Generating Next Test Casescited by 75
4 more
  1. 2025OptMATH: A Scalable Bidirectional Data Synthesis Framework for Optimization Modelingcited by 49
  2. 2025Solver-Informed RL: Grounding Large Language Models for Authentic Optimization Modelingcited by 45
  3. 2025OptiChat: Bridging Optimization Models and Practitioners with Large Language Modelscited by 8
  4. 2025SAC-Opt: Semantic Anchors for Iterative Correction in Optimization Modelingcited by 8

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 8.

8 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Toward a Trustworthy Optimization Modeling Agent via Verifiable Synthetic Data Generation
  2. 2026OPT-Engine: Benchmarking the Limits of LLMs in Optimization Modeling via Complexity Scaling
  3. 2025Peering Inside the Black Box: Uncovering LLM Errors in Optimization Modelling through Component-Level Evaluation
  4. 2026ReaComp: Compiling LLM Reasoning into Symbolic Solvers for Efficient Program Synthesis
  5. 2025Step-Opt: Boosting Optimization Modeling in LLMs through Iterative Data Synthesis and Structured Validation
  6. 2026Efficiency Hallucination: Formalizing and Measuring Behavioral Calibration in LLM-Based Code Optimization
  7. 2025AlphaOPT: Formulating Optimization Programs with Self-Improving LLM Experience Library
  8. 2024OptiBench Meets ReSocratic: Measure and Improve LLMs for Optimization Modeling