arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.01253cs.AIcs.LG
收藏

OR-Toolformer:使用工具增强型大语言模型建模与求解运筹学问题

OR-Toolformer: Modeling and Solving Operations Research Problems with Tool Augmented Large Language Models

Alibaba Business School(阿里巴巴商业学院);Hangzhou Normal University(杭州师范大学)

Jianzhang Zhang, Jialong Zhou, Chuang Liu

AI总结:

针对运筹学任务中闭源API的隐私问题与开源模型训练成本高的痛点,提出OR-Toolformer,通过半自动数据合成流水线微调Llama-3.1-8B-Instruct并增强外部求解器调用能力,在基准测试与零样本评估中均取得优于基线的表现。

摘要:

大语言模型(LLM)展现出强大的数学推理能力,但在运筹学(OR)任务中依赖闭源API会引发隐私问题,而从头训练开源模型又会产生高昂的计算成本。我们提出OR-Toolformer,该模型通过半自动数据合成流水线微调Llama-3.1-8B-Instruct,生成多样化的OR问题-答案对,并为模型配备外部求解器以生成API调用。在四个标准基准中的三个上,OR-Toolformer的执行准确率最高达80.1%,超出同等规模基线模型4.3%以上。在两种未见过的OR问题类型的零样本评估中,它取得了54%的平均准确率,比最强基线高出21个百分点。这些结果验证了工具增强型微调LLM在准确且可泛化的OR问题建模与求解方面的有效性。

英文摘要:

Large language models (LLMs) demonstrate strong mathematical reasoning, but reliance on closed-source APIs for OR tasks raises privacy concerns, and training open-source models from scratch incurs high compute costs. We introduce OR-Toolformer, which fine-tunes Llama-3.1-8B-Instruct with a semi-automatic data synthesis pipeline that generates diverse OR problem-answer pairs and augments the model with external solvers to produce API calls. On three of four standard benchmarks, OR-Toolformer achieves up to 80.1% execution accuracy, exceeding size-matched baselines by over 4.3%. In zero-shot evaluation on two unseen OR problem types, it attains 54% average accuracy, a 21 percentage-point improvement over the strongest baseline. These findings validate the efficacy of tool-augmented fine-tuning LLMs for accurate and generalizable OR problem modeling and solving.

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

↑