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

DecompGym:针对分解算法设计的大语言模型智能体基准测试

DecompGym: Benchmarking LLM Agents on Designing Decomposition Algorithms

Sikai Cheng, Tinghan Ye, Arnaud Deza, Xiaonan Qi, Miao Li, Litong Liu, Changkun Guan

AI总结:

本研究推出DecompGym基准,评估12种大语言模型编码智能体设计Benders分解与列生成算法的能力,发现反思法比重新生成更有效,为分解智能体需过程检查与错误定位反馈提供依据。

摘要:

Benders分解和列生成算法通过在主问题与子问题之间传递割平面、列和对偶值来求解大型优化问题,但正确实现难度较大。如今大语言模型可实现部分算法设计自动化,这为构建针对新问题的分解求解器的智能体指明了方向。作为迈向此类智能体的第一步,本研究探讨当前编码智能体设计与实现这两种算法的能力及失败模式。我们推出DecompGym,包含9个问题族的81个实例(5个Benders问题、4个列生成问题),要求智能体为指定方法编写求解器,每个求解器需满足三个标准:在60秒时间限制内执行;数值可行性且通过大语言模型评判器对求解器代码的方法审计;目标值在存储最优目标值的1%以内。我们评估了12种在编码智能体工具中运行的GPT、Claude和Gemini模型,在最多10次尝试中对比独立重新生成与先诊断失败的反思方法。首次尝试时,2种模型解决了所有实例,7种解决了90%以上实例;62次Benders失败中48次为解缺失或次优,列生成最常见失败是方法审计被拒绝;仅输出检查会接受108次未通过方法审计尝试中的93次,最常见拒绝为optimalif,共出现96次,其中92次来自某模型。反思方法将66%的重试转为成功,而重新生成仅为39%,且可修复方法审计失败(评判器会指出缺陷间隙)。因此,分解智能体需对求解器得出答案的过程进行检查,以及定位错误的反馈。该基准可在指定网址获取。

英文摘要:

Benders decomposition and column generation solve large optimization problems by passing cuts, columns, and dual values between a master problem and subproblems, and are hard to implement correctly. Large language models now automate parts of algorithm design, which points toward agents that build decomposition solvers for new problems. As a first step toward such agents, we study how well current coding agents design and implement these two algorithms, and how they fail. We introduce DecompGym, 81 instances from nine problem families (five Benders, four column generation), in which an agent writes a solver for a prescribed method. Each solver must meet three criteria: execution within a 60-second time limit; numerical feasibility together with a method audit, in which an LLM judge reads the solver's code; and an objective within 1% of the stored optimal objective. We evaluate 12 GPT, Claude, and Gemini models running in coding-agent tools. Over up to ten attempts, we compare independent regeneration with reflection, which first diagnoses the failure. On the first attempt, two models solve every instance and seven solve more than 90%. Most Benders failures (48 of 62) are missing or suboptimal solutions. The most common column-generation failure is a method-audit rejection. Output checks alone would accept 93 of the 108 attempts that fail the method audit. The most common rejection, an optimalif, occurs 96 times, 92 of them in one model.Reflection turns 66% of retries into successes, compared with 39% for regeneration, and it repairs method-audit failures, for which the judge names the defecective gaps. Agents for decomposition therefore need checks on how a solver reaches its answer and feedback that locates the error. The benchmark is available at https://github.com/SIKAI-C/DecompGym.

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

↑