VeriLoop

Autonomous research, verified down to the byte.

A full-stack, zero-dependency research engine spanning arXiv LaTeX-to-AST ingest, Docker GPU sandboxes, Level-1 & Level-2 research orchestration, live web cockpits, and byte-traced LaTeX binding — plus a drop-in forensic auditor for any existing AI research agent.

Python 3.10+ stdlib · 90+ Skills · MIT License · Linux + macOS 68/68 CI · By Shanglin Yang, Zhan Shi, Yi Fang & Yuhong Liu

01 · Interactive Provenance Index Card

Paper surface vs. cryptographic Audit X-Ray.

Flip between the compiled ICML table a reviewer reads and the live machine-provenance layer underneath — or inspect a real unlogged failure caught in an external AI-Researcher PDF.

HUMAN VIEW · COMPILED ICML PDF (gnn_study.pdf)

Every printed number compiles directly from disk logs.

In our 60-run GNN study, VeriLoop detected 8-layer GCNII collapse under uniform weight decay (0.2868), executed a split-decay recovery run, and bound the verified result directly into LaTeX macros.

Experiment RowPrinted MetricAudit Status
M1 · 2-Layer GCN (Baseline)0.8184 ± .0038TRACED
M4 · 8-Layer GCNII (Uniform WD)0.2868 ± .0054TRACED
M4b · 8-Layer GCNII (Split-WD Fix)0.8266 ± .0045SHA-256 BOUND
AUDIT X-RAY · MACHINE PROVENANCE PASS · 129/129 TRACED
<macro name="\valCoraGCNIISplitWD">
  printed_pdf: "0.8266 ± 0.0045"
  source_log:  examples/gpu-gnn-cora-citeseer/metrics.csv:48
  manifest:    sha256:9f3a81e2c04d7b19...8c2a
  arxiv_ast:   49 equation <-> code alignments (3 papers)
  ast_gate:    0 HIGH defects (0.0% FPR)
  pdf_audit:   129 / 129 expanded decimals verified (0 warn)
$ ./veriloop audit-pdf examples/gpu-gnn-cora-citeseer/paper/gnn_study.pdf Layer-1 cost: $0.00

02 · Full-Stack Platform Architecture

Six zero-dependency engines, one crash-resumable CLI.

Built to run real autonomous research at scale on local GPUs or Docker containers — pure Python 3.10+ stdlib that plugs straight into Claude Code, Codex CLI, Gemini CLI, or any LLM backend.

Hand-drawn Looseleaf architecture sheet showing Level-1 and Level-2 entry, arXiv-to-AST Ingest, Docker/Local GPU Sandbox, Log-to-LaTeX Binding, Dual-Layer Hard Gate with rc=2 repair loop, and Verified Release.
Architecture Sheet · VeriLoop v5 end-to-end closed loop. Both Level-1 (--idea --repo) and Level-2 (--papers) workflows execute through the same checkpointed pipeline, routing AST defects, citation issues, or unlogged decimals into an automatic rc=2 repair cycle.
./veriloop ingest

arXiv LaTeX ↔ Python AST Map

Downloads raw arXiv e-print tarballs, extracts equations, hyperparameters, and official repos, and statically maps paper equations to local Python AST file:line symbols with an unmatched watchlist.

./veriloop sandbox

Isolated Local & Docker GPU Runs

Executes multi-seed training locally or inside docker/Dockerfile.gpu with :ro data mounts, network isolation, NaN/OOM watchdogs, and SHA-256 run manifests.

./veriloop research --level 1|2

Crash-Resumable Orchestrator

Drives a 7-stage research loop with checkpointed state.json recovery, pre-registered falsifiable claim ledgers (G1–G7), and 90+ modular research lifecycle skills.

./veriloop bind

Zero-Transcription LaTeX Engine

Parses TensorBoard .tfevents, W&B, CSV, and JSONL logs directly in stdlib to emit deterministic \newcommand macros, Booktabs tables, and Okabe-Ito vector PDFs.

./veriloop gate & audit-pdf

Dual-Layer Hard Blocking Gate

Combines $0 static AST hygiene, signed numerical tracing, and live arXiv/Crossref/S2 citation checks with path-isolated cross-model auditing (rc=2 hard block on defect).

./veriloop studio & compare-bench

Web Cockpit & External Auditor

Ships a zero-dep SSE web studio, split-pane Paper↔Log audit UI, and a one-command forensic auditor (compare-bench) that grades third-party research agents at $0 cost.

03 · Interactive Local Web Cockpits

VeriLoop Studio & Split-Pane Audit Workbench.

Zero-dependency local web apps exported straight from workspace artifacts. Open either live interactive snapshot below (captured from our 42-run RTX 3060 Ti study).

