Search arXiv⌕ Search

arXiv · 2611.39561

PaperAnchor: Trust the Writing Agent, Recompute Its Numbers

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: https://scientistcrew.github.io/paperanchor/

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Thanh-Huy Nguyen, Ulas Bagci. 2026-12-02. PaperAnchor: Trust the Writing Agent, Recompute Its Numbers. https://searcharxiv.org/abs/2611.39561

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search arXiv by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

Settling the Reward Hypothesis

The reward hypothesis posits that, "all of what we mean by goals and purposes can be well thought of as maximization of the expected value of the cumulative sum of a received scalar signal (reward)." We aim to fully settle this hypothesis. This will not conclude with a simple affirmation or refutation, but rather specify completely the implicit requirements on goals and purposes under which the hypothesis holds.

cs.AI↗

Explainable Innovation Engine: Dual-Tree Agent-RAG with Methods-as-Nodes and Verifiable Write-Back

Retrieval-augmented generation (RAG) improves factual grounding, yet most systems rely on flat chunk retrieval and provide limited control over multi-step synthesis. We propose an Explainable Innovation Engine that upgrades the knowledge unit from text chunks to methods-as-nodes. The engine maintains a weighted method provenance tree for traceable derivations and a hierarchical clustering abstraction tree for efficient top-down navigation. At inference time, a strategy agent selects explicit synthesis operators (e.g., induction, deduction, analogy), composes new method nodes, and records an auditable trajectory. A verifier-scorer layer then prunes low-quality candidates and writes validated nodes back to support continual growth. Expert evaluation across six domains and multiple backbones shows consistent gains over a vanilla baseline, with the largest improvements on derivation-heavy settings, and ablations confirm the complementary roles of provenance backtracking and pruning. These results suggest a practical path toward controllable, explainable, and verifiable innovation in agentic RAG systems. Code is available at the project GitHub repository https://github.com/xiaolu-666113/Dual-Tree-Agent-RAG.

cs.AI↗

Strategic Algorithmic Monoculture: Experimental Evidence from Coordination Games

AI agents increasingly make high-stakes decisions in multi-agent environments where outcomes depend on coordination (e.g., hiring, pricing, and trading). We distinguish primary algorithmic monoculture---baseline action similarity---from strategic algorithmic monoculture, whereby agents adjust similarity in response to incentives. We design a simple experiment that cleanly separates these forces and deploy it on human and large-language-model (LLM) subjects. LLMs exhibit high levels of baseline similarity (primary monoculture) and, like humans, they regulate it in response to coordination incentives (strategic monoculture). While LLMs coordinate extremely well on the same action, they lag behind humans in sustaining heterogeneity when divergence is rewarded.

cs.AI↗