TL;DR
This paper introduces Tacit Verification Apprenticeship (TVA), a framework designed to teach AI agents the "invisible" skills of expert scientists and mathematicians. Rather than just aiming for code that compiles or proofs that type-check, TVA enables agents to learn the "craft" of verification—such as choosing the right definitions, repairing failed scripts, and ensuring that a formal model actually matches the original scientific intent.
What Problem Does This Paper Address?
We are entering an era of "self-evolving" scientific agents—AIs that can write their own proofs, model checkers, and research workflows. However, these systems are currently brittle. The authors identify the Tacit Verification Bottleneck: the systematic loss of expert "craft" when informal ideas are converted into formal artifacts.
An AI might generate a proof in Lean or Coq that is syntactically correct (it passes the checker) but is semantically misaligned (it proves a trivial or incorrect version of the original claim). Current agents lack the "tacit knowledge" that human experts use to navigate libraries, decompose complex problems, and—most importantly—recognize when a "successful" result is actually a "provable-but-wrong" artifact.
Methods
The authors propose the TVA Architecture, a modular system with five key components:
- Formalization Apprenticeship Agent: Observes expert traces and attempts to decompose informal intent into checkable tasks.
- Proof/Validation Repair Memory: A "failure-first" database that stores not just what worked, but specifically what failed and how it was fixed.
- Tacit Skill Compiler: Abstracts repeated repair patterns into reusable, parametric skills (e.g., "add a monotonicity lemma before simplifying").
- Semantic Alignment Sentinel: A "committee" of checks (back-translation, example generation, domain invariant checks) that acts as a gatekeeper to ensure the formal code matches the informal goal.
- Domain Verification Apprentice: Specializes the process for specific fields like causality, finance, or bioinformatics.
Crucially, the system uses a Utility Model that rewards success and reuse while penalizing "brittleness" (solutions that break under minor changes) and "risk" (the cost of being wrong in a specific scientific domain).
Datasets
The paper evaluates the TVA design using several "probes":
- Curated Project Corpus: A collection of 1,406 records (987 deduplicated) extracted from literature on formal reasoning, autoformalization, and proof engineering.
- ApprenticeshipBench-SESA: A newly proposed benchmark design spanning six task families (e.g., semantic alignment, proof repair) across domains like math, causality, finance, and physics.
- Failure Matrix: A 26-case matrix of structured failures used to test how well an agent can retrieve the correct repair strategy for a new problem.
Key Insights and Ideas
- Negative Evidence is Gold: In TVA, a failed tactic or a rejected formalization isn't "clutter"—it's the primary training data. Agents learn what not to try by storing "failure signatures."
- Earned Transfer: A major risk in AI is "unsafe transfer"—applying a trick that worked in algebra to a problem in causal inference where it doesn't apply. TVA uses transfer gating to ensure a skill is only reused if the domain, oracle strength, and failure type match the original context.
- The Sentinel vs. The Oracle: A standard "oracle" (like a compiler) only tells you if the syntax is valid. The "Sentinel" asks if the result is faithful. It might veto a proof that passes the compiler if the formal statement omits a crucial hypothesis found in the informal text.
- Craft is Measurable: The authors show that different "literatures" (e.g., proof engineering vs. autoformalization) have distinct "craft signatures" that can be recovered and used to guide agent learning.
Key Results
- Craft Recoverability: A classifier was able to predict which sub-field a paper belonged to with 93% accuracy based purely on "craft" signals (like how they handle library navigation or proof repair).
- Retrieval Quality: Adding "process annotations" (the why behind a step) to the memory improved the agent's ability to find the right prior craft, reaching a Mean Reciprocal Rank (MRR) of 1.00 compared to 0.94 for title-only searches.
- Safe Repair: In the repair-memory experiments, adding domain context and transfer gates raised repair accuracy from 0.12 to 0.62 while eliminating "unsafe transfers" (incorrectly applying a fix) entirely.
- Sentinel Efficacy: In an executable demo, the Semantic Sentinel detected 100% of misalignments (cases where the code was "correct" but the math was wrong), whereas a standard syntax-only baseline missed all of them.
Limitations and Future Work
The authors acknowledge that their current experiments are "design probes" on existing literature and structured simulations, rather than live training runs on a system like LeanDojo.
Future directions include: * Instantiating the TVA schema on massive real-world logs (like the mathlib version history). * Connecting the "Sentinel" to more powerful automated theorem provers (ATP) and SMT solvers. * Solving the "Open Problem" of how to measure semantic faithfulness when no ground-truth formalization exists. * Developing better governance policies for "quarantining" learned skills when a library update makes them obsolete.
Summary updated