VeriLoop Studio web cockpit showing 7-stage progress, hard-gate metrics, claims ledger, and auto-bound 95% CI table.

VeriLoop Studio (./veriloop studio)

Live 7-stage SSE pipeline monitor, Level-1/2 form launcher, hard-gate telemetry (PASSED rc=0, 195/195 traced, 4/4 claims), and auto-bound 95% CI tables.

VeriLoop split-pane review workbench showing compiled manuscript text on the left and SHA-256 verified log line on the right.

Split-Pane Audit Workbench (./veriloop review-ui)

Click any decimal or \cite{} key in the manuscript on the left to jump straight to its SHA-256 verified log:line, AST report, or online abstract on the right.

04 · Multi-Domain Hardware Validation

115 local RTX 3060 Ti runs across CV, GNN & RecSys.

Every study below ran end-to-end on a single consumer NVIDIA RTX 3060 Ti, compiled into standalone ICML-style PDFs via ./veriloop bind, and passed 100.0% expanded-PDF decimal auditing with 0 warnings.

Domain Compiled PDF & Workspace GPU Runs arXiv ↔ AST Closed-Loop Discovery & Verified Recovery Expanded PDF Trace
Computer Vision
CIFAR-10 & F-MNIST
overnight_study.pdf
gpu-overnight-research/
42
(92.5 min)
5 eqs
(1706.04599)
M7_SEResNet_Full reaches 0.9193±0.0004 (+14.06 pp); validation temperature scaling restores LS/Mixup ECE to 0.0061–0.0120. 195/195
(100.0%)
Graph Neural Nets
Cora & CiteSeer
gnn_study.pdf
gpu-gnn-cora-citeseer/
60
(295.8 s)
49 eqs
(3 papers)
Diagnosed 8-layer GCNII uniform-WD collapse (0.2868) and recovered with split decay (M4b_GCNII_SplitWD) to 0.8266±0.0045 (Cora) / 0.7108±0.0112 (CiteSeer). 129/129
(100.0%)
Recommender Sys.
MovieLens-100K
recsys_study.pdf
gpu-recsys-movielens/
13
(1645.2 s)
26 eqs
(2 papers)
Diagnosed over-weighted R3_SimGCL collapse (0.0298); balanced InfoNCE in R3b_SimGCL_Tuned beats every baseline at Recall@20=0.2061±0.0006 / NDCG@20=0.0855±0.0002. 92/92
(100.0%)

05 · Drop-In Third-Party Audit Benchmark

Head-to-head PDF audit: VeriLoop v5 vs. HKUDS/AI-Researcher.

Reproducible in one command (./veriloop compare-bench --fetch-ai-researcher, $0 API cost). Identical deterministic auditors ran across VeriLoop v5's 3 real-GPU PDFs and all 7 official published HKUDS/AI-Researcher/examples/* PDFs, fairly indexing every committed .log, .txt, .csv, and .json file under project/.

