Saved in:
Bibliographic Details
Main Authors: Lu, Hongliang, Xie, Zhonglin, Wu, Yaoyu, Ren, Can, Chen, Yuxuan, Wen, Zaiwen
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2502.11102
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910837854175232
author Lu, Hongliang
Xie, Zhonglin
Wu, Yaoyu
Ren, Can
Chen, Yuxuan
Wen, Zaiwen
author_facet Lu, Hongliang
Xie, Zhonglin
Wu, Yaoyu
Ren, Can
Chen, Yuxuan
Wen, Zaiwen
contents 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 approach. Our dataset is publicly available at https://github.com/AuroraLHL/OptMATH.
format Preprint
id arxiv_https___arxiv_org_abs_2502_11102
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle OptMATH: A Scalable Bidirectional Data Synthesis Framework for Optimization Modeling
Lu, Hongliang
Xie, Zhonglin
Wu, Yaoyu
Ren, Can
Chen, Yuxuan
Wen, Zaiwen
Artificial Intelligence
Machine Learning
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 approach. Our dataset is publicly available at https://github.com/AuroraLHL/OptMATH.
title OptMATH: A Scalable Bidirectional Data Synthesis Framework for Optimization Modeling
topic Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2502.11102