Models That Prove Their Own Correctness
Noga Amit, Shafi Goldwasser, Orr Paradise, Guy Rothblum
TL;DR
This work defines Self-Proving models that output an answer and simultaneously prove its correctness to a fixed verifier via an interactive proof, enabling input-specific trust guarantees. It develops two learning paradigms, Transcript Learning (TL) and Reinforcement Learning from Verifier Feedback (RLVF), with gradient formulations and (in TL) convergence guarantees under standard assumptions. Empirical validation on a GCD task shows substantial verifiability gains: TL yields moderate improvements, RLVF boosts performance further, and annotated transcripts push verifiability up to near-perfect levels. The framework integrates interactive proof theory with learnable models to enable verifiable, per-input correctness in domains where formal proofs are feasible, signaling a path toward trustworthy AI systems with formal guarantees.
Abstract
How can we trust the correctness of a learned model on a particular input of interest? Model accuracy is typically measured on average over a distribution of inputs, giving no guarantee for any fixed input. This paper proposes a theoretically-founded solution to this problem: to train Self-Proving models that prove the correctness of their output to a verification algorithm $V$ via an Interactive Proof. Self-Proving models satisfy that, with high probability over an input sampled from a given distribution, the model generates a correct output and successfully proves its correctness to $V$. The soundness property of $V$ guarantees that, for every input, no model can convince $V$ of the correctness of an incorrect output. Thus, a Self-Proving model proves correctness of most of its outputs, while all incorrect outputs (of any model) are detected by $V$. We devise and analyze two generic methods for learning Self-Proving models: Transcript Learning (TL) which relies on access to transcripts of accepting interactions, and Reinforcement Learning from Verifier Feedback (RLVF) which trains a model by emulating interactions with the verifier.
