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

代理 rubrics 作为 SWE 代理的上下文验证器

Agentic Rubrics as Contextual Verifiers for SWE Agents

Mohit Raghavendra, Anisha Gunjal, Bing Liu, Yunzhong He

AI总结:

代理 rubrics 通过上下文感知的检查清单提升 SWE 代理的验证效率与准确性。

摘要:

验证对于改进代理至关重要:它为强化学习提供奖励信号,并通过测试时间扩展(TTS)在推理时间带来收益。尽管其重要性,软件工程(SWE)代理设置中的验证往往依赖于代码执行,这由于环境设置开销难以扩展。可扩展的替代方案如补丁分类器和启发式方法存在,但它们在代码库上下文中较少扎根且难以解释。为此,我们探索了代理 rubrics:专家代理与仓库交互以创建一个基于上下文的 rubric 检查清单,然后候选补丁根据该清单进行评分,而无需执行测试。在 SWE-Bench 验证下并使用并行 TTS 评估,代理 rubrics 在 Qwen3-Coder-30B-A3B 上获得 54.2% 的分数,在 Qwen3-32B 上获得 40.6% 的分数,至少比我们比较集中的最强基线高出 3.5 个百分点。我们进一步分析 rubric 行为,显示 rubric 分数与地面真实测试一致,同时标记测试无法捕捉的问题。我们的消融研究显示,代理上下文收集对于生成代码库特定、无歧义的准则至关重要。共同,这些结果表明,代理 rubrics 为 SWE 代理提供了一种高效、可扩展且细粒度的验证信号。

英文摘要:

Verification is critical for improving agents: it provides the reward signal for Reinforcement Learning and enables inference-time gains through Test-Time Scaling (TTS). Despite its importance, verification in software engineering (SWE) agent settings often relies on code execution, which can be difficult to scale due to environment setup overhead. Scalable alternatives such as patch classifiers and heuristic methods exist, but they are less grounded in codebase context and harder to interpret. To this end, we explore Agentic Rubrics: an expert agent interacts with the repository to create a context-grounded rubric checklist, and candidate patches are then scored against it without requiring test execution. On SWE-Bench Verified under parallel TTS evaluation, Agentic Rubrics achieve a score of 54.2% on Qwen3-Coder-30B-A3B and 40.6% on Qwen3-32B, with at least a +3.5 percentage-point gain over the strongest baseline in our comparison set. We further analyze rubric behavior, showing that rubric scores are consistent with ground-truth tests while also flagging issues that tests do not capture. Our ablations show that agentic context gathering is essential for producing codebase-specific, unambiguous criteria. Together, these results suggest that Agentic Rubrics provide an efficient, scalable, and granular verification signal for SWE agents.

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

↑