对抗式评审:三个智能体胜过五个

elvis · @omarsar0 · X·2026-08-24 05:00·17小时前
AI 导读

新研究提出对抗式评审(Adversarial Review)多智能体代码审查方法,用主编码智能体、评审智能体和批评智能体三个角色替代盲目堆叠智能体。在LiveCodeBench上,三智能体方案超越五智能体基线;在SWE-PRBench上,显式要求分歧可恢复最高F1分数,而合作式评审仅在分歧小且有证据支撑时有效。

elvis@omarsar0
37AI 编辑部评分,满分 100

对抗式评审:三个智能体胜过五个

2026-08-24 05:00· 17小时前
AI 导读

新研究提出对抗式评审(Adversarial Review)多智能体代码审查方法,用主编码智能体、评审智能体和批评智能体三个角色替代盲目堆叠智能体。在LiveCodeBench上,三智能体方案超越五智能体基线;在SWE-PRBench上,显式要求分歧可恢复最高F1分数,而合作式评审仅在分歧小且有证据支撑时有效。

Great paper on multi-agent systems for code review.

It's challenging to know how many coding agents to use to address a problem.

The default fix for weak agentic code review is more agents. In turns out that scaling agents to a large number gives diminishing returns on repository-level tasks.

This new work tries structured conflict instead. Adversarial Review runs three agents. A main coding agent writes, a reviewer evaluates, and a critic audits the review before any edit are done.

On LiveCodeBench it beats a five-agent baseline while using three agents.

On SWE-PRBench the naive version exposed a failure mode. The agents converged on agreement without enough evidence behind it. Making disagreement an explicit instruction recovered the highest F1 among tested methods.

They also find that cooperative review works when the disagreement is minimal, structured, and grounded in evidence.

Paper: https://arxiv.org/abs/2608.18167

Track more trending AI papers in our academy: https://academy.dair.ai/