OptMATH:一种面向优化建模的可扩展双向数据合成框架
OptMATH: A Scalable Bidirectional Data Synthesis Framework for Optimization Modeling
AI总结:
针对优化建模领域高质量数据集匮乏、LLM泛化困难的问题,研究提出可扩展双向数据合成框架OptMATH,通过种子数据生成、回译、前向建模加拒绝采样构建数据集与难例基准,实验证明多规模模型训练后效果更优。
摘要:
尽管大语言模型(LLM)发展迅速,但一项根本性挑战依然存在:高质量优化建模数据集的匮乏,阻碍了LLM从自然语言描述(NL)中对实际优化问题进行鲁棒建模。这种数据稀缺性也导致了基于学习的方法面临泛化困难的问题。为应对这些挑战,我们提出了一种可扩展的高质量数据集合成框架,命名为OptMATH。该框架从带有数学公式(MF)的精选种子数据出发,自动生成复杂度可控的问题数据(PD)。随后采用回译步骤获取自然语言描述(NL)。为验证NL与PD之间的对应关系,框架执行前向建模步骤,随后进行拒绝采样。被接受的样本对构成OptMATH的训练部分。之后,我们识别出一批被拒绝的样本对并进一步筛选,这批样本构成了一个新的优化建模基准,其中包含的困难实例长度远长于NL4OPT和MAMO的实例。通过大量实验,我们证明在OptMATH上训练的不同规模(0.5B-32B参数)模型,在多个建模基准上均取得了优异结果,从而验证了我们方法的有效性和可扩展性。我们的数据集已在https://github.com/AuroraLHL/OptMATH 公开。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。