# Multi-Turn RL Makes Small Language Model Competitive for Optimization Modeling

*Xinzhi Zhang, Zeyi Chen, Humishka Zope, Hugo Barbalho, Konstantina Mellou, Marco Molinaro, Janardhan Kulkarni, Ishai Menache, Sirui Li*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/152943) · [OpenReview](https://openreview.net/forum?id=PDqLeHA8wd) · [Open on the map](../papers.html#p152943)

Category: [LLM Agents, Evals & Benchmarks](../pcat/17.md) › [Evolutionary Optimization with AI Agents](../pgroup/433.md) · Type: new method · Keywords: small language models, optimization modeling, reinforcement learning, solver feedback, benchmark cleaning

Areas: [Evaluation & Benchmarks](../areas/evaluation.md) › Language Model and Agent Benchmarks › Optimization Modeling; [RL for LLMs & Agents](../areas/llm-rl.md) › Language Model Agents › Language Model Optimization

## Summary
OptiMind uses multi-turn reinforcement learning with solver feedback to improve small language models for optimization modeling, making them competitive with frontier models.

## Explained to a 5-year-old
People need to solve math puzzles that help decide things like deliveries and schedules. Tiny computer helpers are not good at solving these puzzles by themselves. We let these helpers ask for help and learn from their mistakes, like a game. A special tool checks their answers and gives them points for being correct. Now the tiny helpers can solve puzzles just as well as the big, powerful ones.

## Explained to a 5-year-old, longer
People need to solve math puzzles that help decide things like deliveries and schedules. Tiny computer helpers are not good at solving these puzzles by themselves. These helpers get noisy data and sometimes misunderstand the problem. We give them a way to ask for help and learn from their mistakes, like a game. A special tool checks their answers and gives them points for being correct. The helpers also learn from looking at many examples and noticing patterns. They can fix unclear problems and try again until they get it right. This process repeats many times, like a conversation, to improve. After learning, the tiny helpers can solve puzzles just as well as the big, powerful ones. This makes it possible to use them on small devices without a lot of internet. It helps keep data private and saves money on computing. In the end, we can solve real-world problems like planning deliveries and schedules more easily.

## For a technical reader
The paper addresses the challenge of turning natural-language optimization problems into executable solver code, especially for small models that must run locally. It proposes a pipeline that cleans and annotates data, adds class-conditional priors, and uses a reinforcement-learning loop where a solver provides feedback on each generated formulation. This interactive training lets the model iteratively refine its outputs, achieving performance on par with large models while using far fewer resources. The released framework and cleaned benchmarks make it easier for practitioners to adopt this approach in real-world decision-support systems.

## Problem
Translating natural-language optimization problems into solver-executable formulations is a bottleneck, especially for small language models that need to run locally under privacy, latency, and cost constraints.

## Method
The approach employs formulation-centric data cleaning, class-conditional priors, and multi-turn reinforcement learning that incorporates solver feedback. It repairs ambiguous problems, audits benchmark labels, and trains models to formulate, execute, and revise solver programs using correctness rewards.

## Results
The approach achieves performance comparable to frontier models and outperforms strong open-source baselines on the three benchmarks.

## Contributions
It introduces a framework for improving small language models via formulation-centric data cleaning, class-conditional priors, and multi-turn reinforcement learning with solver feedback, and releases cleaned benchmarks and error analyses.

## Practical relevance
The framework enables small, locally deployed language models to solve real-world optimization problems, supporting decision-making in domains like supply chains and energy.

## Research questions this paper is counted under

- [How can we automatically generate accurate optimization models from natural-language problem descriptions?](../q/222.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/152943)
