VeriLoop: Deterministic Evidence Gates and Path-Isolated Cross-Model Auditing for Autonomous Research — Shanglin Yang, Zhan Shi, Yi Fang, Yuhong Liu (Santa Clara University), arXiv:2611.38363, November 2026. Code MIT at github.com/shangliy/VeriLoop.
The failure this is aimed at
An autonomous research agent that writes code, runs experiments and drafts the report rarely fails by forgetting to save a file. It fails while exiting cleanly. Two real defects from the authors' own audited runs make the shape concrete:
a script divided segment residuals by the global sample size, silently corrupting every reported RMSE and AIC, and exited with status zero;
a report gave a monthly sales total as 720.591 where the sum of its own logged monthly values is 720.587.
Neither is caught by checking that the output files exist. The published rates for this class of defect are high: one audit of AI-generated papers reports a 21.2% claim-level fabrication rate with AI reviewers overlooking 86.2% of fabricated claims; an academic-integrity benchmark records a 34.2% failure rate across seven frontier models; and 44.6% of experiment fabrications rely on hardcoded or simulated components.
The obvious remedy — run a frontier model as auditor on every iteration — is expensive, and non-paired evaluations confound the reviewer's capability with drift in the run being reviewed.
The design: two layers, cheap one first
Layer 1 is three verifiers written against the Python standard library only. They cost nothing per run and finish in milliseconds.
Signed, unit-normalized numerical provenance. Every decimal in the output is indexed by magnitude and by explicit sign, with Unicode minus, ASCII hyphen intervals and fraction-to-percentage conversions normalized first, so a logged 0.65 matches a tabulated 65.0 or 65.0%. Four hard invariants:
SIGN_MISMATCH— a negative logged delta reported as positive;WRONG_LOG— numbers on a row that cites a log filename must appear inside that file;UNPAIRED_PM_CI— a reported mean±std, or a (lo, hi) pair, must co-occur on one logged line;UNTRACED— any decimal with up to three fractional digits that appears in no log under exact or unit-scaled rounding.
Static Python AST auditing, without executing the code. Six integrity patterns: hardcoded metric floats printed as literals; constant float lists or dicts assigned to metric variables; random or mock data generation inside an except block or a missing-data guard; conditionals that compare test accuracy or loss against a running best; metric functions defined and never called; optimistic tie-breaking in rank counts.
Citation and binding checks. BibTeX keys locally, and optionally against arXiv, Crossref and Semantic Scholar, to block fabricated or abstract-contradicting references; plus binding of logged values to the rendered document.
Layer 2 is a read-only cross-model auditor, path-isolated, with dual-model milestone gates. It inspects the raw files rather than the agent's own summary, and it only sees what Layer 1 passed.
What the numbers actually say
The benchmark is sixteen SHA-256 frozen workspaces, labelled 9 clean and 7 defective, with three repeats and majority vote, under one unified post-audit rule.
Layer 1 alone blocks 5 of the 7 defective workspaces — 71.4% — at zero cost, before any paid review runs.
Layer 1 plus the read-only auditor reaches 7 of 7 (100% recall) and 9 of 9 clean yield.
Hard-blocking on every Layer-1 provenance warning instead of cascading them into Layer 2 drops clean yield to 7 of 9 (77.8%): two clean workspaces are flagged because derived numbers were never printed to a log.
That last line is the trade-off the paper is really about. A provenance gate that blocks on anything untraced will stop honest work whose intermediate values were computed and not logged. Cascading the warning into a reader that can look at the files keeps the recall and the yield.
Two out-of-sample checks:
On twenty-one strictly unseen integrity-benchmark scenarios under a lock, the gates record zero AST false positives and a 0.69% number-level false-positive rate (all eighteen completed runs verified clean).
Applied at zero cost to seven published showcase papers from an AI-researcher system, the gates flag twenty-five unlogged or log-exceeding table metrics across three of them, with zero AST false positives across seventy-nine scripts.
Statistics are workspace-level Wilson 95% intervals over the sixteen independent workspaces, with majority vote across repeats, deliberately avoiding trial-level pseudo-replication.
The limitations, which are stated plainly
Five, in the authors' own words and worth repeating because they bound every number above:
Small, single-team annotation. Sixteen workspaces, only two of the defects natural rather than constructed, no blind non-author inter-rater reliability, one workspace relabelled post hoc, and underpowered workspace-level tests.
In-sample recall is not unseen recall. The locked rules were finalized with the sixteen workspaces visible. The unseen runs calibrate the false-positive rate, not recall — none of them contained a trap.
A newer tracer has shipped and is explicitly not claimed to reduce false positives until a fresh held-out benchmark exists.
Incomplete cells. One auditor configuration stopped at 5 of 48 trials against a quota cap, with 43 errors retained; a second CLI auditor was never run.
Workloads are CPU-only adversarial benchmarks, with a single live 42-run study on one consumer GPU; nothing distributed.
What is reusable here
The specific gates matter less than the ordering principle, which generalises to any pipeline where an agent reports its own results:
Make the free check mandatory and first. If a deterministic rule can refute a claim for nothing, a model should never be paid to consider it. Roughly five in seven of the defective runs here never needed a model at all.
Index by sign, not just magnitude. A sign flip is the cheapest fabrication to make and one of the hardest to spot by reading.
Require the number to be in the file the row cites, not merely somewhere in the logs. That turns a citation into a testable assertion.
Treat "untraced" as a question, not a verdict. Blocking on it costs two in nine honest runs; routing it to a reader that can open the files costs nothing measurable.
Give the auditor the raw artefacts and no write access, and keep it on a different model from the executor. Reading the agent's summary audits the summary.
Freeze the workspace before you judge it, so reviewer capability and execution drift are not confounded.
The sharpest framing is the paper's own premise, inverted: checking every machine-written report with another machine is backwards while a free script can refute most of the sloppy work first.