OptMATH: A Scalable Bidirectional Data Synthesis Framework for Optimization Modeling
Hongliang Lu, Zhonglin Xie, Yaoyu Wu, Can Ren, Yuxuan Chen, Zaiwen Wen
Abstract
Despite the rapid development of large language models (LLMs), a fundamental challenge persists: the lack of high-quality optimization modeling datasets hampers LLMs' robust modeling of practical optimization problems from natural language descriptions (NL). This data scarcity also contributes to the generalization difficulties experienced by learning-based methods. To address these challenges, we propose a scalable framework for synthesizing a high-quality dataset, named OptMATH. Starting from curated seed data with mathematical formulations (MF), this framework automatically generates problem data (PD) with controllable complexity. Then, a back-translation step is employed to obtain NL. To verify the correspondence between the NL and the PD, a forward modeling step followed by rejection sampling is used. The accepted pairs constitute the training part of OptMATH. Then a collection of rejected pairs is identified and further filtered. This collection serves as a new benchmark for optimization modeling, containing difficult instances whose lengths are much longer than these of NL4OPT and MAMO. Through extensive experiments, we demonstrate that models of various sizes (0.5B-32B parameters) trained on OptMATH achieve superior results on multiple modeling benchmarks, thereby validating the effectiveness and scalability of our ap-proach. Our dataset is publicly available at https://github.com/AuroraLHL/OptMATH .
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
20 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- MURKA: Multi-Reward Reinforcement Learning with Knowledge Alignment for Optimization Tasks cites Chain-of-Experts: When LLMs Meet Complex Operations Research Problems
- MURKA: Multi-Reward Reinforcement Learning with Knowledge Alignment for Optimization Tasks cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- Chain-of-Experts: When LLMs Meet Complex Operations Research Problems cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- AlphaOPT: Formulating Optimization Programs with Self-Improving LLM Experience Library cites Chain-of-Experts: When LLMs Meet Complex Operations Research Problems
- Self-Refine: Iterative Refinement with Self-Feedback cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- Self-Instruct: Aligning Language Models with Self-Generated Instructions cites Language Models are Few-Shot Learners
- StepORLM: A Self-Evolving Framework With Generative Process Supervision For Operations Research Language Models cites Chain-of-Experts: When LLMs Meet Complex Operations Research Problems
- StepORLM: A Self-Evolving Framework With Generative Process Supervision For Operations Research Language Models cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- StepORLM: A Self-Evolving Framework With Generative Process Supervision For Operations Research Language Models cites Solver-Informed RL: Grounding Large Language Models for Authentic Optimization Modeling
- Solver-Informed RL: Grounding Large Language Models for Authentic Optimization Modeling cites Chain-of-Experts: When LLMs Meet Complex Operations Research Problems
- Solver-Informed RL: Grounding Large Language Models for Authentic Optimization Modeling cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- Solver-Informed RL: Grounding Large Language Models for Authentic Optimization Modeling cites Self-Instruct: Aligning Language Models with Self-Generated Instructions
Cited by top-tier papers20
- Solver-Informed RL: Grounding Large Language Models for Authentic Optimization ModelingYitian Chen, Jingfan Xia, Siyu Shao, Dongdong Ge et al.NeurIPS 2025 · 54 citations
- OptiTree: Hierarchical Thoughts Generation with Tree Search for LLM Optimization ModelingHaoyang Liu, Jie Wang, Yuyang Cai, Xiongwei Han et al.NeurIPS 2025 · 33 citations
- StepORLM: A Self-Evolving Framework With Generative Process Supervision For Operations Research Language ModelsChenyu Zhou, Tianyi Xu, Jianghao Lin, Dongdong GeICLR 2026 · 29 citations
- AlphaOPT: Formulating Optimization Programs with Self-Improving LLM Experience LibraryMinwei Kong, Ao Qu, Xiaotong Guo, Wenbin Ouyang et al.KDD 2026 · 16 citations
- MURKA: Multi-Reward Reinforcement Learning with Knowledge Alignment for Optimization TasksWantong Xie, Yi-Xiang Hu, Jieyang Xu, Feng Wu et al.NeurIPS 2025 · 8 citations
Builds on12
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
- Chain-of-Thought Prompting Elicits Reasoning in Large Language ModelsJason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma et al.NeurIPS 2022 · 22,562 citations
- Self-Refine: Iterative Refinement with Self-FeedbackAman Madaan, Niket Tandon, Prakhar Gupta, Skyler Hallinan et al.NeurIPS 2023 · 4,972 citations
- Self-Instruct: Aligning Language Models with Self-Generated InstructionsYizhong Wang, Yeganeh Kordi, Swaroop Mishra, Alisa Liu et al.ACL 2023 · 540 citations
- Chain-of-Experts: When LLMs Meet Complex Operations Research ProblemsZiyang Xiao, Dongxiang Zhang, Yangjun Wu, Lilin Xu et al.ICLR 2024 · 136 citations
Related papers
- OptiBench Meets ReSocratic: Measure and Improve LLMs for Optimization ModelingZhicheng Yang, Yiwei Wang, Yinya Huang, Zhijiang Guo et al.ICLR 2025
- Training LLMs for Optimization Modeling via Iterative Data Synthesis and Structured ValidationYang Wu, Yifan Zhang, Yurong Wu, Yuran Wang et al.EMNLP Findings 2025 · 1 citation
- ProOPF: Benchmarking and Improving LLMs for Professional-Grade Power Systems Optimization ModelingChao Shen, Zihan Guo, Xu Wan, Zhenghao Yang et al.ICML 2026 · 3 citations
- LLMOPT: Learning to Define and Solve General Optimization Problems from ScratchCaigao Jiang, Xiang Shu, Hong Qian, Xingyu Lu et al.ICLR 2025
- MathSmith: Towards Extremely Hard Mathematical Reasoning by Forging Synthetic Problems with a Reinforced PolicyShaoxiong Zhan, Yanlin Lai, Ziyu Lu, Dahua Lin et al.AAAI 2026 · 17 citations
