arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2511.09092cs.AImath.OC
收藏

OR-R1:通过测试时强化学习实现运筹学优化问题的自动化建模与求解

OR-R1: Automating Modeling and Solving of Operations Research Optimization Problem via Test-Time Reinforcement Learning

Zezhen Ding, Zhen Tan, Jiheng Zhang, Tianlong Chen

AI总结:

针对运筹学优化问题建模求解依赖专业知识、现有LLM方法数据效率低的问题,提出OR-R1两阶段框架,结合监督微调与测试时组相对策略优化,用少量数据实现高准确率,缩小单多尝试性能差距,降低工业应用障碍。

摘要:

优化建模与求解是运筹学(OR)在现实世界决策中应用的基础,但将自然语言问题描述转化为正式模型和求解器代码的过程仍高度依赖专业知识。尽管大型语言模型(LLMs)的最新进展为自动化带来了新机遇,但现有基于LLM的方法的泛化能力和数据效率仍有限,因为大多数方法需要大量标注或合成数据,导致高成本和可扩展性障碍。在这项工作中,我们提出OR-R1,一个用于自动化优化建模与求解的数据高效训练框架。OR-R1首先采用监督微调(SFT)帮助模型从有限的标注数据中获取问题公式化和代码生成的基本推理模式。此外,它通过测试时组相对策略优化(TGRPO)提高能力和一致性。这种两阶段设计使OR-R1能够利用稀缺的标注数据和丰富的未标注数据进行有效学习。实验表明,OR-R1达到了最先进的性能,平均求解准确率为67.7%,仅使用ORLM等现有方法所需合成数据的1/10,求解准确率比ORLM高出多达4.2%。值得注意的是,OR-R1仅用100个合成样本就比ORLM高出2.4%以上。此外,TGRPO使准确率额外提高了3.1%-6.4%,将单次尝试(Pass@1)和多次尝试(Pass@8)性能之间的差距从13%显著缩小到7%。在各种现实世界基准上的广泛评估表明,OR-R1为自动化OR优化问题建模与求解提供了稳健、可扩展且具有成本效益的解决方案,降低了工业OR应用的专业知识和数据障碍。

英文摘要:

Optimization modeling and solving are fundamental to the application of Operations Research (OR) in real-world decision making, yet the process of translating natural language problem descriptions into formal models and solver code remains highly expertise intensive. While recent advances in large language models (LLMs) have opened new opportunities for automation, the generalization ability and data efficiency of existing LLM-based methods are still limited, asmost require vast amounts of annotated or synthetic data, resulting in high costs and scalability barriers. In this work, we present OR-R1, a data-efficient training framework for automated optimization modeling and solving. OR-R1 first employs supervised fine-tuning (SFT) to help the model acquire the essential reasoning patterns for problem formulation and code generation from limited labeled data. In addition, it improves the capability and consistency through Test-Time Group Relative Policy Optimization (TGRPO). This two-stage design enables OR-R1 to leverage both scarce labeled and abundant unlabeled data for effective learning. Experiments show that OR-R1 achieves state-of-the-art performance with an average solving accuracy of $67.7\%$, using only $1/10$ the synthetic data required by prior methods such as ORLM, exceeding ORLM's solving accuracy by up to $4.2\%$. Remarkably, OR-R1 outperforms ORLM by over $2.4\%$ with just $100$ synthetic samples. Furthermore, TGRPO contributes an additional $3.1\%-6.4\%$ improvement in accuracy, significantly narrowing the gap between single-attempt (Pass@1) and multi-attempt (Pass@8) performance from $13\%$ to $7\%$. Extensive evaluations across diverse real-world benchmarks demonstrate that OR-R1 provides a robust, scalable, and cost-effective solution for automated OR optimization problem modeling and solving, lowering the expertise and data barriers for industrial OR applications.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