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

FormulaCode: 评估在大规模代码库上进行代理优化

FormulaCode: Evaluating Agentic Optimization on Large Codebases

The University of Texas at Austin(德克萨斯大学奥斯汀分校);California Institute of Technology(加州理工学院);Cornell University(康奈尔大学)

Atharva Sehgal, James Hou, Akanksha Sarkar, Ishaan Mantripragada, Swarat Chaudhuri, Jennifer J. Sun, Yisong Yue

AI总结:

FormulaCode是一个评估大型真实代码库上代理优化能力的基准,包含957个从科学Python仓库挖掘出的性能瓶颈,配以专家撰写的补丁和平均264.6个社区维护的性能工作负载,揭示了前沿LLM代理在多目标优化上的重大挑战。

摘要:

大型语言模型(LLM)编码代理越来越多地在仓库层面运作,这促使了评估其在现实约束下优化整个代码库能力的基准。现有代码基准大多依赖合成任务、二进制正确性信号或单目标评估,限制了其评估整体优化行为的能力。我们介绍了FormulaCode,这是一个评估在大规模真实代码库上进行代理优化的基准,包含从GitHub上科学Python仓库挖掘出的957个性能瓶颈,每个瓶颈配以专家撰写的补丁,并平均每个任务有264.6个社区维护的性能工作负载,使LLM代理能够在现实的正确性和性能约束下全面优化代码库的能力。我们的评估揭示了在仓库级、多目标优化上仍然是前沿LLM代理的主要挑战。项目网站:https://formula-code.github.io

英文摘要:

Large language model (LLM) coding agents increasingly operate at the repository level, motivating benchmarks that evaluate their ability to optimize entire codebases under realistic constraints. Existing code benchmarks largely rely on synthetic tasks, binary correctness signals, or single-objective evaluation, limiting their ability to assess holistic optimization behavior. We introduce FormulaCode, a benchmark for evaluating agentic optimization on large, real-world codebases with fine-grained, multi-objective performance metrics. FormulaCode comprises 957 performance bottlenecks mined from scientific Python repositories on GitHub, each paired with expert-authored patches and, on average, 264.6 community-maintained performance workloads per task, enabling the holistic ability of LLM agents to optimize codebases under realistic correctness and performance constraints. Our evaluations reveal that repository-scale, multi-objective optimization remains a major challenge for frontier LLM agents. Project website at: https://formula-code.github.io

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

↑