跳到正文
arXiv cs.AI· Yuvraj Sehgal, Sneh Patel, Mahsa Panahandeh, Naser Ezzati-Jivan·· 1 小时前AI 评分43

Below:在内核层面核验编码智能体的性能声明

Below the Stopwatch: Checking the Performance Claims of Coding Agents in the Kernel

AI 导读

研究人员提出内核级核验流水线 Below,用于检验编码智能体提交的性能优化 PR 是否真如其声明的原因起效。在 AIDev 数据集 1,343 个运行时性能 PR 中,57.3% 只有推理或无证据,仅 31.4% 给出效应大小;82 个被分析的 PR 里 32 个变快、28 个无明显变化、22 个变慢,仅 34 个 PR 出现声明机制对应的预期信号。

正文 · 原文

View PDF HTML (experimental)

Abstract:Coding agents open many pull requests (PRs) that claim to make software faster. Most such claims also give a reason, such as "cache the result" or "read the file once". A stopwatch can show that code got faster, but not that it got faster for the stated reason. We present Below, a pipeline that checks these reasons at the kernel level. From 1,343 runtime-performance PRs in the AIDev dataset, Below extracts the mechanism each PR claims and maps it to the kernel and hardware signals that must change if the claim is true. A build agent that never sees the claim rebuilds the code before and after each PR. Below then measures both versions with plain timing runs, hardware counters and LTTng kernel traces. Most claims are not measured: 57.3% of the PRs offer only reasoning or no evidence, and only 31.4% state an effect size. Of 82 analyzed PRs, 32 ran faster, 28 showed no clear change and 22 ran slower. The expected signal of the claimed mechanism appeared in 34 PRs (20 in kernel-trace signals alone), and 42 PRs also changed their output. Kernel signals move about 1.7 times as often for a faster PR's claimed mechanism as for mechanisms it did not claim; the instruction count barely separates them (1.15 times).
Comments: Short paper for the AGENT 2027 workshop at ICSE 2027. 5 pages, 2 figures, 4 tables
Subjects: Software Engineering (cs.SE); Artificial Intelligence (cs.AI); Performance (cs.PF)
Cite as: arXiv:2611.31460 [cs.SE]
  (or arXiv:2611.31460v1 [cs.SE] for this version)
  https://doi.org/10.48550/arXiv.2611.31460

arXiv-issued DOI via DataCite (pending registration)

Submission history

From: Yuvraj Sehgal [view email]
[v1] Mon, 23 Nov 2026 19:31:41 UTC (265 KB)

来源:arXiv cs.AI · arxiv.org