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

当规范出现时:长期远 horizon 编码代理中忠实度损失的基准测试

When the Specification Emerges: Benchmarking Faithfulness Loss in Long-Horizon Coding Agents

Purdue University(普渡大学)

Lu Yan, Xuan Chen, Xiangyu Zhang

AI总结:

本文提出一个基准测试,研究在逐步披露目标设计时,编码代理中忠实度损失(SLUMP)的变化,通过20篇最新ML论文和371个可验证组件评估不同平台的实现忠实度。

摘要:

当前编码代理基准测试通常提前提供完整任务规范。真实研究编码往往并非如此:目标系统是通过交互逐步披露的,要求代理在长时间会话中跟踪持久的设计承诺。本文引入了一个针对此设置的基准测试,并研究了在逐步揭示的规范下忠实度损失(SLUMP),定义为相对于单次指定控制的最终实现忠实度的减少。该基准测试包含20篇最近的ML论文(10篇ICML 2025,10篇NeurIPS 2025),371个可验证的原子组件,以及大约60个逐步披露目标设计的交互脚本,而不会揭示论文本身。最终仓库使用五级组件忠实度评分表评分,并附带曝光审计以验证评分组件是否可从可见交互中恢复。在Claude Code和Codex上评估时,单次指定控制在16/20和14/20篇论文上实现了更高的整体实现忠实度。结构集成在两个平台上会降级,而语义忠实度损失在Claude Code上显著,在Codex上较小。作为缓解案例研究,我们引入了ProjectGuard,一个用于规范跟踪的外部项目状态层。在Claude Code上,ProjectGuard恢复了90%的忠实度差距,将完全忠实的组件从118增加到181,并将严重故障从72减少到49。这些结果将规范跟踪识别为长期远 horizon 编码代理的独立评估目标。

英文摘要:

Current coding-agent benchmarks usually pro- vide the full task specification upfront. Real research coding often does not: the intended system is progressively disclosed through in- teraction, requiring the agent to track durable design commitments across a long session. We introduce a benchmark for this setting and study faithfulne Ss Loss U nder eM ergent s Pecification (SLUMP), defined as the reduc- tion in final implementation faithfulness un- der emergent specification relative to a single- shot specification control. The benchmark con- tains 20 recent ML papers (10 ICML 2025, 10 NeurIPS 2025), 371 atomic verifiable compo- nents, and interaction scripts of approximately 60 coding requests that progressively disclose the target design without revealing the paper itself. Final repositories are scored with a five-level component-faithfulness rubric and accompanied by an exposure audit to verify that scored components are recoverable from the visible interaction. Evaluated on Claude Code and Codex, the single-shot specification control achieves higher overall implementation fidelity on 16/20 and 14/20 papers, respectively. Structural integration degrades under emergent specification on both platforms, while seman- tic faithfulness loss is substantial on Claude Code and small on Codex. As a mitigation case study, we introduce ProjectGuard, an exter- nal project-state layer for specification tracking. On Claude Code, ProjectGuard recovers 90% of the faithfulness gap, increases fully faith- ful components from 118 to 181, and reduces severe failures from 72 to 49. These results identify specification tracking as a distinct eval- uation target for long-horizon coding agents.

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

↑