OptiMind: Improving Small Language Models for Optimization Modeling with Hint Libraries and Multi-Turn Reinforcement Learning
ORIGINAL / OptiMind: Improving Small Language Models for Optimization Modeling through Formulation Guidance and Multi-Turn Learning
To address noisy data, ambiguous benchmarks, and one-shot inference limiting small language models in optimization modeling, OptiMind combines data cleaning, class-specific hints, and solver-feedback training; its 20B model reaches frontier-model performance on cleaned benchmarks, with hint library and model publicly released.
01 ABSTRACT
Mathematical optimization modeling requires translating natural-language problems into solver-executable formulations, and small models are limited by noisy data and one-shot inference. OptiMind distills class-specific hints to repair ambiguous problems and generate reliable training data, then uses multi-turn reinforcement learning with solver feedback to teach models to revise formulations. The 20B OptiMind-RL model outperforms strong open-source baselines and reaches frontier-model performance on three cleaned benchmarks; the authors attribute the gains to hint libraries and multi-turn learning.
02 KEY FINDINGS
- OptiMind distills recurring formulation errors into class-specific hints to repair ambiguous problems and generate reliable training data.
- It uses solver feedback for multi-turn reinforcement learning, training models to iteratively revise formulations at inference time.
- The 20B OptiMind-RL outperforms strong open-source baselines and reaches frontier-model performance on three cleaned benchmarks.
- The hint library, cleaned test data, cleaning logs, and evaluation code are public, and the trained model is released on Hugging Face.
AI GENERATED SUMMARY / DISCOVERED BY ARXIV CS.LG