ReLoop: Structured Modeling and Behavioral Verification for Reliable LLM-Based Optimization
Junbo Jacob Lian, Yujun Sun, Huiling Chen, Chaoyu Zhang, Hanzhang Qin, Chung-Piaw Teo
TL;DR. ReLoop combines structured four-stage generation with solver-based perturbation testing to catch silent formulation errors in LLM-generated optimization code without ground truth, and releases the RetailOpt-190 benchmark.
Abstract. 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. Code and benchmark: https://github.com/junbolian/ReLoop
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:44 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
The reviewers agree that the feasibility–correctness gap in LLM-generated optimization code is an important and clearly motivated problem. They find the use of solver behavior as an external signal promising, appreciate the separation between structured generation and behavioral verification, and view RetailOpt-190 as a potentially useful benchmark for compositional formulations. The current reviews are mixed because the behavioral verification mechanism is not yet characterized well enough to establish its reliability and scope, while much of the reported gain appears to come from structured prompting rather than the flagship L2 component.
The authors should prioritize the following questions in the rebuttal:
-
Reliability and failure modes of behavioral verification (Reviewer QHyz and Reviewer FU5a). Please report any available confusion matrix or equivalent false-positive/false-negative analysis for L2, and explain how labels were established without ground-truth formulations. Clarify what the method can and cannot detect when a formulation has the correct objective value but wrong constraints, when relevant constraints are inactive, when a valid cut need not bind, or when an instance is infeasible. Please also state whether Property 1 is a theorem under explicit assumptions or a design assumption. These details are central because the paper's main contribution is a detector of silent semantic failure.
-
Supported formulation class and perturbation robustness (Reviewer QHyz and Reviewer FU5a). Please justify the fixed capacity/demand/other-parameter multipliers and state the conditions under which they provide a valid behavioral signal. Discuss signed or near-zero coefficients, nonlinear or piecewise objectives, stochastic/chance constraints, numerical instability, and unrealistic perturbed instances. Provide any existing multiplier-sensitivity or representative-subset results; if these are unavailable, narrow the method's scope to the formulation classes actually tested rather than claiming general optimization-code verification.
-
Separate and calibrate the contributions of L2 and structured generation (Reviewer Cywc and Reviewer QHyz). On RetailOpt-190 with Claude, adding L2 reportedly leaves strict accuracy unchanged, whereas structured generation produces the main gain; structured generation is also neutral or harmful for several specialized-model settings. Please give a benchmark/model-level decomposition of L1, structured generation, and L2 effects, and explain whether RetailOpt-190 primarily supports structured generation rather than behavioral verification. Compare the four-stage prompt with any available generic step-by-step control, or otherwise avoid attributing gains specifically to the OR-expert structure. In particular, explain the role of Stage 4 self-verification given the paper's argument that LLM self-review is unreliable.
-
Validity of correctness labels and novelty positioning (Reviewer Cywc and Reviewer QHyz). Please estimate how often outputs marked incorrect are actually valid equivalent formulations, since this affects both strict accuracy and the reported feasibility–correctness gap. Clarify the ground-truth and adjudication protocol for RetailOpt-190. Also compare the contribution conceptually with SAC-Opt and the metamorphic-testing lineage and scope any broad “first ground-truth-free detector” claim. A full new empirical comparison to every related method is not required for rebuttal, but the closest-work claim must be accurate.
Final justification
This paper pointed out that the feasibility–correctness gap in LLM-generated optimization code is an important and clearly motivated problem. All reviewers find the use of solver behavior as an external signal promising, appreciate the separation between structured generation and behavioral verification, and view RetailOpt-190 as a potentially useful benchmark for compositional formulations. After rebuttal, all reviewers turn to be positive about this paper, and I also agree with them for acceptance.
Read meta-review
Meta-review
The reviewers agree that the feasibility–correctness gap in LLM-generated optimization code is an important and clearly motivated problem. They find the use of solver behavior as an external signal promising, appreciate the separation between structured generation and behavioral verification, and view RetailOpt-190 as a potentially useful benchmark for compositional formulations. The current reviews are mixed because the behavioral verification mechanism is not yet characterized well enough to establish its reliability and scope, while much of the reported gain appears to come from structured prompting rather than the flagship L2 component.
The authors should prioritize the following questions in the rebuttal:
-
Reliability and failure modes of behavioral verification (Reviewer QHyz and Reviewer FU5a). Please report any available confusion matrix or equivalent false-positive/false-negative analysis for L2, and explain how labels were established without ground-truth formulations. Clarify what the method can and cannot detect when a formulation has the correct objective value but wrong constraints, when relevant constraints are inactive, when a valid cut need not bind, or when an instance is infeasible. Please also state whether Property 1 is a theorem under explicit assumptions or a design assumption. These details are central because the paper's main contribution is a detector of silent semantic failure.
-
Supported formulation class and perturbation robustness (Reviewer QHyz and Reviewer FU5a). Please justify the fixed capacity/demand/other-parameter multipliers and state the conditions under which they provide a valid behavioral signal. Discuss signed or near-zero coefficients, nonlinear or piecewise objectives, stochastic/chance constraints, numerical instability, and unrealistic perturbed instances. Provide any existing multiplier-sensitivity or representative-subset results; if these are unavailable, narrow the method's scope to the formulation classes actually tested rather than claiming general optimization-code verification.
-
Separate and calibrate the contributions of L2 and structured generation (Reviewer Cywc and Reviewer QHyz). On RetailOpt-190 with Claude, adding L2 reportedly leaves strict accuracy unchanged, whereas structured generation produces the main gain; structured generation is also neutral or harmful for several specialized-model settings. Please give a benchmark/model-level decomposition of L1, structured generation, and L2 effects, and explain whether RetailOpt-190 primarily supports structured generation rather than behavioral verification. Compare the four-stage prompt with any available generic step-by-step control, or otherwise avoid attributing gains specifically to the OR-expert structure. In particular, explain the role of Stage 4 self-verification given the paper's argument that LLM self-review is unreliable.
-
Validity of correctness labels and novelty positioning (Reviewer Cywc and Reviewer QHyz). Please estimate how often outputs marked incorrect are actually valid equivalent formulations, since this affects both strict accuracy and the reported feasibility–correctness gap. Clarify the ground-truth and adjudication protocol for RetailOpt-190. Also compare the contribution conceptually with SAC-Opt and the metamorphic-testing lineage and scope any broad “first ground-truth-free detector” claim. A full new empirical comparison to every related method is not required for rebuttal, but the closest-work claim must be accurate.
Final justification
This paper pointed out that the feasibility–correctness gap in LLM-generated optimization code is an important and clearly motivated problem. All reviewers find the use of solver behavior as an external signal promising, appreciate the separation between structured generation and behavioral verification, and view RetailOpt-190 as a potentially useful benchmark for compositional formulations. After rebuttal, all reviewers turn to be positive about this paper, and I also agree with them for acceptance.
1 comment
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 2/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper tackles the silent failure problem in LLM-generated optimization code, where generated code executes successfully and returns solutions despite having semantically incorrect mathematical formulations. To address this, the authors introduce ReLoop, a framework involving a generation process decomposed into four stages to prevent formulation errors, and a behavioral verification layer which analyzes the response of the generated model to parameter perturbations. Notably, the verification layer does not require ground truth. Additionally, the authors introduce RetailOpt-190, a new benchmark including 190 retail optimization scenarios. Experiments demonstrate that ReLoop consistently improves the fraction of solvers producing feasible solutions as well as the fraction of strictly correct formulations on RetailOpt-190, MAMO-ComplexLP, and IndustryOR.
Strengths and weaknesses
Strengths:
- The paper addresses a significant gap in the current literature by proposing a framework for verifying mathematical formulations generated by LLMs without ground truth solutions.
- The sensitivity analysis based behavioral testing layer used in the verification stage is novel and allows for the detection of silent failures that would otherwise remain unnoticed.
- The numerical experiments demonstrate the practical value of this additional layer in filtering out silent failures.
- The introduction of the RetailOpt-190 benchmark with compositional constraints is a valuable addition to the field.
Weaknesses:
- The detection mechanism only considers variation in the objective value. In practice, silent failures may achieve the optimal objective value while violating several constraints.
- The perturbation method seems overly tailored to revenue management as it relies heavily on parameters such as capacity, demand, and revenue (mentioned explicitly in the prompts). This raises concerns about its generalizability to broader optimization problems, particularly since both MAMO-ComplexLP and IndustryOR contain revenue management problems.
- The method relies on successfully modifying active constraints or constraints that can be made active. However, a formulation can be correct and desirable even when some of its constraints do not bind on a given instance (e.g., valid cuts).
- Some mathematical symbols and terms used in the main text are ambiguous and require clearer definitions, such as and in Property 1.
Questions
- Have you considered broadening your approach to account for both the change in objective value and the distance between the solutions produced by the original and perturbed models?
- Have you evaluated the L2 behavioral testing layer using a confusion matrix? Providing explicit rates for false positives (e.g., flagging a valid, present constraint as missing) and false negatives would help clarify the true reliability and precision of the detection mechanism.
- Can the method handle problem instances that do not have feasible solutions? That is, can the framework successfully return "infeasible" in this case?
- Is Property 1 intended to be interpreted as a proven mathematical property, or as an underlying assumption of the framework?
Limitations
yes
Final justification
After reviewing the authors' response, I am increasing my score from 3 to 4.
The authors have successfully clarified the types of silent failures that can be identified by the proposed approach. My main concern regarding domain generalization has been adequately addressed, and the planned revisions and additional discussions will improve the clarity of the manuscript.
Formatting concerns
No paper formatting concerns.
3 comments
Rebuttal
We thank the reviewer for the detailed technical questions. Our response is organized around the AC's prioritized questions; new results are included per the rebuttal guidelines, and audit artifacts can be shared through the AC upon request.
1. What the detector can and cannot see [AC-Q1] (W1, Q1). The concern that objective value alone cannot reveal constraint violations is the motivation for perturbation rather than a blind spot of it: a missing constraint leaves the objective unresponsive to its governing parameter under extreme perturbation — that unresponsiveness is CPT's WARNING signature. The scope, explicitly:
| Defect | L2 behavior |
|---|---|
| Missing parameter-governed constraint | Detected (CPT) |
| Missing objective term | Detected (OPT) |
| Present-but-wrong constraint reusing the same parameters | Partially / not detected |
| Coefficient-magnitude errors | Not detected (stated limitation) |
| Equivalent-looking but structurally different decompositions | Not detected (stated limitation) |
| Errors inducing infeasibility/unboundedness | L1 (IIS / unbounded rays) |
A "correct objective value with wrong constraints" coincidence must survive ε=1e-4 across five numerical variants per archetype; our expert-verified audit of 40 residual RetailOpt failures found zero such cases. On solution distance (Q1): we agree it is attractive, but (i) LP degeneracy and alternate optima make it ill-defined even between two correct models, and (ii) monotone-equivalent objectives yield identical solutions with different reported values — the single equivalence case surviving our audit (a model maximizing radius r where the GT records area πr², identical argmax) is exactly this. We will add solution-change as a secondary INFO-level signal in the discussion.
2. Reliability: confusion matrix and how labels were established [AC-Q1] (Q2). Ground-truth labels for the detector study are established by construction: we knock out single components (constraint families / objective terms) from the reference formulations, so "which defect is present" is known without adjudication. On 240 single-component knockouts across all 38 archetypes: CPT recall 83/83 (100%) for removed constraints and OPT recall 155/157 (98.7%) for removed objective terms — including 74/74 in the non-binding stratum (components inactive at nominal data, detected only because extreme perturbation forces them to bind, directly addressing W3). The false-positive WARNING rate on intact code is 26.7% of candidates (64/240; CPT 4, OPT 60), concentrated almost entirely on objective terms — the constraint-side rate relevant to W3 is 4/83 (4.8%) — and it arises from a single mechanism: components genuinely present but economically inactive even under perturbation, such as cost terms of products the optimum never purchases. The practical cost of these false positives is bounded by construction — a WARNING triggers only conservative repair (re-adding a present constraint leaves the feasible region unchanged), INFO items are never repaired, and the regression guard rolls back harmful edits — and empirically L2 degraded no foundation-model metric across three benchmarks. The two OPT misses trace to parameter sharing (the purchasing coefficient also enters the budget constraint), the partial-blindness case our scope table states. (Candidates were generated programmatically from the instance schema — oracle extraction, decoupling extraction error from detection error.) Separately, for naturally occurring failures (where labels require adjudication), our protocol was: LLM-assisted pre-annotation (two independent blind runs, κ=0.57), followed by expert verification and an independent second-author re-verification of every non-modeling-error label via independent Gurobi re-solves against the official reference generator, each label carrying a solver-checkable minimal-flip rationale.
3. Domain generality of the perturbation rule [AC-Q2] (W2). The capacity/demand/balance taxonomy in the extraction prompt is standard OR vocabulary, not retail vocabulary, and serves only as a direction heuristic. A taxonomy-free control (bidirectional extreme perturbation per parameter, no type labels, max response) attains 238/240 versus 238/240 for typed routing, with fewer intact-code false positives (54 vs 64 of 240 candidates); the full multiplier-sensitivity grid (recall stable at 238/240 across shrink multipliers 1e-4–1e-2) appears in our response to Reviewer QHyz. On benchmark composition: we audited all 203 + 100 instances. Under the standard definition of revenue management — allocation or pricing of fixed perishable capacity (booking control, fare classes, markdown pricing; Talluri & van Ryzin, 2004) — neither benchmark contains RM instances; MAMO's own category metadata labels every instance complex_lp, and the sets are dominated by production, blending, transportation/network-flow, scheduling and assignment. A minority carry revenue/profit-maximization objectives (11/203 in MAMO, 33/100 in IndustryOR), which does not place a problem in the RM class — one keyword hit ("contract bookings") was human-adjudicated as a false positive — and OPT's revenue-direction perturbation applies to any objective coefficient irrespective of domain. The MAMO instances corrected by L2 are cost-minimization diet problems: resource-allocation LPs with no retail or revenue-management character; breadth of the detector across mechanism families is established separately by the injected-defect study (see our response to Reviewer Cywc).
4. Constraints that need not bind; valid cuts [AC-Q1] (W3). Extreme perturbation exists precisely to force conditionally-bindable constraints to bind (capacity ×0.001 makes nearly any capacity active); the non-binding stratum above measures this directly. For a genuinely redundant-but-correct constraint that cannot be forced to bind, the worst case is a WARNING whose repair re-adds an already-present constraint — leaving the feasible region unchanged — under conservative-repair rules (INFO items are marked "do not fix"; the regression guard rolls back any harmful edit). The measured intact-code FP rate above quantifies the practical incidence.
5. Infeasible instances [AC-Q1] (Q3). Currently L1 treats INFEASIBLE as FATAL, which presumes a feasible ground truth — true for all three benchmarks (in RetailOpt's F5 stress family, the GT remains feasible via lost-sales slack, so model-side infeasibility is itself a diagnostic of a missing slack structure, localized by IIS). If the repair budget is exhausted, the pipeline does return the infeasible status rather than fabricating a solution. For settings where the true answer may be "infeasible," the natural extension is to use the IIS to discriminate intrinsic infeasibility (conflict set maps to requirements stated in the problem) from formulation-induced infeasibility; we will add this to the discussion.
6. Property 1 and notation [AC-Q1] (Q4, W4). Assumption, not theorem. We will restate it as Assumption 1 with explicit conditions — θᵢ governs a component that binds (or can be forced to bind under extreme perturbation) and has a non-negligible objective contribution — and formally define z*(θ), θᵢ, and the response ratio r at first use. The graduated thresholds and the INFO buffer exist precisely because the assumption can fail; §3.3's severity design is its operationalization. We will also fix the flagged symbols and audit §3 notation throughout — we appreciate the clarity feedback and will act on it.
Committed revisions: Assumption 1 + notation definitions; detection-scope table added to §3.3; solution-change as secondary signal (discussion); infeasibility discrimination (discussion); supported-class statement in Limitations; benchmark-composition appendix.
We are sincerely grateful for the reviewer's careful reading and constructive engagement, which have already strengthened this work. Every committed revision above will be incorporated in full, and we remain at the reviewer's disposal throughout the discussion period.
I thank the authors for their detailed response. My main concern about domain generalization has been addressed, and the planned revisions and additional discussions will improve the clarity of the manuscript. I will increase my score to 4.
Thank you for the positive response and for your continued engagement with our work. We are glad that our rebuttal addressed your concern regarding domain generalization.
We also noticed that the rating field still appears to show the previous score, so we wanted to kindly flag this in case the update did not save in the system. Thank you again for your time and constructive comments, which have helped us improve the manuscript.
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper studies silent failures in LLM-based optimization-code generation, where generated code executes and returns solver-feasible solutions but implements a semantically incorrect formulation. It proposes ReLoop, a framework that decomposes generation into understanding, formalization, synthesis, and verification. ReLoop combines execution- and solver-level checks with behavioral perturbation tests to detect missing constraints or objective terms, and uses diagnosis-guided repair with regression guards. The paper also introduces RetailOpt-190, a benchmark of 190 compositional retail optimization problems. Empirically, the authors report large gaps between feasibility and correctness in existing LLM-generated optimization code, and show that ReLoop improves executability and correctness across their evaluated benchmarks. The paper also notes that narrowly-tuned SFT models can be brittle under chain-of-thought prompting.
Strengths and weaknesses
Strengths
S1. Important problem framing. The feasibility–correctness gap is striking: on RetailOpt-190, DeepSeek achieves 91.1% solver feasibility but only 0.5% strict accuracy. The paper clearly explains why solver status alone cannot detect feasible but semantically incorrect formulations.
S2. Broad experimental design. The evaluation covers five models across three paradigms-foundation models, offline SFT, and online RL-under Base, structured-CoT, and ReLoop configurations. It also includes three benchmarks with different structures: RetailOpt-190, MAMO-ComplexLP, and IndustryOR.
S3. Benchmark is somewhat useful. RetailOpt-190 targets multi-period models with 10–30 interacting constraints, addressing a gap left by benchmarks that often evaluate shorter or more isolated modeling requirements.
Weaknesses
W1. The behavioral-verification novelty claim is overstated
The paper describes behavioral verification as "the first approach detecting silent failures without ground truth". However, a prior work also has the "first" claim. SAC-Opt (arXiv:2510.05115, accepted at ICML 2026) addresses semantic errors in LLM-generated optimization models without ground-truth solutions through reconstructed semantic anchors. It should be considered as a prior work and cited and empirically compared. Its mechanism differs from ReLoop's, but it directly refutes any broad claim of being the first ground-truth-free detector of silent formulation errors. The claims should be scoped accordingly, and both the metamorphic-testing lineage and SAC-Opt should be cited and discussed.
W2. "Structured generation is the primary accuracy driver" is insufficiently supported
The strongest evidence for this claim is Claude on RetailOpt-190, where strict accuracy increases from 22.6% to 31.1%. The effect is mixed elsewhere:
- Claude/MAMO improves from 70.4% to 73.9%.
- DeepSeek/IndustryOR improves from 50% to 54%.
- Several settings are neutral or negative.
- DeepSeek/MAMO decreases from 60.1% to 59.6%.
- Qwen/MAMO decreases from 40.4% to 37.4%.
- OptMATH/MAMO collapses from 56.2% to 30.0%.
- SIRL/MAMO decreases from 53.2% to 46.8%.
Thus, structured generation is effective in some foundation-model settings but is model- and benchmark-dependent and can conflict severely with specialized fine-tuning. The paper should qualify "primary accuracy driver" as a result observed most clearly for Claude on the compositional RetailOpt benchmark.
W3. The perturbation rule relies on strong, domain-dependent assumptions
The fixed multipliers (capacity ×0.001, demand ×100, and other parameters ×0.01) are intuitive for positive retail capacities and demands. They are less clearly justified for:
- signed or near-zero coefficients;
- piecewise or nonlinear objectives;
- stochastic or chance constraints ...
Property 1 applies only when the perturbed parameter governs a component that binds, or can reliably be made to bind, and has a non-negligible effect on the objective. Extreme multiplicative perturbation does not guarantee this condition. It may also create numerical instability or an unrealistic instance whose behavior is not informative about the original formulation.
Questions
- How does ReLoop differ from SAC-Opt and metamorphic testing? Please cite and discuss them and scope the broad "first approach without ground truth" claim. A conceptual comparison is sufficient for rebuttal.
- Given its mixed effects across models and benchmarks, should "primary accuracy driver" be limited to Claude on RetailOpt-like compositional problems? Please qualify the claim or summarize supporting trends from the existing results.
- When are the fixed ×0.001 / ×100 / ×0.01 multipliers reliable? Please state the supported formulation class and, if possible, provide a small multiplier-sensitivity analysis on a representative subset.
Limitations
Partially. The authors are commendably transparent about CoT incompatibility with specialized SFT models and several L2 blind spots. However, the limitations should more clearly state the formulation classes for which the fixed perturbation multipliers are reliable, including potential failures for signed or near-zero coefficients and nonlinear, stochastic, or chance-constrained models.
Final justification
Thank you for the thorough rebuttal. The conceptual comparison with SAC-Opt and the committed claim rescoping address W1, the qualified claim and IndustryOR decomposition address W2, and the multiplier-sensitivity analysis addresses W3 for the shrink direction. Please ensure the final version incorporates all committed revisions. Conditional on these revisions, I raise my score to 4.
Formatting concerns
I did not notice any formatting concerns.
3 comments
Rebuttal
We thank the reviewer for the pointer to closely related work and for the precise questions. Our response is organized around the AC's prioritized questions; new results are included per the rebuttal guidelines, and all audit artifacts can be shared through the AC upon request.
1. SAC-Opt, metamorphic testing, and claim scoping [AC-Q4] (W1, Q1). SAC-Opt is indeed prior work we should have discussed. Conceptually: SAC-Opt reconstructs semantic anchors from the generated code and aligns them with anchors from the problem — a backward-guided check in LLM semantic space, correcting where anchors disagree. ReLoop's detection signal differs in kind: solver response to parameter perturbation, external to any LLM's reading of either the problem or the code. Because SAC-Opt's anchors on both sides are LLM-reconstructed, anchor agreement can co-vary with the very misreading that caused the error — the correlated-blind-spot mechanism Huang et al. identify for self-review; solver-behavioral testing sidesteps this, at the cost of detecting only response-expressible defects. The two are complementary (semantic-space front end vs. solver-behavioral back end), and combining them is promising future work. We will (i) add a §2 paragraph and a SAC-Opt row to Table 1 (Detects ✓ / External solver signal ✗ / No ground truth ✓ / Iterative repair ✓); (ii) cite the metamorphic-testing lineage (Chen et al., 1998; Segura et al., 2016; Chen et al., 2018) and position Property 1 as optimization-specific metamorphic relations with the solver as oracle; and (iii) scope the claim: "the first approach detecting silent failures without ground truth" → "the first to use solver-response perturbation as an external, non-LLM semantic signal for detecting silent failures without ground truth." Per the AC's note, we provide the conceptual comparison here; an empirical head-to-head comparison is left to future work.
2. "Primary accuracy driver" [AC-Q3] (W2, Q2). We agree the claim must be qualified and will revise Contribution 1 to "...the primary accuracy driver for foundation models on compositional problems." Two clarifications: (i) the abstract and §6 already scope the claim to compositional problems; the contribution list will now match. (ii) On the compositional benchmark itself, the pattern holds for both foundation models with non-zero accuracy: for DeepSeek, CoT contributes +3.2pp (0.5→3.7), exceeding L1 (+2.1) and L2 (0) — so the claim is not Claude-specific, though it is benchmark-class-specific. The SFT/RL conflicts the reviewer lists are exactly the documented limitation (§6); we will reference them where the claim is made. Additionally, per the meta-review's stated alternative, the same revision will keep the attribution conservative — crediting explicit structured reasoning rather than the OR-expert structure specifically (see also our response to Reviewer Cywc on Stage 4). Completing the requested decomposition on IndustryOR (Direct/+CoT/+CoT+L1/+ReLoop): Claude 66.0/66.0/68.0/68.0 and DeepSeek 50.0/54.0/62.0/62.0 — confirming that IndustryOR's gains are carried primarily by L1 execution recovery, consistent with the error-observability partition described to Reviewer Cywc.
3. Perturbation multipliers, supported class, robustness [AC-Q2] (W3, Q3). Supported class. ReLoop's current instantiation targets (MI)LPs whose parameters carry nonnegative physical semantics — capacities, demands, costs, resource coefficients — the class dominating operational practice (production planning, scheduling, logistics, energy dispatch) and containing all three benchmarks. We will state this explicitly in Limitations, together with: signed or near-zero coefficients (our implementation already falls back to absolute change when z*≈0 and treats induced infeasibility as a strong PASS; both guards move from footnote to main text), and nonlinear/piecewise and stochastic/chance-constrained models as out of scope. Multiplier sensitivity and taxonomy independence. We ran both analyses on the injected-defect testbed, where detection rates are computable against construction-known labels (response ratios use the same definition as the main study, including the absolute-change fallback at zero optima). Detection recall is stable across three orders of magnitude: 238/240 at each shrink multiplier (1e-4, 1e-3, 1e-2), with 238/240 detected at every tier and intact-code false positives of 63–64/240. The inflate axis has no test population on this benchmark — every removable component is capacity- or cost-typed, as RetailOpt-190 is cost-minimization — so we scope the multiplier-robustness claim to shrink-direction perturbations and will state this in Limitations. A taxonomy-free control (bidirectional extreme perturbation per parameter, no type labels, max response) attains 238/240 versus 238/240 for typed routing, with fewer intact-code false positives (54 vs 64 of 240 candidates): detection does not depend on the capacity/demand/cost taxonomy, which serves only as a direction heuristic that halves solver calls. Numerical stability and unrealistic instances. Perturbed solves are never used as solutions — only their graduated response classifies (PASS/INFO/WARNING); the INFO buffer absorbs marginal responses, induced infeasibility is itself a PASS signal, and the flatness of the multiplier grid above is the corresponding empirical evidence that conditioning effects do not drive classifications. The perturbed instance is intentionally unrealistic: it is a stress probe of the formulation, not a scenario.
4. Ground-truth validity of both benchmarks [AC-Q4]. Because our claims rest on label validity, we audited both benchmarks at the solver level. RetailOpt-190: the reference generator reproduces all 190 published GTs to 1e-6 and matches Appendix A line by line; the expert-verified, independently re-verified audit of residual failures found zero GT errors, zero ambiguity casualties, and zero equivalence penalties. MAMO-ComplexLP: we explicitly tested — and refuted — the hypothesis that integer-valued GTs on divisible-looking diet problems were mislabeled. A model-independent, benchmark-wide analysis shows MAMO applies a consistent convention: countable goods (food items, workers) carry integer GTs (197/203 of ground truths are integer-valued), while genuinely continuous quantities (per-pound, per-gallon, area) carry fractional GTs (all 6 fractional GTs use continuous units); independent LP+IP re-solves of all 26 integer-GT diet instances confirm each integer GT is the intended discrete-item optimum — zero deviations from the convention. This is a principled, intended integrality convention, not a labeling error — and it is the reading our own method prescribes: Stage 2's variable-type doctrine ("can you order 2.7 pallets?") treats physical countability as determining integrality, so returning the continuous relaxation on countable goods is precisely the continuous-relaxation failure §3.2 targets. ReLoop's MAMO gains are consistent with this: in all 11 L2-corrected instances, the diagnosis-guided repair restored the integrality the relaxation had dropped (continuous→integer; constraint sets unchanged, verified in repair diffs) — i.e., the verification-and-repair loop enforcing, on residual outputs, the very variable-type doctrine that Stage 2 prescribes — and none of these instances involve any modified label. All published numbers stand unchanged. Disclosures: one instance corrupted by our own preprocessing (GT 162 recorded as a −9999 sentinel; restored; score-neutral), and two isolated data errata with score impact bounded at two instances (one network instance whose stated arcs cannot attain its GT; one underdetermined prompt) — no systematic labeling issues. Audit artifacts (URS reproduction logs, convention analysis, screen table) are available through the AC.
Committed revisions: §2 paragraph + Table 1 row (SAC-Opt); MT citations; scoped first-claim; qualified Contribution 1; Limitations expanded with the supported formulation class and failure conditions; corrections overlay released.
We are sincerely grateful for the reviewer's careful reading and constructive engagement, which have already strengthened this work. Every committed revision above will be incorporated in full, and we remain at the reviewer's disposal throughout the discussion period.
Thank you for the thorough rebuttal. Please ensure the final version incorporates all committed revisions. Conditional on these revisions, I raise my score to 4.
Thank you for the careful reading and for updating your assessment. We confirm that all revisions committed in our response will be incorporated into the final version as described.
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper targets "silent failures" in LLM-generated optimization code: code that runs and returns a solver-feasible solution but actually encodes a wrong formulation. The authors first show feasibility is a bad proxy for correctness, such as some models reach >90% feasibility but near-zero correctness, a gap up to 90 points. ReLoop attacks this in two ways. Structured generation uses a four-stage CoT (understand/formalize/synthesize/verify) with explicit variable-type reasoning to reduce errors at generation time. Behavioral verification perturbs solver parameters and checks whether the objective responds as it should, CPT for missing constraints, OPT for missing objective terms, giving an external signal without ground truth. An L1 execution-recovery layer (IIS diagnostics) and a regression-guarded repair loop complete the pipeline. The authors also release RetailOpt-190, 190 compositional retail inventory instances built so that constraints must jointly bind, and evaluate on it plus MAMO-ComplexLP and IndustryOR.
Strengths and weaknesses
Strengths
-
The "silent failure" framing is valuable. The reported feasibility–correctness gap (e.g., DeepSeek 91.1% feasible but only 0.5% correct) is a striking and useful empirical finding by itself, and I expect it will be of interest to the community.
-
Re-purposing sensitivity analysis for verification — testing whether sensitivity exists rather than interpreting it, and routing detection through the solver instead of LLM introspection — is a clever way to obtain an external signal without ground truth. It is well motivated by the known self-correction limitation.
-
The paper does not only claim "our method is better". It separates the two mechanisms by error type, and structured generation helps compositional errors, behavioral verification helps localized defects, which gives a more useful understanding.
Weaknesses
-
The flagship mechanism shows almost no gain on the flagship benchmark. In Table 7, on RetailOpt-190 with Claude, going from +CoT+L1 to +CoT+L1+L2 keeps strict accuracy unchanged. So the L2 behavioral verification, which is the most novel part of the paper, contributes zero strict-accuracy improvement on the very benchmark that was built for this purpose; the headline +4.4pp comes entirely from the external MAMO. This creates a mismatch between the benchmark and the method: RetailOpt-190 mostly demonstrates structured generation, not behavioral verification.
-
Structured generation is treated as a single block, so we cannot tell whether +8.5pp comes from the specific OR-expert structure (variable-type reasoning, formalize, self-verify) or simply from "thinking more steps". A comparison against a vanilla "let's think step by step" baseline would clarify whether the domain-specific structure is the source of the gain. Besides, Stage 4 is an LLM self-verify step, but the paper argues elsewhere that LLM self-review is unreliable. There is some internal tension here, and the contribution of Stage 4 is unclear.
-
Even with full ReLoop, Claude only reaches 31.1% strict accuracy on RetailOpt-190. Calling semantic verification "becoming essential infrastructure" is somewhat over-claimed relative to this absolute level, and the ~3× token cost for ~31% correctness deserves more discussion on cost-effectiveness.
Questions
-
On RetailOpt-190 the L2 behavioral verification gives 0 strict-accuracy improvement for Claude (Table 7). Could the authors clarify to what extent RetailOpt-190 supports the behavioral verification contribution, as opposed to the structured generation contribution? Would it be more accurate to position RetailOpt-190 mainly as a testbed for structured generation? If the authors can either show a setting where L2 provides clear strict-accuracy gains on RetailOpt-190, or re-frame the contributions to match the evidence, my evaluation would increase.
-
Can the authors ablate the four-stage CoT, in particular variable-type reasoning vs. self-verify (Stage 4), and compare against a vanilla "step-by-step" prompt? This would answer whether the domain-specific structure, rather than generic extra reasoning, is the source of the gain. It also relates to the tension that Stage 4 relies on the same self-review the paper argues is unreliable.
-
For instances judged "incorrect", can the authors estimate what fraction are actually valid equivalent / alternative formulations rather than true errors? This directly affects whether the reported accuracy (and the 90-point gap) reflects modeling errors or metric strictness.
Limitations
yes
Final justification
I recommend maintaining my current positive score for this technically solid submission, as the authors' thorough rebuttal successfully resolved my primary concerns. The extensive injected-defect study and solver-level audits provided convincing evidence for label validity while clearly defining the scope of the L2 behavioral verification. Furthermore, their commitment to re-frame the benchmark's positioning and clarify Stage 4 as a grounded completeness check adequately addressed my questions regarding the prompt decomposition. With all committed revisions incorporated, the paper's claims are appropriately scoped and its contributions to reliable LLM-based optimization are clear.
Formatting concerns
Keywords section should not appear in neurips format.
3 comments
Rebuttal
We thank the reviewer for the careful review and for stating concrete conditions for re-evaluation. Our response is organized around the AC's prioritized questions (tagged [AC-Q1]–[AC-Q4]). New results are included per the rebuttal guidelines; the original submission remains the basis of evaluation. All audit artifacts (annotation tables, per-instance solver evidence, reproducible scripts) can be shared through the AC upon request.
1. L2 on RetailOpt-190, and what the benchmark supports [AC-Q3, AC-Q1] (W1, Q1). We answer in three parts.
(a) Why the end-to-end strict gain is zero. We audited Claude's residual RetailOpt failures (stratified n=40 of 131) under an expert-verified protocol (details in §3): 39/40 are true modeling errors and 1 is a numerical/tolerance case; zero are ambiguity or metric artifacts. Across the 43 true modeling errors in the audited sample (both benchmarks), 42 are structural — wrong inter-mechanism coupling (22) or missing structural linkage (20) — with one data-extraction slip. These structural errors are internally consistent but incorrect decompositions whose parameters still elicit an objective response through the remaining model; perturbation testing cannot distinguish such responses from correct presence. This is a scope property of L2, which targets localized missing components, rather than a malfunction, and it is consistent with the bimodal deviation analysis on IndustryOR (§5.4).
(b) The requested setting with clear strict-accuracy gains on RetailOpt-190. Our injected-defect study creates, on this very benchmark, exactly the regime L2 is designed for: 240 single-component knockout mutants of the reference formulations across all 38 archetypes (one constraint family or objective term removed per mutant, so labels are known by construction), plus 76 structural-tier mutants reported separately. One structural fact emerged: none of the 240 omissions causes infeasibility — deleting a constraint only relaxes the feasible region, and deleting an objective term never breaks feasibility — so omission errors are invisible to L1 by construction. They are precisely the silent-failure class L2 exists for, while L1's domain is populated by commission errors (over-constraining, missing slack as in F5, broken syntax). On this class L2 detects 238/240 (99.2%): 83/83 removed constraints (CPT) and 155/157 removed objective terms (OPT), including 74/74 components inactive at nominal data and detectable only because extreme perturbation forces them to bind. The two misses share one mechanism: the purchasing coefficient also enters the per-period budget constraint, so perturbing it moves the objective through that constraint even with the objective term absent — the parameter-sharing case our detection-scope table already anticipates. (Candidates were generated programmatically from the instance schema — oracle extraction — decoupling extraction error from detection error.) L1 and L2 thus implement one principle — routing detection through the solver — on the two halves of the error space partitioned by observability; their domains are disjoint by construction (L2 only sees L1-passing code), and which layer dominates depends on how a benchmark's errors manifest (DeepSeek/IndustryOR: execution failures, +12pp total of which L1 contributes +8; Claude/MAMO: feasible-but-wrong, L2 +4.4pp, 11 corrected/2 regressed, p≈0.02).
(c) Positioning. We agree and will sharpen the text: RetailOpt-190 is (i) the benchmark exposing the compositional feasibility–correctness gap, where structured generation is the effective lever, and (ii) the boundary-mapping instrument for behavioral verification, whose detector quality the injected-defect study now quantifies directly. Contribution 3 and §4 will state this dual role explicitly.
2. Decomposing the four-stage prompt; Stage 4 [AC-Q3] (W2, Q2). We agree the decomposition question is well posed. Per the meta-review's stated alternative, we adopt the conservative attribution rather than claim the decomposition without the control: we do not attribute the +8.5pp specifically to the OR-expert structure beyond what Table 7 supports, and we will revise Contribution 1 and §5 to credit explicit structured reasoning as such. What the four-stage format demonstrably adds beyond accuracy is its machine-checkable interface: Stage 3's data-dictionary pattern is the precondition for L2's perturbation testing, and the structured format remains recoverable by L1 on models where free-form generation degrades execution. On the Stage-4 tension the reviewer raises: Stage 4 is a grounded completeness check against an external referent — the original problem text — executed as a checklist (all cost terms present? all constraints implemented? all values accessed?), not open-ended self-critique of reasoning. Huang et al.'s negative result concerns identifying reasoning errors without external feedback; Stage 4 supplies a referent (the source text), while the truly external signal is L2's solver response. We will add this discussion to §3.2.
3. Equivalent formulations and label validity [AC-Q4] (Q3). Objective-value matching is invariant over the equivalence class of correct formulations: any semantically correct model attains the same optimum, so a valid equivalent formulation cannot be marked incorrect by our criterion. The residual risk is NL ambiguity (non-equivalent but defensible readings). We therefore audited a stratified sample of 55 residual failures (RetailOpt 40 by family; MAMO 15 by |GT| tertile) under a two-stage protocol: LLM-assisted pre-annotation (two independent blind runs; raw agreement 76%, κ=0.57), followed by expert verification and an independent second-author re-verification of every non-modeling-error label and every disagreement, via independent Gurobi re-solves and adversarial tests against the official reference generator; every label carries a solver-checkable "minimal-flip" rationale with recomputed objectives. Results on RetailOpt: 0/40 equivalent formulations penalized; 0/40 defensible alternative readings — each hypothesized reading was falsified by forcing the alternative structure in the reference generator, whose optimum matched neither GT nor the model output (e.g., toggling substitution leaves GT at 528,518 while the model returns 488,753, 7.5% below the true optimum — a relaxed/missing constraint). The reference generator reproduces all 190 published GTs to 1e-6 and matches Appendix A line by line; the ground-truth and adjudication protocol (Appendix A/D) will be summarized in the main text. On MAMO, the audit attributed most residual failures to an unstated-but-consistent integrality convention (countable goods → integer GT), which our own Stage-2 variable-type doctrine treats as the model's responsibility to infer — see our response to Reviewer QHyz. The 90-point gap on RetailOpt is therefore attributable to modeling errors, not metric strictness.
4. Absolute level, cost, and claim scope (W3). We agree "becoming essential infrastructure" overstates and will soften it to a statement about verification being necessary for deployment-grade reliability. On cost-effectiveness: ReLoop adds ~3× tokens while L2's solver calls complete in seconds; against this stands the deployment cost of a silent failure (plans with expired stock, infeasible dispatch reported "optimal"), and ReLoop's regression-guarded design guarantees that no metric degrades — a property we will state as the operational rationale. 31.1% strict accuracy on genuinely compositional problems is indeed the honest state of the art; the audit above confirms these residual failures are real model errors, which we regard as a substantive finding about the current frontier rather than a weakness to obscure.
5. Statistical note and formatting. Paired exact sign tests on per-instance flips: CoT on RetailOpt, 20 corrected/4 regressed, p≈0.002; L2 on MAMO, 11/2, p≈0.02. Archetype-level cluster bootstrap (38 clusters, 10,000 resamples) gives a 95% CI of [1.6, 16.8]pp for the CoT gain, addressing the effective-sample-size concern (190 = 38 archetypes × 5 numerical variants). We will remove the Keywords block per NeurIPS format — thank you for catching this.
Committed revisions: soften the §6 claim; add the Stage-4 discussion (§3.2); dual-role statement for RetailOpt-190 (§4); audit appendix with protocol and per-instance evidence; Keywords removed.
We are sincerely grateful for the reviewer's careful reading and constructive engagement, which have already strengthened this work. Every committed revision above will be incorporated in full, and we remain at the reviewer's disposal throughout the discussion period.
Thank you for the thorough and transparent rebuttal. I deeply appreciate the time invested in the injected-defect study and the solver-level audits. Your explanations regarding L2's scope, the commitment to explicitly re-frame the benchmark's positioning, and the clarification of Stage 4 as a grounded completeness check successfully address my primary concerns. The label validity audit is also very reassuring. As my initial score already reflects a positive recommendation for this technically solid work, I will maintain my current score.
Thank you for the positive assessment and for engaging so closely with our rebuttal. We are glad that the injected-defect study, the solver-level audits, and the clarifications on L2's scope and on Stage 4 as a grounded completeness check addressed your concerns.
Comments on the paper
1 comment
Dear Reviewers,
As the Author–Reviewer–AC Discussion Period approaches its conclusion, please actively participate in the discussion and respond to the authors’ feedback in a timely manner. Your engagement is essential to ensuring a thorough and well-informed evaluation of the submission.
Thank you for your time and contribution.
Your AC
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Dear Area Chair,
Thank you for the prioritized guidance in the meta-review — it gave our responses a clear structure. All three rebuttals are organized around your four questions, with sections tagged [AC-Q1]–[AC-Q4]. A brief index:
[AC-Q1] Reliability and failure modes. We report a full confusion matrix from a 240-mutant injected-defect study with construction-known labels — 99.2% detection recall, intact-code false-positive rate 26.7% (constraint-side rate: 4.8%) — together with a detection-scope table covering the correct-objective/wrong-constraint, inactive-constraint, valid-cut, and infeasible cases, and we restate Property 1 as an explicit design assumption (Assumption 1). → FU5a responses §§1–2, 4–6; Cywc §1.
[AC-Q2] Supported class and robustness. We state the supported formulation class explicitly, document the near-zero-coefficient and induced-infeasibility guards, discuss numerical stability and unrealistic perturbed instances, and scope out nonlinear and stochastic settings; the multiplier-sensitivity and taxonomy-free analyses are complete and included in the rebuttals: recall is stable at 238/240 across three orders of magnitude, and the taxonomy-free control matches typed routing (238/240) with fewer false positives. → QHyz §3; FU5a §3.
[AC-Q3] Contribution decomposition. We complete the benchmark/model-level decomposition of structured generation, L1, and L2 across all three benchmarks (including IndustryOR via per-instance log reconstruction), adopt the meta-review's stated alternative on prompt attribution — we do not attribute the gains specifically to the OR-expert structure — and explain Stage 4 as a grounded completeness check against the problem text rather than open-ended self-critique. → Cywc §§1–2; QHyz §2.
[AC-Q4] Label validity and positioning. Objective-value matching is invariant over equivalent formulations; an expert-verified, independently re-verified audit found zero equivalence penalties and zero ambiguity casualties among sampled RetailOpt failures, with the ground-truth and adjudication protocol described, and both benchmarks' labels audited at the solver level. We provide the conceptual comparison with SAC-Opt and the metamorphic-testing lineage and scope the originality claim accordingly. → Cywc §3; QHyz §§1, 4.
Audit artifacts (annotation tables, solver reproduction logs, convention analysis) are available on request via an anonymized link through this channel. We are grateful to you and the reviewers for the time and care invested in this submission, and we remain fully available throughout the discussion period.
The Authors