跳到正文
arXiv cs.AI· Thanh-Huy Nguyen, Ulas Bagci·· 3 天前AI 评分50

PaperAnchor:信任写作智能体,重算它写的数字

PaperAnchor: Trust the Writing Agent, Recompute Its Numbers

AI 导读

arXiv 论文提出 PaperAnchor,一种在编码智能体撰写论文时对每个数字进行校验的机制:智能体为每个数字附上从原始数据返回未舍入值的 Python recipe,由 Claude Code hook 在数字输入时立即重算。

正文 · 原文

View PDF HTML (experimental)

Abstract:In agentic science, coding agents act as AI scientists: they write research papers from their repositories and revise them under a large language model (LLM) reviewer, yet nothing in this loop checks that the numbers they type follow from the data. We introduce PaperAnchor, a check that runs at each edit. For every number it writes, the agent also writes a short recipe, a few lines of Python that return the unrounded value from the raw data, and a Claude Code hook reruns it as soon as the number is typed. To find where such a check belongs, we build AnchorBench, a testbed of recent arXiv papers, real repositories, hand-checked numbers, and papers seeded with errors that favor the paper's own method, and we compare five placements of a number check against no check and a placebo. When five numbers are wrong, LLM reviewers quote them in more than nine of ten reviews, yet lower their score by at most about 3 points out of 100. Offered as a tool to our main writer, the check leaves as many planted errors as no check, and how many remain varies by writer. Run by itself at the edit, as feedback, as a blocking gate, or by generating the number from its recipe, it removes every planted error, and feedback does so for writers of three sizes and for a writer instructed to keep its results favorable. A number check should recompute the value, and in our study it worked when it ran without being asked. We release PaperAnchor as a Claude Code plugin, a command-line tool, and a git pre-commit hook. Project website: this https URL
Subjects: Artificial Intelligence (cs.AI); Computation and Language (cs.CL); Multiagent Systems (cs.MA)
Cite as: arXiv:2611.39561 [cs.AI]
  (or arXiv:2611.39561v2 [cs.AI] for this version)
  https://doi.org/10.48550/arXiv.2611.39561

arXiv-issued DOI via DataCite

Submission history

From: Thanh-Huy Nguyen Mr. [view email]
[v1] Sun, 29 Nov 2026 11:25:13 UTC (307 KB)
[v2] Wed, 2 Dec 2026 03:47:16 UTC (307 KB)

来源:arXiv cs.AI · arxiv.org