CALM Before the STORM: Unlocking Native Reasoning for Optimization Modeling

Zhengyang Tang, Zihan Ye, Chenyu Huang, Xuhan Huang, Chengpeng Li, Sihang Li, Guanhua Chen, Ming Yan, Zizhuo Wang, Hongyuan Zha, Dayiheng Liu, Benyou Wang

Large Reasoning Models (LRMs) like Qwen and DeepSeek-R1 have opened new doors for automating Operations Research (OR). However, teaching these models to solve complex optimization problems presents a unique challenge. Researchers have developed STORM, a 4-billion-parameter model that matches the performance of the 671B DeepSeek-R1 on complex optimization tasks. The breakthrough stems not from massive datasets, but from a novel training methodology called CALM (Corrective Adaptation with Lightweight Modification). Instead of replacing a model's entire thought process with a teacher's solution, CALM identifies the model's first reasoning mistake and provides a minimal "hint" to help it self-correct.

The Challenge: Distillation Interference in Operations Research

Operations Research—the science of making optimal decisions through mathematical modeling—is notoriously difficult for AI. Solving an OR problem is not a one-shot task; it requires a multi-step loop of formulating the mathematics, writing solver code (e.g., Python's PuLP), executing it, and debugging the output.

The authors discovered a phenomenon they term "Distillation Interference." Standard fine-tuning—forcing an LRM to mimic a pre-written, perfect solution—actually degrades performance on harder problems. For instance, on the challenging OptMath benchmark, standard fine-tuning caused the base model's performance to collapse from 33.1% to a mere 6.6%. Forcing a model to adopt an external reasoning style disrupts its native problem-solving scaffolding. It is akin to teaching a student by making them trace your handwriting; they may pass easy tests but fail when independent critical thinking is required.

Methodology: CALM and the Local Repair Loop

To overcome this interference, the authors propose CALM, a two-stage training pipeline focused on local repair rather than full replacement:

  1. The Local Repair Loop: Instead of providing a full teacher solution, the base model (the "Reasoner") attempts the problem. An "Intervener" model (such as Gemini-2.5-Pro) monitors the generation. At the very first sign of an error, the Intervener injects a brief hint—modifying fewer than 2.6% of the total tokens—and allows the Reasoner to complete the task using its own logic.
  2. STORM Generation: These repaired trajectories are used for Supervised Fine-Tuning (SFT). Subsequently, Reinforcement Learning (RL) via the GRPO algorithm is applied, rewarding the model for reaching the correct numerical answer through its own guided exploration.

Datasets and the Taxonomy of Failures

During their investigation, the researchers categorized LRM failures into two main groups:

  • Code Utilization Distrust: The model attempts to do complex math in its natural language generation rather than trusting the solver code.
  • Lack of OR Expertise: The model misses critical constraints or uses an incorrect mathematical formulation.

They evaluated their approach across five diverse benchmarks: NL4Opt (basic linear programming), MAMO Easy & Complex (high-school to undergraduate math programming), IndustryOR (real-world scenarios), and OptMath (advanced reasoning). Remarkably, the final SFT dataset comprised only 112 high-quality examples, demonstrating that the quality and locality of corrections heavily outweigh raw data volume.

Key Insights and Results

The resulting model, STORM-4B, punches significantly above its weight class:

  • Matching the Giants: With only 4 billion parameters, STORM achieved a 68.9% macro-average accuracy, effectively matching the massive 671B DeepSeek-R1-0528 (67.5%).
  • Massive Gains on Hard Tasks: On the MAMO-Complex benchmark, STORM improved the base model's performance by 23.8 percentage points.
  • Behavioral Shift: Post-training, the model exhibited a distinct behavioral shift. It became more concise, reducing natural language "yapping" and relying more heavily on executable code blocks to do the heavy lifting.
  • Efficiency: Training on a model's own corrected logic provides a much cleaner signal for RL, preserving the model's internal scaffolding while only fixing the broken joints.

Limitations and Future Directions

The authors maintain deliberately narrow claims. The study focuses strictly on optimization modeling with solver-based code; it remains an open question whether this local repair strategy generalizes to broader tool use or creative tasks. Furthermore, the data curation process still relies on a stronger Intervener model to act as the teacher. Future work may explore cheaper ways to curate these "hinted" datasets without relying on expensive proprietary models.

Finally, the authors stress that these models should be viewed as decision-support tools rather than autonomous agents, given the real-world operational stakes of optimization errors.

Summary updated

BibTeX
@inproceedings{tang2026calm,
  author = {Zhengyang Tang and Zihan Ye and Chenyu Huang and Xuhan Huang and Chengpeng Li and Sihang Li and Guanhua Chen and Ming Yan and Zizhuo Wang and Hongyuan Zha and Dayiheng Liu and Benyou Wang},
  title = {{CALM Before the STORM: Unlocking Native Reasoning for Optimization Modeling}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=VFZWSzWgtS},
}
Figure