SWE-Marathon: 智能体能否自主完成超长时程软件工作?
SWE-Marathon: Can Agents Autonomously Complete Ultra-Long-Horizon Software Work?
AI总结:
提出SWE-Marathon基准,包含20个超长时程任务,平均消耗2720万token,评估智能体在规划、长上下文理解和记忆方面的能力,当前前沿编码智能体解决率低于30%。
摘要:
AI智能体越来越被期望完成需要持续数小时、数百万token和复杂环境的长时程工作流。然而,当前的智能体基准主要评估短时任务,例如单个拉取请求、小票或5-10分钟的练习,限制了我们在规划、长上下文理解和记忆使用方面衡量智能体能力的能力。我们引入了SWE-Marathon,一个包含20个长时程任务的基准,涵盖软件工程和相邻技术领域。每个任务包括一个独特的可执行环境、一个人工编写的参考解决方案和一个多层验证套件。记录的智能体尝试平均消耗2720万总token,使得SWE-Marathon比现有的SWE和命令行智能体基准的时程显著更长。当前前沿编码智能体解决了不到30%的任务。失败通常源于自我验证不足、自我报告不可行以及过早终止。我们还在13.8%的滚动中观察到奖励黑客行为,其中智能体试图利用环境或验证器绕过预期工作流。SWE-Marathon包括对测试套件和执行环境的对抗性审查,以及旨在防止捷径解决方案的多层检查。我们在https://swe-marathon.org/上发布SWE-Marathon、评估代码和智能体轨迹。
英文摘要:
AI agents are increasingly expected to complete long-horizon workflows that require sustained progress over hours, millions of tokens, and complex environments. Yet current agent benchmarks largely evaluate short-form tasks, such as single pull requests, small tickets, or 5-10 minute exercises, limiting our ability to measure agents' capabilities in planning, long-context understanding, and memory use. We introduce SWE-Marathon, a benchmark of 20 long-horizon tasks spanning software engineering and adjacent technical domains. Each task consists of a unique executable environment, a human-written reference solution, and a multi-layer verification suite. Logged agent attempts average 27.2M total tokens, making SWE-Marathon substantially longer-horizon than existing SWE and command-line agent benchmarks. Current frontier coding agents solve fewer than 30% of tasks. Failures often arise from poor self-verification, self-reported infeasibility, and premature termination. We also observe reward-hacking behavior in 13.8% of rollouts, where agents attempt to exploit the environment or verifier to bypass the intended workflow. SWE-Marathon includes adversarial review of test suites and execution environments, as well as multi-layer checks designed to prevent shortcut solutions. We release SWE-Marathon, evaluation code, and agent trajectories at https://swe-marathon.org/.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。