Automated Reformulation of Robust Optimization via Memory-Augmented Large Language Models
Jinbiao Chen, Shuang Jin, Zhang GuoYun, Junyu Zhang, Guanyi Wang, Hanzhang Qin
NeurIPS 2026
TL;DR. LLM for Robust Optimization Reformulation
Abstract. Robust optimization (RO) provides a principled framework for decision-making under uncertainty, but its practical use is often limited by the need to manually reformulate uncertain optimization models into tractable deterministic counterparts. Recent large language models (LLMs) have been shown promising for automating optimization formulation, yet RO reformulation remains challenging because it requires precise multi-step reasoning and mathematically consistent transformations. To facilitate systematic evaluation of LLM-based reformulation, for which no dedicated benchmark currently exists, we develop AutoRO-Bench, a benchmark featuring an automated data generation pipeline for the core RO reformulation task and a curated dataset for the RO application task. To address the reformulation challenge, we propose Automated Reformulation with Experience Memory (AutoREM), a tuning-free memory-augmented framework that autonomously builds a structured textual experience memory by reflecting on past failed trajectories through a tailored offline adaptation procedure. AutoREM requires neither domain-specific expert knowledge nor parameter updates, and the resulting memory readily transfers across different base LLMs. Experimental results show that AutoREM consistently improves the accuracy and efficiency of RO reformulation across in-distribution datasets, out-of-distribution datasets, and diverse base LLMs.
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:50 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
The reviewers raised several concerns regarding the scope, evaluation methodology, baselines, implementation details, and experimental validation of the proposed framework. They noted that the benchmark is limited to a narrow class of LP-based robust optimization problems, requesting stronger evidence of generalization to broader robust optimization settings and external benchmarks. They also questioned the evaluation methodology, arguing that matching objective values alone does not establish correctness and requesting stronger validation through structural verification and robust feasibility testing. Additional concerns included the coder LLM as a potential confounding factor; limited characterization of the evaluation datasets, insufficient details on baseline adaptations and experimental setup, and requests for a more thorough discussion of security, robustness, and the use of an LLM-based memory instead of a deterministic reformulation system. In addition to the main issues summarized above, the authors should carefully address all reviewers' comments and questions in their rebuttal.
Final justification
I have read the authors' response and considered it together with the reviewers' feedback. The rebuttal addressed the main concerns raised by the reviewers and provided useful clarifications.
Read meta-review
Meta-review
The reviewers raised several concerns regarding the scope, evaluation methodology, baselines, implementation details, and experimental validation of the proposed framework. They noted that the benchmark is limited to a narrow class of LP-based robust optimization problems, requesting stronger evidence of generalization to broader robust optimization settings and external benchmarks. They also questioned the evaluation methodology, arguing that matching objective values alone does not establish correctness and requesting stronger validation through structural verification and robust feasibility testing. Additional concerns included the coder LLM as a potential confounding factor; limited characterization of the evaluation datasets, insufficient details on baseline adaptations and experimental setup, and requests for a more thorough discussion of security, robustness, and the use of an LLM-based memory instead of a deterministic reformulation system. In addition to the main issues summarized above, the authors should carefully address all reviewers' comments and questions in their rebuttal.
Final justification
I have read the authors' response and considered it together with the reviewers' feedback. The rebuttal addressed the main concerns raised by the reviewers and provided useful clarifications.
1 comment
- 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 studies automated reformulation for robust optimization by introducing AutoRO-Bench, a benchmark for evaluating LLM-based conversion of uncertain optimization models into deterministic robust counterparts, and AutoREM, a tuning-free memory-augmented framework for improving reformulation accuracy.
Strengths and weaknesses
I find the problem setting interesting and practically relevant. Robust optimization reformulation is an important but underexplored stage in the optimization pipeline, and building a dedicated benchmark for this task is a useful contribution. However, I have several concerns.
- The main reformulation task focuses on LP-based robust counterparts with box, budget, and polyhedral uncertainty sets. This is a reasonable starting point, but I am not sure the current results are enough to support broader claims about robust optimization reformulation in general.
- The evaluation checks whether the generated formulation produces the correct optimal value. This is practical and easy to verify, but it may not be sufficient to guarantee that the reformulation is mathematically equivalent. A wrong or over-specialized counterpart could still produce the correct value on a specific instance.
- The natural-language application dataset contains only 32 instances. Although they are expert-verified, this still feels small for evaluating end-to-end robust optimization modeling in realistic settings.
Questions
- How far does AutoRO-Bench generalize beyond LP-based robust counterparts with box, budget, and polyhedral uncertainty sets?
- Can you provide additional evidence that the generated reformulations are mathematically equivalent to the original robust models, rather than only producing the same optimal value on the tested instance?
- How representative are the 32 expert-verified application instances of practical robust optimization settings?
Limitations
yes
Formatting concerns
No major formatting concerns noted.
3 comments
Rebuttal
We thank the reviewer for the positive assessment and for focusing on the three central limitations. We respond below.
To W1&Q1: Scope of AutoRO-Bench and extensibility of AutoREM.
- Current benchmark scope. We agree that AutoRO-Bench currently evaluates static robust linear models with box, budget, and polyhedral uncertainty and does not yet empirically cover broader RO classes.
- Why broader benchmark construction is nontrivial. Extending AutoRO-Bench to ellipsoidal/conic, SDP, or adjustable-robust settings is not simply a matter of sampling more instances. It requires redesigning the generator's class-specific uncertainty and model logic, implementing solver-grounded ground truths and validity filters, creating new LaTeX and natural-language templates, and expert-verifying the generated counterparts. We are not aware of a unified public reformulation benchmark for these settings, and constructing one is both labor- and time-intensive. We view such benchmark development as an important but largely unexplored direction for advancing automated RO reformulation.
- AutoREM's extensibility. AutoREM's learning mechanism is not hard-coded to the current three counterparts. The same loop can be retained while replacing the data, unit definition, solver, and verifier, e.g., support-function-to-SOC units for ellipsoidal uncertainty, cone-duality units for SDP, or decision-rule/recourse units for adjustable RO. We therefore distinguish the current empirical coverage of AutoRO-Bench from the framework-level extensibility of AutoREM.
To W2&Q2: Evidence beyond objective-value matching.
- Evaluation choice and difficulty. We agree that a matching optimum is not a formal equivalence certificate. Across the LLM-based auto-formulation literature summarized in the Related Work section, objective-value matching is the predominant scalable protocol. General equivalence checking remains difficult because equivalent models may differ by permutations, scaling, redundant rows, auxiliary variables, linearizations, or extended formulations. Graph-based comparison [1] and EquivaMap [2] explore stronger structural checks, but neither covers arbitrary robust counterparts.
- Three-expert audit. To further address this concern, we conducted a manual audit with three experts on one pre-selected Random run for the Base LLM and AutoREM, with 64 outputs per method.
Method Both correct Objective correct only Model correct only Both wrong Objective accuracy Model accuracy Base LLM 55 3 1 5 90.6% 87.5% AutoREM 62 0 1 1 96.9% 98.4% - Conclusion. AutoREM gains 6.3% under objective matching and 10.9% under direct model judgment. Three of Base LLM's 58 objective-positive outputs are structurally wrong, versus 0/62 for AutoREM. Thus the metric is imperfect but does not create AutoREM's advantage.
To W3&Q3: Representativeness of the 32 application instances.
We assess the application dataset along four dimensions: whether the nominal problems come from established external benchmarks, whether they cover diverse optimization structures, whether uncertainty is introduced only where it has meaningful physical or economic interpretations, and whether the robustness specifications are practically motivated. We view this as a carefully curated test dataset rather than an exhaustive representation of industrial RO.
- Established external sources. The dataset starts from 16 nominal problems drawn equally from two widely used LLM optimization-formulation benchmarks: 8 from IndustryOR [3] and 8 from OptiBench [4]. We construct two robust variants for each nominal problem, yielding 32 instances.
- Problem diversity. As summarized in Appendix E, the 16 nominal problems include 7 LPs and 9 MILPs, yielding 14 LP and 18 MILP instances. They contain 2–13 decision variables and 1–4 uncertain rows; 24/32 instances (75%) contain 3 or 4 uncertain rows. The inclusion of MILPs and a 13-variable problem provides an application-level stress test beyond the LP-only, 2–5-variable reformulation training regime.
- Instance selection for meaningful multi-row uncertainty. Our goal was specifically to identify nominal problems for which uncertainty could be introduced into multiple rows in a meaningful way. We prioritized rows containing several coefficients with clear physical or economic interpretations that could plausibly vary in practice. In contrast, many instances in the two benchmarks, with transportation, assignment, and allocation formulations, contain mainly structural coefficients (0/1/-1). Imposing continuous uncertainty on such coefficients would often be physically artificial. Consequently, 15 of the 16 selected nominal problems support multi-row uncertainty, while only one contains objective uncertainty alone.
- Practically motivated robustness extensions. For each nominal problem, we construct two variants. The first uses the numerical parameter-generation procedure of the reformulation benchmark. The second follows practically motivated settings from the RO literature, including coefficient-proportional deviations and CLT-, heavy-tail-, and typical-set-based polyhedral constructions, as detailed in Appendix C.
References
[1] Towards Human-aligned Evaluation for Linear Programming Word Problems, LREC-COLING'24.
[2] EquivaMap: Leveraging LLMs for Automatic Equivalence Checking of Optimization Formulations, ICML'25.
[3] ORLM: A Customizable Framework in Training Large Models for Automated Optimization Modeling, Operations Research, 2025.
[4] OptiBench Meets ReSocratic: Measure and Improve LLMs for Optimization Modeling, ICLR'25.
Thank you for the detailed response. The additional expert audit has addressed some of my concerns. However, AutoREM’s broader generalization capability has not yet been empirically validated. I maintain my original rating.
Thank you for the follow-up. We appreciate that the expert audit addressed part of your concern. Your original review focused on the scope of AutoRO-Bench, while this follow-up raises the additional question of broader generalization of AutoREM. We address this additional concern with further experiments and a clearer statement of the generalization boundary.
Existing and additional generalization evidence. The original submission already evaluates structural OOD generalization on Hard, scale OOD generalization on Large, natural-language LP/MILP applications from IndustryOR and OptiBench, and cross-model transfer to GPT-5.4 and Qwen3.6-Plus without re-adaptation. During the rebuttal, we further evaluated the same trained and frozen memory, again without re-adaptation, on three additional 32-instance datasets:
| Dataset | Base LLM Accuracy (%) | AutoREM Accuracy (%) |
|---|---|---|
| General | 89.6 4.8 | 90.6 5.4 |
| Coupled Row | 76.0 4.8 | 89.6 4.8 |
| External | 92.7 1.8 | 97.9 1.8 |
AutoREM improves accuracy on all three unseen datasets, providing additional evidence that the trained memory transfers when the new instances share relevant reformulation patterns, including transfer beyond the AutoRO-Bench generator. Details of the General and Coupled Row settings are provided in our response to Reviewer V5oP, W5&Q6; the sources, construction, coverage, and audit of External are detailed in our second-round response to Reviewer V5oP.
Generalization boundary of the trained memory. We do not expect one fixed memory to benefit every RO problem. Memory summarizes reusable patterns from past failures, so its generalization is necessarily pattern-dependent. It can help when unseen instances share relevant uncertainty families, worst-case directions, support-function forms, or dualization patterns with the training data. Conversely, the current memory should not be expected to directly help with fundamentally different structures such as ellipsoidal/SOC counterparts, SDP reformulations, or adjustable recourse. These settings require new task-relevant data and memory.
Generality of the AutoREM framework. The above boundary concerns the generalization of the current trained memory, not the generality of AutoREM as a method. AutoREM does not hard-code the present reformulation rules. Given data and an appropriate solver or verifier for a new RO class, the same reflection, structured memory editing, and validation procedure can learn a new memory from failures in that class. Our goal is therefore not to learn one universal memory that solves arbitrary reformulation problems, but to provide a general automated framework that learns useful experience from historical failures and improves an LLM on related future problems.
The controlled General- and Coupled-Row tests and the independently sourced External evaluation provide broader evidence for the generalization of the trained memory while clearly delineating its boundary. We will add these results, the external-dataset construction details, and the discussions of memory generalization and AutoREM's framework-level generality to the revised paper. We will also publicly release our original code and datasets together with the new datasets constructed during the rebuttal period.
- Rating
- 5/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
This paper studies automated reformulation for robust optimization using large language models. It introduces AutoRO-Bench, a benchmark covering both formal RO reformulation and natural-language RO application tasks, and proposes AutoREM, a tuning-free memory-augmented framework that builds reusable reformulation experience through offline adaptation. The method uses structured memory editing and multiple validation mechanisms to improve the reliability of learned reformulation rules. Experiments show that AutoREM improves accuracy and output-token efficiency across in-distribution, out-of-distribution, application-level, and cross-model settings. Overall, the paper addresses an important and underexplored bottleneck in robust optimization, and the proposed framework is practical and promising.
Strengths and weaknesses
Strengths:
1.The paper targets a meaningful and timely problem. Automating robust optimization reformulation is useful, and the separation between the formal reformulation task and the natural-language application task makes the benchmark well motivated. 2.AutoREM is simple and well aligned with the task. Its compact memory, structured edit operations, and validation-based filtering are appropriate for mathematically sensitive reformulation problems. 3.The empirical evaluation is fairly comprehensive. The paper compares against multiple LLM-based reformulation and formulation baselines, includes ablations and hyperparameter analyses, and demonstrates transfer across different base LLMs.
Weaknesses:
1.The Large dataset needs more detailed characterization. It is described mainly as using the same random procedure as the Random dataset but with more variables, while the paper later attributes the performance drop to long-context processing. 2.The reformulation dataset split details are still under-specified. The appendix clearly describes the default training configuration, but the paper should also state the exact evaluation sizes for Random, Hard, and Large. 3.The implementation details of ACE and ReasoningBank are not sufficiently clear. Since ReasoningBank is originally an online memory method and ACE has its own offline adaptation setup, the paper should explain the details how they are adapted to this task. 4.The ablation section would benefit from deeper analysis. The current results show that removing each component hurts accuracy, but the paper should provide a clearer explanation of why each component matters and make sure each ablation removes only the intended component.
Questions
1.Do the final learned AutoREM memory entries cover all reformulation cases that appear in the benchmark, including different uncertainty types, objective versus constraint uncertainty, and different worst-case directions? 2.What numerical tolerance is used when comparing the solver-produced objective value with the ground-truth objective value? 3.Are the three independent runs based on three independently adapted memories, or do they reuse one adapted memory and repeat only inference calls? 4.How often do the remaining failures come from reformulation errors versus coder errors? A small manual audit of failed cases would be helpful. 5.How exactly are AlphaOPT, LEAN-LLM-OPT, and OptiTree adapted to the pure reformulation datasets in Figure 3? Do they receive the same LaTeX robust model input and use the same coder/solver evaluation pipeline?
Limitations
yes
Final justification
My concerns are addressed, so i maintain my recommendation.
Formatting concerns
None
3 comments
Rebuttal
We thank the reviewer for the positive assessment and for the concrete requests on experimental transparency.
To W1: Characterizing Large.
- Token measurement. Using the DeepSeek tokenizer and encoding only each instance's problem
description(excluding system prompts, memory, and outputs), the input statistics are:Split Number of instances Mean tokens Range Random 64 720.00 282–1450 Hard 32 885.97 348–1812 Large 32 1579.66 882–2419 - Interpretation. Large is 2.19× as long as Random on average. Random uses , while Large uses . Variables, constraints, uncertainty definitions, and numerical matrices all grow together, because the generator sets the number of constraints equal to . We therefore characterize Large as jointly increasing dimension and context length.
To W2: Random, Hard, and Large contain 64, 32, and 32 test instances, respectively.
To W3: ACE and ReasoningBank adaptation.
- Common comparison protocol. All three memory methods receive the same number of training exposures (10 epochs × 8 samples) from the same RO generator/distribution, use DeepSeek-V4-Flash for reformulation/memory agents, the same fixed DeepSeek-V4-Pro coder, and the same Gurobi evaluator. After offline adaptation, all memories are frozen during testing.
- ACE. The playbook begins with its seven empty section headings and no RO rules. Each sample is processed by its Generator and the common coder/solver. The original Generator–Reflector–Curator mechanism is retained, with three Reflector calls per sample, ADD-only curation, and semantic deduplication. At test time, only the frozen playbook, Generator, and common coder/evaluator are used.
- ReasoningBank. The bank starts empty. Each training trajectory retrieves the top-1 entry by cosine similarity, runs the common reformulator–coder–solver pipeline, and then uses the original successful/failed trajectory induction prompt to append memory. We move its accumulation from the online test stream to the offline training split. Testing performs retrieval from the frozen bank with no further induction.
To W4: Ablation isolation and mechanisms.
- Controlled setup. All variants use the same data, base LLM, coder/solver, training exposure, and test protocol. Each ablation removes one functional component while retaining the others.
- w/o ULE (90.6%): Without unit-level decomposition, the method learns one monolithic memory entry that mixes several unrelated reformulation cases. Consequently, a partially matched problem retrieves irrelevant content, and an erroneous subcase cannot be independently attributed, updated, or deleted. The learned memory with only one entry, as shown below, verifies that ULE enables compositional reuse, fine-grained attribution, and targeted editing rather than merely increasing the number of entries.
For robust optimization with polyhedral uncertainty in the objective (max-min form): Replace max_x min_{δ∈{Dδ≤d, Eδ=e}} (c̄+δ)^T x with max_{x,t,λ,μ} t subject to t ≤ c̄^T x - d^T λ - e^T μ, D^T λ + E^T μ = -x, λ ≥ 0, μ free. For a ≥ constraint with polyhedral uncertainty: Replace min_{δ∈{Dδ≤d, Eδ=e}} (ā+δ)^T x ≥ b with ā^T x - d^T γ - e^T ν ≥ b, D^T γ + E^T ν = -x, γ ≥ 0, ν free. For a ≤ constraint with box uncertainty (δ = diag(â)ξ, ||ξ||∞≤1): Replace max_{||ξ||∞≤1} (ā+diag(â)ξ)^T x ≤ b with ā^T x + ||â⊙x||_1 ≤ b (if x≥0, simplify to ā^T x + â^T x ≤ b). Always include variable bounds as given. - w/o SMO (92.2%): This variant retains unit-level representation and validation but restricts learning to
ADDoperations. Existing entries with incorrect signs or applicability conditions cannot be updated or removed, while a corrected near-duplicate may be rejected by semantic deduplication, using the same mechanism as ACE. The resulting stale knowledge and limited memory coverage explain the accuracy drop. - w/o DCC (93.8%): Without step-level dual checking, a candidate memory is committed once it fixes the same training sample that triggered reflection. Sample-specific signs, supports, or numerical patterns may therefore be mistaken for transferable rules. Although VBA may later detect a globally harmful memory state, it provides delayed and less targeted feedback than checking transferability before commitment.
- w/o VBA (93.8%): This variant retains DCC through a local replay buffer but removes epoch-level evaluation and rollback on the fixed validation set. Local batches may not reveal interactions among multiple memory edits or distribution-wide regressions, allowing locally useful but globally harmful knowledge to accumulate across an epoch.
- Summary. ULE defines independently reusable knowledge units, SMO enables precise correction, DCC prevents locally overfitted updates from being committed, and VBA protects the global memory state. These distinct roles explain why removing any component reduces accuracy.
To Q1: Coverage of the learned memory.
- Benchmark taxonomy. It contains (uncertainty types × objective/constraint × worst-case direction) cases, whereas the learned memory explicitly stores 8.
- Why only eight entries are learned. This is intentional learned-on-demand behavior rather than exhaustive enumeration. Across training steps, only reformulator's failure triggers reflection.
- Unmatched cases. The reformulator prompt explicitly requires a from-scratch derivation. Thus the eight entries are targeted supplements for observed capability gaps, not the total number of benchmark cases.
To Q2: The objective comparison tolerance is .
To Q3: The three reported runs reuse the same learned and frozen memory and perform three independent test-time inference calls on the same test dataset. Their mean ± sample standard deviation captures API-level inference nondeterminism, not adaptation variability.
To Q4: Reformulator versus coder failures.
- Audit protocol. We conducted a manual audit with three experts on one pre-selected Random run, covering 64 Base LLM and 64 AutoREM outputs. We first judged whether each mathematical counterpart was correct without viewing its generated code, and then checked whether the coder faithfully implemented it.
- Reformulator errors. Based on the model-level judgments, the Base LLM produced 8/64 (12.5%) incorrect reformulations, whereas AutoREM produced 1/64 (1.6%). Among the eight Base errors, three nevertheless matched the reference objective, so objective-based evaluation exposed only five of them. AutoREM's single incorrect reformulation did not match the objective.
- Coder errors and net effect. Among the 56 correct Base reformulations, the coder introduced one structural error, which changed the solved objective (1/56 = 1.8%). Among the 63 correct AutoREM reformulations, the coder introduced two structural errors (2/63 = 3.2%), but only one affected the objective (1/63 = 1.6%) and the other was nonbinding.
Audit result Base LLM AutoREM Incorrect reformulations 8/64 (12.5%) 1/64 (1.6%) Objective failures caused by incorrect reformulations 5/64 (7.8%) 1/64 (1.6%) Coder-only objective failures 1/64 (1.6%) 1/64 (1.6%) - Impact on the conclusion. The observed objective failures consist of five reformulator-caused failures and one coder-only failure for the Base LLM, versus one and one for AutoREM. Correcting only the coder-only errors changes Base LLM accuracy from 58/64 to 59/64 and AutoREM accuracy from 62/64 to 63/64, leaving the AutoREM–Base gap unchanged at 6.3%. The main improvement therefore comes from reducing mathematically incorrect reformulations from 8 to 1, while coder effects are small and balanced.
To Q5: LLM formulation methods for pure reformulation datasets.
On the pure reformulation splits, each method bypasses natural-language-to-nominal-model formulation and directly receives the same LaTeX robust model as AutoREM. Each is instructed to output a deterministic robust counterpart. Each LLM formulation method retains its original pipeline. Their outputs are evaluated using the same objective-matching tolerance.
I thank the authors for their response. The extra details and failure analysis helped clear up my questions about the setup and component roles. I maintain my rating.
Thank you for your acknowledgement. We greatly appreciate your careful review and positive assessment.
- Rating
- 4/6
- Confidence
- 5/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 automated reformulation of robust optimization problems using LLMs. It introduces AutoRO-Bench, a benchmark for robust optimization reformulation, and AutoREM, a tuning-free memory-augmented LLM framework that builds a structured reformulation memory through offline reflection. The benchmark includes a formal LaTeX reformulation task and a natural-language RO application task, with solver-based evaluation through objective-value matching. The proposed method uses unit-level experiences, structured memory edits, dual-check commits, and validation-based rollback to improve memory quality.
The reported results are strong: AutoREM improves over base LLMs and memory baselines on in-distribution and out-of-distribution reformulation datasets, and also improves performance on the 32-instance application dataset. In Table 2, AutoREM achieves 97.4% on Random, 94.8% on Hard, and 85.4% on Large; Table 3 reports transfer gains across several base LLMs without re-adaptation.
Strengths and weaknesses
Strengths
-
Important and underexplored problem. Robust optimization reformulation is a real bottleneck: converting uncertain models into tractable deterministic counterparts requires careful duality-based reasoning. The paper is well motivated in targeting the reformulation stage rather than only the formulation or solving stages.
-
Useful benchmark contribution. AutoRO-Bench is a meaningful contribution if released. The two-task design distinguishes formal mathematical reformulation from end-to-end natural-language application, which is a good evaluation separation. The automatic solver-grounded evaluation protocol is also practical and scalable.
-
Method design is sensible. The four memory-management components—unit-level experiences, structured operators, dual-check commit, and validation-based acceptance—are well aligned with the failure mode of memory-based LLM systems: bad memories can be more harmful than no memory. The DCC/VBA design is particularly appropriate for a mathematical task where local fixes can introduce regressions.
-
Empirical results are promising. AutoREM consistently outperforms the base LLM, expert prompts, ReasoningBank, and ACE on the main reformulation datasets, while often reducing output tokens. The Hard split result is especially encouraging because it suggests the learned memory improves difficult sign/direction/duality cases rather than only memorizing superficial templates.
-
Ablations support the architectural choices. The ablation figure shows substantial drops when removing ULE, SMO, DCC, or VBA, with ULE removal producing the largest degradation. This helps justify the proposed memory design rather than merely showing that “more context helps.”
Weaknesses
-
Scope is still quite narrow. The core benchmark is restricted to LP-based robust counterparts with box, budget, and polyhedral uncertainty, mostly using element-wise perturbations. This is a reasonable starting point, but the title and framing sound broader than what is demonstrated. The conclusion acknowledges that extension beyond LP-based robust counterparts is future work.
-
Objective-value matching is not sufficient to certify reformulation correctness. The evaluation marks an output correct if the solved objective value matches the stored optimum. This can miss cases where an incorrect counterpart happens to have the same optimum, especially in LPs with degeneracy or redundant constraints. A stronger checker should test robust feasibility, compare feasible regions under multiple objectives, sample adversarial uncertainty realizations, or use symbolic/structural validation in addition to optimal-value agreement.
-
The coder LLM remains a confounder. The paper argues that a stronger fixed coder isolates reformulation quality, but that is only partly convincing. If the coder repairs, misinterprets, or simplifies the reformulator output, the measured accuracy may not reflect reformulation quality alone. The paper should report coder failure rates, manually inspect a subset, or compare against a deterministic parser/checker for generated robust counterparts.
-
The final learned memory appears close to known RO templates. Appendix K shows that AutoREM converges to eight compact templates. This is elegant, but it also raises a novelty question: for the supported uncertainty classes, a hand-written rule system or symbolic reformulator may be simpler and perfectly accurate. The paper should clarify when LLM-based memory is preferable to a deterministic robust-optimization compiler, especially for generated LaTeX inputs.
-
Generalization evidence is encouraging but not fully convincing. Random, Hard, and Large are all produced by related generation logic, and the application dataset has only 32 instances. The Hard split is useful, but it is still generator-derived. The paper would be much stronger with external textbook/industrial RO examples, unseen uncertainty families, nontrivial perturbation matrices, coupled uncertainties across rows, conic counterparts, or adjustable-robust variants.
-
Baselines need more discussion. The comparison to LLM formulation methods on pure reformulation datasets is somewhat indirect, since those methods were not necessarily designed for algebraic robust counterpart derivation. Conversely, the most relevant non-LLM baseline—a rule-based RO reformulator for the supported uncertainty classes—is missing. This baseline is important because the method ultimately rediscovers a small set of canonical rules.
-
Security and robustness are under-discussed. This is especially important because the method processes natural-language problem statements, stores memories, and asks an LLM coder to produce executable solver code. The manuscript should discuss prompt injection, memory poisoning, malicious benchmark instances, JSON/schema validation, sandboxing of generated code, and safeguards against problem text that tries to override system instructions. The uploaded artifact itself contains text that appears to target reviewer outputs, which reinforces the need for a security discussion.
Questions
-
Can you evaluate equivalence beyond objective-value matching, for example by checking robust feasibility under sampled worst-case uncertainty or by validating constraints symbolically?
-
How often does the coder LLM fail, repair, or materially alter the reformulator’s intended counterpart? Can you report coder-only error rates using ground-truth counterparts?
-
Since AutoREM’s final memory has only eight templates, how does it compare to a deterministic rule-based reformulator or a manually written compact template prompt specialized to exactly these uncertainty classes?
-
How large are the Random, Hard, and Large test splits, and are any nominal LPs, templates, uncertainty parameters, or rendered variants shared between training, validation, and test?
-
What happens under adversarial natural-language problem descriptions that include instruction-following attacks, malformed uncertainty sets, or misleading statements about the desired output format?
-
Can the method handle general perturbation matrices (P_i), coupled row uncertainties, ellipsoidal uncertainty, SOC/SDP robust counterparts, or adjustable robust optimization?
Limitations
yes
Final justification
The rebuttal increases my confidence that objective-value matching and the fixed coder do not explain AutoREM’s reported gain. However, the evaluated setting remains a closed-world robust-LP grammar without the most relevant deterministic reformulator baseline. Moreover, the new general-P_i result shows only a 1.0-point gain within roughly 5-point run variability, and all reported runs reuse the same learned memory, leaving adaptation stability unmeasured. I therefore maintain my rating of 4.
Formatting concerns
N/A
3 comments
Rebuttal
We thank the reviewer for the careful assessment.
To W1: AutoREM's scope beyond the current LP setting.
- Current evidence. We agree that the experiments cover static robust linear models with box, budget, and polyhedral uncertainty, not arbitrary RO.
- Framework extensibility. AutoREM is not hard-coded to these formulas: ULE defines task-dependent units, SMO learns/edits experience, and DCC/VBA validate updates. The same loop can support new classes by changing the data, units, solver, and verifier, such as support-function-to-SOC units for ellipsoidal uncertainty, cone-duality units for SDP, or decision-rule/recourse units for adjustable RO.
- Boundary and revision. No unified public non-LP reformulation benchmark is available, and building expert-verified data is difficult within five-day rebuttal period. We therefore distinguish framework-level extensibility from current robust-linear evidence and would narrow the title/claims accordingly, e.g., Automated Reformulation of Robust Linear Optimization via Memory-Augmented Large Language Models. We would also welcome the reviewer's suggestions on a more precise title.
To W2&Q1: Objective-value matching and mathematical equivalence.
- Evaluation choice and difficulty. We agree that a matching optimum is not a formal equivalence certificate. Across the LLM-based auto-formulation literature summarized in the Related Work section, objective-value matching is the predominant scalable protocol. General equivalence checking remains difficult because equivalent models may differ by permutations, scaling, redundant rows, auxiliary variables, linearizations, or extended formulations. Graph-based comparison [1] and EquivaMap [2] explore stronger structural checks, but neither covers arbitrary robust counterparts.
- Three-expert audit. To further address this concern, we conducted a manual audit with three experts on one pre-selected Random run for the Base LLM and AutoREM, with 64 outputs per method.
Method Both correct Objective correct only Model correct only Both wrong Objective accuracy Model accuracy Base LLM 55 3 1 5 90.6% 87.5% AutoREM 62 0 1 1 96.9% 98.4% - Conclusion. AutoREM gains 6.3% under objective matching and 10.9% under direct model judgment. Three of Base LLM's 58 objective-positive outputs are structurally wrong, versus 0/62 for AutoREM. Thus the metric is imperfect but does not create AutoREM's advantage.
To W3&Q2: Coder confounding.
- Setup and audit. Objective-based evaluation requires executable code. To minimize this additional source of error, all methods use the same fixed DeepSeek-V4-Pro coder, which is the strongest and substantially more expensive DeepSeek flagship model. Nevertheless, we agree that residual coder effects may remain. Using the same manually audited outputs, we further examined whether the coder altered or repaired the reformulator's robust counterpart.
Coder audit Base LLM AutoREM Structural alterations 1 2 Outcome-affecting errors 1/64 (1.6%) 1/64 (1.6%) Verified repairs 0/8 0/1 Accuracy after correcting coder-only errors 59/64 (92.2%) 63/64 (98.4%) - Conclusion. Each method has exactly one coder-caused objective mismatch. AutoREM has one additional nonbinding alteration. Correcting the confirmed coder-only errors changes Base LLM from 58/64 to 59/64 and AutoREM from 62/64 to 63/64, leaving the AutoREM–Base gap unchanged at 6.3%. Thus coder effects are small and do not explain the AutoREM improvement.
To W4&Q3: AutoREM's value relative to deterministic rules and expert prompts.
- Deterministic rules in a closed-world setting. We agree that a deterministic symbolic reformulator is preferable when the input grammar, uncertainty families, and all reformulation cases are known and encoded in advance. Such a system can approach perfect accuracy, and AutoREM is not intended to outperform this closed-world oracle.
- AutoREM automates reformulation knowledge acquisition in more open-ended settings. A deterministic reformulator requires RO experts to identify, derive, encode, verify, and extend rules for new uncertainty sets, notation styles, and problem structures. AutoREM aims to automate this knowledge-engineering process. Starting from empty memory, it learns, updates, deletes, and validates reformulation experience from data and solver feedback. It therefore does not require experts to pre-enumerate and encode a complete reformulation rule library. This makes it more suitable for settings with heterogeneous expressions, incomplete rule coverage, and evolving problem structures.
- Additional benefit over a static Expert Prompt. Expert Prompt is not a deterministic symbolic compiler. It is a manually written knowledge prompt supplied to the same LLM. AutoREM outperforms Expert Prompt on Random (97.4% vs. 92.7%), Hard (94.8% vs. 83.3%), and Large (85.4% vs. 79.2%). This shows that experience distilled automatically from the reformulator's observed failures provides more targeted and effective guidance than a static general-purpose expert prompt.
To W5&Q6: Generalization.
- Existing and new experiments. The submission evaluates structural OOD (Hard), scale OOD (Large), natural-language LP/MILP applications (IndustryOR/OptiBench), and cross-model transfer (GPT-5.4/Qwen3.6-Plus). To address broader structural generalization, we conducted two 32-instance tests: General and Coupled Row. Both use DeepSeek-V4-Flash and the same frozen memory without re-adaptation. Results are mean ± sample SD over three test-time runs.
Dataset Base LLM accuracy / output tokens AutoREM accuracy / output tokens General 89.6 ± 4.8% / 8,574 ± 49 90.6 ± 5.4% / 8,379 ± 290 Coupled Row 76.0 ± 4.8% / 8,055 ± 183 89.6 ± 4.8% / 6,788 ± 328 - General dataset. Beyond the Random data generation setting, every uncertain row uses a non-diagonal perturbation matrix while preserving nominal sparsity, so nominal zeros outside that support remain unperturbed. The modest gain is consistent with partial transfer. As shown in Appendix K.1, the current AutoREM memory was learned specifically from the identity/diagonal perturbation setting used in training. It captures family- and direction-level dualization patterns for that setting, but does not encode the new mapping, which must largely be derived at inference.
- Coupled Row dataset. Beyond the Random data generation setting, two uncertain rows share one primitive uncertainty vector/set. AutoREM gains 13.5% and reduces tokens by 15.7%. This result is consistent with the familiar row-wise transformations remaining applicable, while the new challenge lies in recognizing and consistently reusing the shared uncertainty set.
- Generalization boundary. Data-driven memory helps when new problems share learned reformulation patterns. Completely unseen structures, e.g., ellipsoidal uncertainty, SOC/SDP counterparts, or adjustable RO, may receive little benefit until new data teach the relevant duality or recourse patterns. We will supplement this discussion on generalization boundary in the revised paper.
To W6: Baselines.
- Comparison roles. Base LLM, Max Thinking, Expert Prompt, ReasoningBank, and ACE are the direct pure-reformulation baselines. AlphaOPT, LEAN-LLM-OPT, and OptiTree are primarily Application-task baselines. Their pure-reformulation results directly support our motivation that existing LLM formulation methods do not naturally provide precise RO reformulation.
- Rule-based non-LLM baseline. Under the fixed grammar and known uncertainty families, an expert-programmed symbolic reformulator could approach perfect accuracy. However, building and extending such a rule system requires substantial expert time and domain knowledge to derive, encode, verify, maintain, and update the rule base as new uncertainty sets or structures appear. AutoREM does not aim to beat this oracle. It automates rule discovery, revision, and validation from data and solver feedback, reducing reliance on a pre-specified expert rule base.
To Q4: Split sizes and leakage.
Random, Hard, and Large contain 64, 32, and 32 test instances, respectively. Train/validation/test are independently generated. No underlying instance, uncertainty-parameter set, or rendering is reused. Only the generator and template family are shared.
To W7&Q5: Security, robustness, and the artifact statement.
- Threat model and controls. Prompt injection, memory poisoning, malformed inputs, and unsafe code generation are general LLM risks rather than issues unique to AutoREM, but we agree they merit explicit discussion. Our experiments assume trusted generated or expert-curated inputs and do not claim adversarial robustness. Controls include strict JSON parsing, allowlisted memory operations, trusted offline adaptation, frozen test-time memory, and counting malformed outputs or solver failures as incorrect.
- Limitations and deployment. Adversarial inputs may still cause failures. Deployment should additionally use semantic validation, allowlisted solver APIs, resource limits, sandboxed code execution, and expert verification for high-stakes applications. We will add this discussion to the revised paper.
- Artifact statement. We want to be unequivocal: we did not insert any reviewer-targeting instruction into the manuscript, supplement, or code. If the reviewer refers to any other text, it was not authored or uploaded by us. If the concern remains, we are happy to ask AC to trace its provenance.
References
[1] Towards Human-aligned Evaluation for Linear Programming Word Problems, LREC-COLING'24.
[2] EquivaMap: Leveraging LLMs for Automatic Equivalence Checking of Optimization Formulations, ICML'25.
Thank you for the detailed rebuttal. The model-level and coder audits materially strengthen the evaluation, so I will maintain my positive rating of 4; my remaining concerns are the limited external scope and the lack of independent adaptation runs.
Thank you for the follow-up and for recognizing that the model-level and coder audits strengthen the evaluation. The original Application dataset already provided some evidence of external textbook/industrial RO examples: its 16 nominal LP/MILP problems were drawn from the established IndustryOR and OptiBench benchmark collections, and each instance followed uncertainty constructions from the literature. To address the remaining concerns more directly, we conducted an external textbook/published-benchmark evaluation and repeated the complete offline adaptation independently.
External textbook and published-benchmark evaluation.
- Sources and coverage. To our knowledge, no existing RO dataset directly evaluates LLM reformulation. Existing public RO numerical instances are primarily intended to evaluate modeling or computational methods. We therefore converted 32 instances from five external sources [1–5] into a reformulation test set that is independent of the AutoRO-Bench generator. The dataset spans seven problem families: drug production, single-period portfolio, two-variable robust LP, mixed 0–1 production planning, multiperiod production planning, robust selection, and NETLIB robust LP.
| Attribute | Value | # Instances |
|---|---|---|
| Source | Robust Optimization textbook [1] | 4 |
| Published robust NETLIB models [2] | 6 | |
| Robust discrete optimization benchmark [3] | 6 | |
| Published robust LP/MILP examples [4] | 12 | |
| Published multiperiod production examples [5] | 4 | |
| Problem class | LP | 20 |
| MILP | 12 | |
| Uncertainty set | Box | 14 |
| Budget | 8 | |
| Polyhedral | 7 | |
| Box + Polyhedral | 3 | |
| Decision variables | Range | 2–201 |
| Original constraints | Range | 1–56 |
| Uncertain rows | Range | 1–14 |
| Multiple uncertain rows | 16 |
- Conversion into the reformulation task. The original sources provide numerical robust instances, model equations, or benchmark files, but not reformulation-oriented the LaTeX input of an original robust model. For each instance, we extracted the source-defined objective, constraints, variable domains, uncertainty set, and numerical parameters, and represented the original robust model as a self-contained LaTeX input.
- Results. We evaluated the Base LLM and the existing frozen AutoREM memory without adaptation to any external instance. Results are mean ± sample standard deviation over three runs. As shown in the table below, AutoREM improves accuracy by 5.2 percentage points on average. This consistent improvement shows that the learned memory transfers beyond our generator to independently sourced textbook and published RO models.
| Method | Accuracy (%) ↑ | Output Tokens ↓ |
|---|---|---|
| Base LLM | 92.7 ± 1.8 | 5195 ± 236 |
| AutoREM | 97.9 ± 1.8 | 7347 ± 263 |
Independent adaptation runs.
- Setup. We performed two additional complete offline adaptation runs. Together with the original run, all three adaptations start independently from empty memory and follow the same adaptation protocol. For each learned memory, we report mean ± sample standard deviation under the same Random evaluation protocol.
| Method | Accuracy (%) ↑ | Output Tokens ↓ |
|---|---|---|
| Base LLM | 87.5 ± 5.4 | 7777 ± 162 |
| AutoREM (adaptation 1) | 97.4 ± 0.9 | 6386 ± 56 |
| AutoREM (adaptation 2) | 96.9 ± 2.7 | 6666 ± 132 |
| AutoREM (adaptation 3) | 97.4 ± 1.8 | 6236 ± 42 |
- Stability across adaptations. The three independently learned memories achieve mean accuracies between 96.9% and 97.4%, with a between-adaptation standard deviation of approximately 0.3 percentage points. Each independently adapted memory improves over the Base LLM by 9.4–9.9 percentage points. Thus, AutoREM's improvement is stable across independent adaptations and is not attributable to one favorable learned memory.
The independently sourced external evaluation and the repeated full-adaptation experiments directly address the two remaining concerns. We will add these new experimental results, dataset-construction details, and corresponding discussions to the revised paper. We will also publicly release our original code and datasets, together with the new datasets constructed during the rebuttal period.
References
[1] Robust Optimization. Princeton University Press, 2009.
[2] Robust Solutions of Linear Programming Problems Contaminated with Uncertain Data. Mathematical Programming, 2000.
[3] Benchmarking Problems for Robust Discrete Optimization. Computers & Operations Research, 2024.
[4] A Comparative Theoretical and Computational Study on Robust Counterpart Optimization: I. Robust Linear Optimization and Robust Mixed Integer Linear Optimization. Industrial & Engineering Chemistry Research, 2011.
[5] A Comparative Theoretical and Computational Study on Robust Counterpart Optimization: II. Probabilistic Guarantees on Constraint Satisfaction. Industrial & Engineering Chemistry Research, 2012.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
We thank the AC for the concise summary of the main concerns.
Regarding the scope and generalization of the benchmark.
The current empirical evidence supports robust linear optimization rather than arbitrary RO, and we will narrow the title and claims accordingly. Within this scope, we add General Pi and Coupled Row experiments and clarify the external Application evaluation based on IndustryOR and OptiBench. AutoREM is extensible at the framework level, while constructing a reliable non-LP reformulation benchmark remains important future work. See V5oP W1 and W5&Q6, and WLk9 W1&Q1 and W3&Q3.
Regarding correctness beyond objective-value matching.
We agree that matching one objective value is not a formal equivalence certificate. We therefore conduct a manual model-level audit before inspecting the generated code. The audit changes the absolute accuracy estimates but does not materially affect the conclusion that AutoREM improves the Base LLM. See V5oP W2&Q1 and WLk9 W2&Q2.
Regarding the coder LLM as a confounding factor.
We separately audit reformulator and coder errors. The coder causes one outcome-affecting error for each method and does not repair any erroneous reformulation. After correcting coder-only errors, AutoREM's improvement remains unchanged. See V5oP W3&Q2 and XjHV Q4.
Regarding characterization of the evaluation datasets.
We provide the exact Random, Hard, and Large test sizes, DeepSeek-token input statistics, and split-construction details. The splits are independently generated without reusing an underlying instance, uncertainty-parameter set, or rendering. We also explain the sources, diversity, selection criteria, and practical parameterizations of the Application dataset. See V5oP Q4, XjHV W1–W2, and WLk9 W3&Q3.
Regarding baseline adaptations and the experimental setup.
We distinguish the direct reformulation baselines from the formulation-oriented methods, whose pure-reformulation results test our motivation that existing LLM formulation pipelines do not naturally provide the specialized reasoning required for accurate RO reformulation. We also explain how ACE, ReasoningBank, AlphaOPT, LEAN-LLM-OPT, and OptiTree are adapted under a common task and evaluation interface. See V5oP W6 and XjHV W3 and Q5.
Regarding security and robustness.
We clarify the trusted-input threat model and explicitly do not claim adversarial robustness. We describe the current JSON, memory, and test-time controls, together with semantic validation, sandboxing, resource limits, and expert verification needed for deployment. We also state unequivocally that we inserted no reviewer-targeting instruction into the submitted materials. See V5oP W7&Q5.
Regarding LLM-based memory versus deterministic reformulation systems.
A deterministic symbolic reformulator is preferable when a complete closed-world rule specification is available. AutoREM instead automates the acquisition, revision, and validation of reformulation knowledge when experts have not pre-encoded and maintained a complete rule base. AutoREM also outperforms the static Expert Prompt baseline, indicating an additional benefit from failure-targeted learned experience. See V5oP W4&Q3 and W6.
Regarding the remaining concerns.
We additionally provide the deeper ablation analysis, explain why the final eight entries do not exhaustively enumerate all twelve reformulation cases, report the evaluation tolerance, clarify that the three runs reuse one frozen memory, and give the requested details on the Large setting and all baseline pipelines. See XjHV W1–W4 and Q1–Q5. All other reviewers' concerns are addressed in their corresponding point-by-point responses.