Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Amit, Noga, Goldwasser, Shafi, Paradise, Orr, Rothblum, Guy
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:https://arxiv.org/abs/2405.15722
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866914205939007488
author Amit, Noga
Goldwasser, Shafi
Paradise, Orr
Rothblum, Guy
author_facet Amit, Noga
Goldwasser, Shafi
Paradise, Orr
Rothblum, Guy
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2405_15722
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Models That Prove Their Own Correctness
Amit, Noga
Goldwasser, Shafi
Paradise, Orr
Rothblum, Guy
Machine Learning
Computational Complexity
Software Engineering
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.
title Models That Prove Their Own Correctness
topic Machine Learning
Computational Complexity
Software Engineering
url https://arxiv.org/abs/2405.15722