跳到正文
arXiv cs.AI· Kosei Horikawa, Hao Li, Yutaro Kashiwa, Youssef Esseddiq Ouatiti, Mohammed Sayagh, Bram Adams, Hajimu Iida, Ahmed E. Hassan·· 13 小时前AI 评分38

无署名标识下如何检测 AI 编程智能体的提交

Agent or Human? Detecting Commits by AI Coding Agents in the Absence of Authorship Signatures

AI 导读

研究用 1,226 个仓库的 7,837,946 次提交检验:在遮蔽署名标识后,检测器区分 Agent 与 Human 提交的 ROC AUC 最高达 0.859,信号主要来自提交信息冗长度和变更规模而非代码本身。

正文 · 原文

View PDF HTML (experimental)

Abstract:AI coding agents such as Claude Code, GitHub Copilot coding agent, and Cursor now commit directly to open-source repositories. Empirical studies of these agents identify their commits through authorship signatures, such as bot accounts and Co-authored-by trailers. These signatures are optional, can be removed, and are often attached to pull requests rather than to individual commits. Hence, it is unclear whether Agent commits can be told apart from Human commits once the signatures are gone. We investigate the signals and limits of signature-free detection using 7,837,946 commits from 1,226 repositories, covering five coding agents and Human commits. After signatures are masked, detectors rank Agent commits above Human commits with a ROC AUC of up to 0.859, and most of this signal comes from message verbosity and change size rather than from the code itself. On the shared sample, gpt-6-sol without fine-tuning reaches AUCs similar to XGBoost and TF-IDF. At the observed Agent share, however, the best detector on the full test set reaches a precision of only 0.332. Detection transfers poorly to held-out Claude Code and Copilot, with TF-IDF reaching an AUC of only 0.524 for Claude Code. Temporal changes also depend on the agent, e.g., Copilot AUC drops and later recovers, while more training history helps Claude Code but not Copilot. These results indicate that signature-free detection can prioritize commits for review but cannot replace recorded attribution, and that studies relying on signature-based labels should treat them as a lower bound on agent activity.
Comments: 21 pages
Subjects: Software Engineering (cs.SE); Artificial Intelligence (cs.AI)
Cite as: arXiv:2610.36229 [cs.SE]
  (or arXiv:2610.36229v1 [cs.SE] for this version)
  https://doi.org/10.48550/arXiv.2610.36229

arXiv-issued DOI via DataCite (pending registration)

Submission history

From: Kosei Horikawa [view email]
[v1] Mon, 26 Oct 2026 20:08:18 UTC (834 KB)

来源:arXiv cs.AI · arxiv.org