- Rating
- 4
- Clarity
- 2
- Confidence
- 3
- Originality
- 3
- Quality
- 3
- Significance
- 3
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
Paper formatting concerns
No paper formatting concerns.
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.
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:
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.