arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2405.17743cs.CLcs.AIcs.CEcs.LG
收藏

ORLM:一种用于训练自动化优化建模大模型的可定制框架

ORLM: A Customizable Framework in Training Large Models for Automated Optimization Modeling

Shanghai University of Finance and Economics(上海财经大学);The Chinese University of Hong Kong, Shenzhen (CUHK-Shenzhen)(香港中文大学(深圳));Shenzhen Research Institute of Big Data(深圳大数据研究院);Shanghai Jiao Tong University(上海交通大学);Cardinal Operations;Columbia University(哥伦比亚大学);Duke University(杜克大学)

Chenyu Huang, Zhengyang Tang, Shixi Hu, Ruoqing Jiang, Xin Zheng, Dongdong Ge, Benyou Wang, Zizhuo Wang

AI总结:

针对优化建模依赖闭源大模型、高质量数据集稀缺的问题,研究提出可训练开源大模型的ORLM框架,设计半自动化数据合成框架OR-Instruct,推出首个工业基准IndustryOR,训练的7B规模模型在多基准上取得竞争力性能。

摘要:

优化建模在运筹学(Operations Research, OR)工具解决现实问题的应用中发挥着关键作用,但该过程充满挑战,且需要运筹学专家具备丰富的专业知识。随着大语言模型(Large Language Models, LLMs)的出现,为简化并自动化这类任务带来了新机遇。然而,当前研究主要依赖GPT-4等闭源大语言模型,同时需要大量提示工程技术。这种依赖源于优化建模领域高质量训练数据集的稀缺,进而导致成本升高、处理时间延长以及隐私问题。\n为应对这些挑战,本研究首次提出了一条可行路径,用于训练具备优化建模能力、可开发求解器代码的开源大语言模型,最终实现更出色的自动化优化建模与求解能力。具体而言,我们设计了OR-Instruct(一种面向优化建模的半自动化数据合成框架),该框架可针对特定场景或模型类型进行可定制化增强。本研究还推出了IndustryOR,这是首个用于评估大语言模型解决实际运筹学问题能力的工业基准。\n我们利用合成数据训练了多个70亿参数规模的开源大语言模型(命名为ORLMs,代码仓库:https://github.com/Cardinal-Operations/ORLM),这些模型的优化建模能力得到显著提升,在NL4OPT、MAMO和IndustryOR基准上均取得了具有竞争力的性能。此外,我们的实验还凸显了缩放法则和强化学习进一步提升ORLMs性能的潜力。论文还讨论了ORLMs在实际工业应用中的工作流程与人机交互范式。

英文摘要:

Optimization modeling plays a critical role in the application of Operations Research (OR) tools to address real-world problems, yet they pose challenges and require extensive expertise from OR experts. With the advent of large language models (LLMs), new opportunities have emerged to streamline and automate such task. However, current research predominantly relies on closed-source LLMs such as GPT-4, along with extensive prompt engineering techniques. This reliance stems from the scarcity of high-quality training datasets for optimization modeling, resulting in elevated costs, prolonged processing times, and privacy concerns. To address these challenges, our work is the first to propose a viable path for training open-source LLMs that are capable of optimization modeling and developing solver codes, eventually leading to a superior ability for automating optimization modeling and solving. Particularly, we design the {\sc OR-Instruct}, a semi-automated data synthesis framework for optimization modeling that enables customizable enhancements for specific scenarios or model types. This work also introduces IndustryOR, the first industrial benchmark for evaluating LLMs in solving practical OR problems. We train several 7B-scale open-source LLMs using synthesized data (dubbed ORLMs{https://github.com/Cardinal-Operations/ORLM}), which exhibit significantly enhanced optimization modeling capabilities, achieving competitive performance across the NL4OPT, MAMO, and IndustryOR benchmarks. Additionally, our experiments highlight the potential of scaling law and reinforcement learning to further enhance the performance of ORLMs. The workflows and human-machine interaction paradigms of ORLMs in practical industrial applications are also discussed in the paper.

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

↑