arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2604.00442cs.AIcs.CL
收藏

可验证执行的强化学习用于优化建模

Learning to Model Optimization Problems from Solver Outcomes

School of Computer Science and Engineering, Nanjing University of Science and Technology(南京理工大学计算机科学与工程学院);School of Intelligence Science and Technology, Nanjing University(南京大学智能科学与技术学院);Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所)

Runda Guan, Xiangqing Shen, Jiajun Zhang, Yifan Zhang, Jian Cheng, Rui Xia

AI总结:

本文提出EVOM框架,通过将数学规划求解器作为确定性验证器,利用强化学习生成并执行求解代码,实现高效的优化建模。实验表明EVOM在多个数据集上表现优异,支持零样本求解器迁移和低成本适应。

摘要:

利用大型语言模型自动化优化建模是实现可扩展决策智能的有前途路径,但现有方法要么依赖闭源LLM的代理流水线,具有高推理延迟,要么通过昂贵的过程监督微调较小的LLM,常过度拟合单一求解器API。受可验证强化学习启发,本文提出可验证执行优化建模(EVOM),一种将数学规划求解器视为确定性交互验证器的执行验证学习框架。给定自然语言问题和目标求解器,EVOM生成求解器特定代码,执行于沙盒环境,并将执行结果转换为标量奖励,通过GRPO和DAPO在闭环生成-执行-反馈-更新过程中优化。仅输出结果的 formulation 去除了对过程级监督的需求,并通过切换验证环境而非重构求解器特定数据集实现跨求解器泛化。在NL4OPT、MAMO、IndustryOR和OptiBench上跨Gurobi、OR-Tools和COPT的实验表明,EVOM与过程监督SFT匹配或表现更优,支持零样本求解器迁移,并通过在目标求解器后端继续训练实现有效的低成本求解器适应。

英文摘要:

Automating optimization modeling with LLMs is a promising path toward scalable decision intelligence, but existing approaches either rely on agentic pipelines built on closed-source LLMs with high inference latency or fine-tune smaller LLMs using costly process supervision that often overfits to a single solver API. We study how reinforcement learning from inexpensive outcome labels can improve optimization modeling and support reuse across heterogeneous solver environments. To this end, we propose Optimization Modeling from Solver Outcomes (OMSO), which uses reinforcement learning (RL) with a mathematical programming solver as a deterministic, interactive environment. Given a natural-language problem and a target solver, OMSO generates solver-specific code, executes it in a sandboxed harness, and converts execution outcomes into scalar rewards in a closed-loop generate-execute-feedback-update process. This RL formulation learns optimization modeling without process-level supervision and supports cross-solver generalization by switching the solver environment rather than reconstructing solver-specific datasets. Experiments on NL4OPT, MAMO, IndustryOR, and OptiBench across Gurobi, OR-Tools, and COPT show that OMSO matches or outperforms process-supervised SFT, supports zero-shot training-free transfer, direct RL training, and SFT-cold-started RL, and improves modeling reasoning and semantic correctness beyond solver API usage.

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

↑