研究揭示编码智能体的编辑依赖失配:补丁通过 SWE-bench 却仍留缺陷
Edit-Induced Dependency Mismatch: Propagation Omissions, Recovery, and Evaluation Blind Spots in Coding Agents
改代码时智能体常忘了同步依赖它的下游代码,补丁照样能过 SWE-bench Verified 这类评测。作者用 deepseek-v4-flash 在 DeepSWE 上的轨迹做了盲测审计,还验证了一个依赖复查提示词能减少遗漏。做智能体评测和编码工具的人该看看,别只信任务分数。
一篇 arXiv 论文研究了编码智能体在迭代改代码时的 Edit-Induced Dependency Mismatch:智能体在后续推理中继续依赖仍留在上下文里的过时依赖判断,导致消费者端缺陷。
作者基于 deepseek-v4-flash 在 DeepSWE 和 SWE-bench Verified 上的真实执行轨迹,辅以 Qwen3.8-Flash 在 FeatureBench 的案例,对 DeepSWE 全语料做了盲测人工审计,发现同一轨迹内可以既有恢复也有终端遗漏。
机制分析把轨迹中呈现相关消费者代码与显式依赖判断、同步动作关联起来;在实验条件下,一个显式依赖复查提示词能降低终端遗漏,支持编辑后重新推导消费者义务。
跨基准执行反例显示原任务评测并不能完整发现这类失配:补丁通过评测后,额外执行检查仍确认已有消费者路径上存在非预期缺陷。论文据此建议把任务得分、终端传播状态与恢复情况分开度量。
Edit-Induced Dependency Mismatch: Propagation Omissions, Recovery, and Evaluation Blind Spots in Coding Agents
During iterative code modification, coding agents may continue to rely in subsequent reasoning on outdated dependency judgments whose text remains fixed in the context, leading to errors in subsequent reasoning and leaving consumer defects undetected by the original task evaluations, thereby exposing blind spots in the tested benchmarks. We study actual agent execution trajectories collected on benchmark tasks: deepseek-v4-flash runs on DeepSWE and SWE-bench Verified, supplemented by Qwen3.8-Flash cases on FeatureBench. Focusing on edit-induced consumer obligations, a full-corpus blinded human audit of the DeepSWE runs identifies terminal mismatches, including diagnoses whose task scope remains disputed. Following supplementary execution checks, all retained DeepSWE terminal events have execution support. The audit also shows that recovery within a trajectory can coexist with terminal omissions in the same run. The process analysis links the presentation of relevant consumer code to explicit dependency judgments and subsequent synchronization actions recorded in the trajectories. An explicit dependency-review prompt reduces terminal omissions under the tested conditions, supporting re-derivation of consumer obligations after edits. Local replays of selected DeepSWE cases show that synchronizing the diagnosed consumers restores the target behavior while the listed controls continue to pass. Cross-benchmark execution counterexamples show that the original task evaluations do not fully detect edit-induced dependency mismatches: patches pass those evaluations, yet additional execution checks confirm unintended defects along existing consumer paths. These findings support measuring task scores, terminal propagation states, and recovery separately.
本条情报归属 AITOP「论文」核心追踪栏目。在跨区域产业观察坐标中,该动态直接关联「AI 开发者工具链、Coding Agent 与工程化实践」研究主线,反映出当前技术演进与商业落地的最新风向。涉及核心实体与技术议题包括:DeepSWE、SWE-bench Verified、deepseek-v4-flash、编码智能体,读者可通过下方标签进入对应专题页查阅历史脉络与关联对比。
信源核验说明:本文原始信息发布自一手权威信源「arXiv: DeepSeek」(Tier-1 一手发布),具备高确定性参考价值。