LoopArena:将模型作为循环工程的运行时控制器进行基准测试
研究论文 · 2026/08/31
Loop Engineering 是一种围绕编码代理组织开发工作的新兴实践,通过设计循环来监控进度、分配工作、运行检查并决定代理的下一步行动。然而,即使使用强大的编码代理,循环也可能因信任过时的进度记录、跳过必要的验证、错误分配预算或过早停止而导致任务失败。为了评估循环控制的质量,我们提出了 LoopArena 基准,它评估一个模型(控制器)如何指导一个独立的固定编码代理(工人)完成长期任务。LoopArena 提供三种互补的设置:类型 I 通过执行验证的问题评估下一步循环契约的选择,无需运行工人;类型 II 在任务子集上执行重复控制;类型 III 评估完整任务。在完整任务上,最佳严格成功率为 24.69%,表明长期循环控制仍有很大改进空间。此外,估计推理成本平均降低 64.4%,且类型 II 与类型 III 的主要标准排序高度一致(Spearman's ρ=0.9747)。我们已发布基准数据和评估代码。
该论文提出了一个新颖的基准 LoopArena,用于评估模型作为循环控制器的能力,填补了现有评估方法的空白。其三种设置设计合理,提供了多层次的评估视角,且实验结果表明当前模型在长期循环控制上仍有显著提升空间,对 Loop Engineering 领域的研究和实践具有重要参考价值。
Loop Engineering is emerging as a practice for organizing development work around coding agents. Instead of writing each prompt by hand, practitioners design loops that monitor progress, assign work, run checks, and decide what the agent should do next. Even with a capable coding agent, a loop may trust a stale progress note, skip needed verification, spend its budget in the wrong direction, or stop before the task is safe to submit. Yet the final outcome of one end-to-end run cannot tell whether success or failure reflects the loop's guidance or the coding agent's ability to carry out the task. We introduce LoopArena, a benchmark for evaluating how well one model can guide a separate coding agent through a long-running task. The model under evaluation is the Controller: after each coding round, it receives a structured summary of the run and instructs a separate, fixed coding agent, the Worker, on what to do or verify next, or decides whether to stop. LoopArena evaluates this ability in three complementary settings that differ in execution scope and cost. Type I scores next-step Loop Contract selection through execution-validated questions without running the Worker at evaluation time. Type II executes repeated control over a selected slice of a full task, while Type III evaluates the paired full task from its original state. On full tasks, the best observed Strict Success Rate is 24.69\%, leaving substantial room for improvement in long-horizon loop control. Across Controllers, the paired reduction in estimated inference cost averages 64.4\%, and Type II produces a similar ordering under the main Core criterion (Spearman's \(ρ=0.9747\)). We release the benchmark data and evaluation code at https://github.com/AMAP-ML/LoopArena .