Models That Prove Their Own Correctness

Noga Amit, Shafi Goldwasser, Orr Paradise, Guy Rothblum
5/24/2024
13 citations
cs.LGcs.CCcs.SE

Official code: orrp/self-proving-models (13 stars, Python, MIT, last commit 2024-12-11).

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

MIT

Models That Prove Their Own Correctness

134Python, ShellJun 25, 20241 years agoMIT

Similar Papers

Cite this paper

@article{amit2024models,
  title  = {Models That Prove Their Own Correctness},
  author = {Noga Amit and Shafi Goldwasser and Orr Paradise and Guy Rothblum},
  year   = {2024},
  eprint = {2405.15722},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.15722v4}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2405.15722.svg)](https://codeofpaper.com/paper/2405.15722)

Discussion