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

ISO-Bench: 编码代理能否优化现实世界的推理工作负载?

ISO-Bench: Can Coding Agents Optimize Real-World Inference Workloads?

Ayush Nangia, Shikhar Mishra, Aman Gokrani, Paras Chopra

AI总结:

ISO-Bench通过结合硬指标和软指标评估编码代理在现实世界推理优化任务中的能力,发现无单一代理占优,且模型与支架均影响性能。

摘要:

我们介绍了ISO-Bench,一个用于测试编码代理在现实世界推理优化任务能力的基准。这些任务来自vLLM和SGLang,两个最流行的LLM服务框架。每个任务为代理提供一个代码库和瓶颈描述,其中代理必须生成一个优化补丁,并将其与专家人类解决方案进行评估。我们从合并的可测量性能改进的拉请请求中精选了54个任务。虽然现有基准重用运行时基于的指标,但这些方法可以被游戏化以通过测试而无法捕捉代码更改的实际意图。因此,我们结合了硬(执行基于)和软(LLM基于)指标,以证明两者对于完整评估都是必要的。在评估封闭源码和开源编码代理时,我们发现没有单一代理在所有代码库中占主导地位。令人惊讶的是,代理经常识别出正确的瓶颈,但却无法执行有效的解决方案。我们还显示,具有相同基础模型的代理差异显著,这表明支架(scaffolding)与模型一样重要。

英文摘要:

We introduce ISO-Bench, a benchmark for coding agents to test their capabilities on real-world inference optimization tasks. These tasks were taken from vLLM and SGLang, two of the most popular LLM serving frameworks. Each task provides an agent with a codebase and bottleneck description, whereby the agent must produce an optimization patch evaluated against expert human solutions. We curated 54 tasks from merged pull requests with measurable performance improvements. While existing benchmarks heavily use runtime-based metrics, such approaches can be gamed to pass tests without capturing the actual intent of the code changes. Therefore, we combine both hard (execution-based) and soft (LLM-based) metrics to show that both are necessary for complete evaluation. While evaluating both closed and open-source coding agents, we find no single agent dominates across codebases. Surprisingly, agents often identify correct bottlenecks but fail to execute working solutions. We also show that agents with identical underlying models differ substantially, suggesting scaffolding is as important as the model.

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

↑