Hand-drawn Looseleaf bar chart comparing VeriLoop v5 (100.0% trace, 100.0% AST clean, 100.0% BibTeX, 100.0% governance) against HKUDS/AI-Researcher (82.6% trace, 100.0% AST clean, 0.0% BibTeX, 0.0% governance).
System PDFs (Logs) Expanded PDF Trace Forensic Unlogged Metrics AST HIGH BibTeX Gate Governance Mean Audit
VeriLoop v5 (CV + GNN + RecSys) 3 (3) 416 / 416 (100.0%) 0 0 100.0% 100.0% 283 ms
HKUDS/AI-Researcher (7 Official Showcases) 7 (7) 152 / 184 (82.6%) 25 (+7 meta) 0 (79 py) 0.0% 0.0% 348 ms
Row-by-row forensic evidence (ai_researcher_forensic_audit.csv): Of 32 untraced decimals across 3 AI-Researcher PDFs, 7 are benign metadata and 25 are unlogged or log-exceeding table metrics: dccf (20 metrics: prints Recall@40 up to 0.1226 vs max 0.0693 across all 12 logs), rotation_vq (3 metrics: 0.0077 absent from all 12 log/JSON files), and con_flowmatching (2 final losses while all five project/experiments/logs/*.log files are 0 bytes).

06 · Companion Research Paper — Core Scientific Contributions

The paper focuses strictly on four falsifiable contributions.

While the repository above ships the full v5 engineering platform, our companion ICML/arXiv manuscript isolates and evaluates the core verification methodology under zero-override SHA-256 locks.

VeriLoop: Deterministic Evidence Gates and Path-Isolated Cross-Model Auditing for Autonomous Research

Shanglin Yang  ·  Zhan Shi  ·  Yi Fang  ·  Yuhong Liu  ·  Preprint & ICML 8-Page Double-Blind Format (2026)

Contribution 01 · Dual-Layer Governance Stack

Decoupling Stochastic Exploration from Deterministic Verification

Formalizes a stdlib-only Layer-1 core (cryptographic claim hashes, signed numerical provenance, Python AST hygiene, log-to-LaTeX binding) cascaded with path-isolated Layer-2 cross-model auditing to eliminate circular self-review.

Contribution 02 · Non-Circular Frozen Benchmark

16 SHA-256 Frozen Workspaces & 245 Paired Audit Trials

Evaluates single layers and cascades on identical immutable artifacts against independent file:line ground truth — quantifying the exact yield-vs-recall trade-off between strict hard blocking (77.8% clean yield, 100% recall) and Layer-1→Layer-2 diagnostic cascading.

Contribution 03 · Out-of-Sample Calibration

Blind Test on 21 Strictly Unseen SciIntegrity-Bench Scenarios

Locks v2 gate scripts by SHA-256 prior to execution, measuring 0/18 (0.0%) AST FPR and 2/289 (0.69%) number-level FPR across verified-clean unseen runs ($0.3187 total spend) while honestly reporting unmeasured out-of-sample recall.

Contribution 04 · External Forensic & Self-Audited Release

Third-Party Agent Audit & Zero-Override Manuscript

Applies locked gates externally at $0 cost to 7 official AI-Researcher showcases (flagging 25 unlogged table metrics, 0/79 AST FPs) and releases a companion manuscript self-audited at 211/211 traced decimals and 25/25 verified citations.

Frozen Paired Benchmark (n = 245 Valid Trials, k = 3) Framing n Trial Prec. Trial Recall Trial F1 Trial FPR Clean Yield
layer1_mechanical ($0 deterministic pre-filter) deterministic 16 71.4% 71.4% 71.4% 22.2% 77.8%
claude-sonnet path_only 48 100.0% 85.7% 92.3% 0.0% 100.0%
claude-haiku path_only 48 91.3% 100.0% 95.5% 7.4% 92.6%
codex-cli path_only 48 100.0% 100.0% 100.0% 0.0% 100.0%
VeriLoop (L1 ∪ codex-cli, strict hard union) path_only 48 77.8% 100.0% 87.5% 22.2% 77.8%

07 · Reproduction & Deployment

Quick Start

Clone and run immediately — zero pip installs required for the verification, ingest, log-binding, and Studio server core.

git clone https://github.com/shangliy/VeriLoop.git
cd VeriLoop

# Run all 63 core verification & integration tests ($0)
./veriloop test

# 10-second closed-loop walkthrough (Round 1 block -> Round 2 repair -> board)
./veriloop demo

# Reproduce v2 frozen zero-override tables and self-audit the companion paper
./veriloop eval-v2 summary
./veriloop audit-paper

08 · Release Notes

Changelog

v5.0
Full-Stack Platform & External Audit. Shipped ingest, sandbox (Docker GPU), research (Level-1/2), studio, and compare-bench; expanded RTX 3060 Ti proof to 115 runs across 3 compiled PDFs and audited 7 official AI-Researcher showcases.
v4.0
Zero-Transcription Paper-Bind & PDF Audit. Added stdlib TensorBoard/W&B/CSV binder, live arXiv/Crossref/S2 citation gates, split-pane review-ui, and the 42-run CV GPU study.
v2.0 – v3.0
Frozen Benchmark & Companion Paper. Released 16 SHA-256 frozen workspaces (245 paired trials), 21 unseen blind scenarios, dual-model milestone gates, and CC BY 4.0 bestpaper-writing lint integration.

09 · Attribution & BibTeX

Cite VeriLoop

MIT-licensed core extending MIT-licensed upstream ARIS workflows (arXiv:2605.03042) and integrating CC BY 4.0 Best-Paper-Writing-Skill.

@article{yang2026veriloop,
  title={{VeriLoop}: Deterministic Evidence Gates and Path-Isolated Cross-Model Auditing for Autonomous Research},
  author={Yang, Shanglin and Shi, Zhan and Fang, Yi and Liu, Yuhong},
  year={2026},
  note={Preprint},
  url={https://github.com/shangliy/VeriLoop}
}

@article{yang2026aris,
  title={{ARIS}: Autonomous Research via Adversarial Multi-Agent Collaboration},
  author={Yang, Ruofeng and Li, Yongcan and Li, Shuai},
  journal={arXiv preprint arXiv:2605.03042},
  year={2026},
  url={https://arxiv.org/abs/2605.03042}
}