Neural interactive proofsNeural Interactive Proofs
The authors propose neural interactive proof protocols and compare theory and experiments, claiming that on code verification, nip and mnip improve accuracy by about 11%.
- LLM outputs are hard to trust, and traditional verification is hard to scale to the strongest systems. The authors study how a computationally limited but trusted verifier can learn to interact with a stronger untrusted prover to verifiably solve decision problems.
- The interaction is formulated as a generalized prover-verifier game, so that approximate Stackelberg equilibria correspond to valid proof systems. nip, mnip, and zero-knowledge variants handle single prover, multiple provers, and information leakage, respectively. Experiments train with PPO and expert iteration.
- On graph isomorphism, the author says nip is favorable, and no improvement was seen for other protocols. On code verification, each protocol improved relative to a standalone verifier, with nip and mnip improving accuracy by about 11%; stabilized expert iteration improved the worst case for each protocol, especially debate.
- The authors note that training did not use the Section 4 methods or RL, only two domains were evaluated, and not all protocol variants were evaluated. Experiments include graph isomorphism and APPS-derived code verification; the main text does not give exact accuracies for each protocol, nor does it report zk-mnip experimental numbers.
- Threat model
- A trusted but computationally limited verifier and a stronger but untrusted prover exchange messages in a prover-verifier game to decide whether x belongs to S. The verifier has labeled data and cannot solve the problem alone; any prover can solve it. The goal is completeness and soundness (εc+εs<1).
- Evaluated models
- GPT-4oGPT-4o-minigraph neural network (GNN) and transformer body
- Benchmarks
- graph isomorphism(Erdős-Rényi合成图)APPS衍生的代码验证集
- Metrics
- test accuracyalways-incorrect rate(每点10次rollout)precisionrecall
The paper proposes neural interactive proofs, studying how a computationally limited trusted verifier can interact with one or more powerful but untrusted provers to accomplish tasks. The authors give a unified framework using prover-verifier games, encompassing several previously proposed interactive protocols, and describe new protocols for generating neural interactive proofs, with theoretical comparisons between old and new methods. Experiments cover two domains: a toy graph isomorphism problem for illustrating core ideas, and code verification tasks using large language models. The authors state that this work aims to lay the foundation for future research on neural interactive proofs and their application to building safer AI systems.
Paper analysis
What problem does this paper attempt to solve?
A trusted but computationally limited verifier must learn to interact with a stronger untrusted prover to verifiably decide inputs.
How to make a computationally limited but trusted verifier learn to interact with a stronger, untrusted prover, thereby verifiably solving a given decision problem.
- Scenario: The authors believe LLM outputs are hard to trust, limiting high-stakes use; traditional verification does not scale to today's strongest systems (Section 1). Interactive proofs allow a limited but trusted verifier to leverage a stronger but untrusted prover, with limits on the opportunity to be misled.
- Existing shortcomings: The authors believe the protocol of Anil et al. (2021) yields proof systems of limited formal strength and is only used on small models; Irving et al. (2018) and Wäldchen et al. (2024) are theoretically stronger but only used on very simple problems. Recent language model work either does not train according to a protocol, trains only the Anil protocol, or is limited to question answering.
- Assumption: Inspired by Gowal et al. (2019), the authors believe that if a verifier can learn a protocol, such ideas can scale better to real machine learning systems (Section 1.3).
- This paper proposes: a unified prover-verifier game framework, new protocols including zero-knowledge variants, theoretical comparisons of old and new protocols, and experiments on graph isomorphism and code verification.
- Threat model:
- Task: Input x comes from distribution P, and the verifier ultimately outputs whether x belongs to the positive set S, compared against the true label. Example 1 is whether a specification and code match.
- Asymmetry: The verifier is computationally limited but trusted, and cannot solve the problem alone; any prover can solve it. The two parties' objectives are not fully aligned (Definition 6).
- Interaction: Messages are exchanged according to the messaging game's channels and rounds; a designated verifier outputs accept or reject on a special channel.
- Validity: Completeness requires positive examples to be accepted with probability at least 1−εc; soundness requires that for any prover, negative examples are rejected with probability at least 1−εs, and εc+εs<1 (Definition 2).
What related research exists?
The paper places PVG, debate, and recent LM supervision work side by side, positioning this work as a theoretical plus empirical comparison.
Neural prover-verifier and debate
- Anil et al. (2021) proposed a prover-verifier game between neural networks. The authors believe its proof system has limited formal strength and was only used on small models and small problems.
- Irving et al. (2018)'s debate and Wäldchen et al. (2024)'s Merlin-Arthur classifier use two competing provers. The authors believe both have stronger theory but were still only used on very simple problems.
- Michael et al. (2023) and Khan et al. (2024) study whether debate can help supervise unreliable experts. The paper only describes this as background and does not expand on numerical comparisons with this work here.
Scalable oversight on language models
- Kenton et al. (2024) compare multi-prover debate with single-prover consultancy beyond question answering, considering computational asymmetry. That work finds debate outperforms consultancy, but gains over the verifier baseline are limited; the authors of that work hypothesize one reason is that models were not trained with the protocol.
- Kirchner et al. (2024) train Anil et al. (2021)'s protocol with multi-round reinforcement learning. That work reports the helpful prover's accuracy and the verifier's robustness to adversarial attacks rising during training, focusing mainly on output readability for humans. The authors of this paper point out theoretical limitations of that protocol.
- Arnesen et al. (2024) compare multiple protocols and train the prover with a variant of Direct Preference Optimisation, but limited to question answering. That work finds optimizing the prover improves verifier accuracy in debate but not in consultancy.
Proof system theory
- Goldwasser et al. (1985) defined interactive proofs; Shamir (1992) gave IP=PSPACE. Ben-Or et al. (1988) and others extended the setting to multiple provers.
- Brown-Cohen et al. (2024) study doubly efficient debate: under suitable assumptions, polynomial-time computation can be verified with a constant number of human judgment queries.
- Goldwasser et al. (2020)'s PAC verification and Amit et al. (2024)'s self-proving models focus on proving models or outputs correct. The authors note these two use hand-crafted proof systems rather than learned protocols.
Baselines and datasets: experimental baselines include Anil et al.'s adp, Irving et al.'s debate, Wäldchen et al.'s mac, plus a standalone trained verifier and a random prover. Data are synthetic graph isomorphism and a code verification set constructed from APPS (Hendrycks et al., 2021).
The authors distinguish this paper from the above recent empirical work: this paper simultaneously examines the theoretical implications of different protocols; and they believe having the verifier learn the protocol is more likely to scale to real systems than hand-crafted proof systems.
How does the paper address this problem?
Equilibria of the generalized PVG correspond to valid proof systems; nip, mnip, and zk variants correspond to IP, MIP, and zero knowledge, respectively.
The authors frame neural interactive proofs as a prover-verifier game (PVG): agents learn to send messages, and equilibria are required to correspond to valid proof systems, rather than hand-specifying proof steps.
Decision problems and proof systems
- Object: probabilistic decision problem (X, S, P). In Example 1, X is specification–code pairs, S is pairs where the code satisfies the specification.
- Interaction: the message spaces of prover and verifier are M^p and M^v, respectively. Sequence length T is determined by the verifier, and the last message mT is accept or reject.
- Per-sample loss: the verifier minimizes ℓ(σ,x):=𝔼σ[mT≠ y], i.e., the probability that the decision mismatches the label. Empirical risk LER averages over the dataset; worst-case loss LWC takes the maximum loss over the dataset.
- Zero knowledge: for each verifier variant, there exists a simulator in the same weak strategy class such that the message distribution on positive examples is statistically close. The authors also adopt a stronger condition: statistical closeness is required for any label.
Generalized PVG and protocols
- Game: np provers and nv verifiers send messages on channels, can only see their own channel, and cannot identify senders outside channel members. Input x is a common observation.
- Four requirements: the decision verifier must output the true label; the verifier alone cannot solve the problem; any prover can solve the problem; the two sides' objectives are not fully aligned (Definition 6).
- Counterexample for adp: Proposition 7 gives a decision problem and an adp game where there exists a valid protocol with εc=0, but the verifier-led Stackelberg equilibrium is neither necessary nor sufficient for that validity. The authors use this to turn to new protocols.
- nip: one prover, one verifier, alternating messages by round. The loss separates the worst case for positive and negative examples: the prover minimizes Lp(σ)=LWC(σ∣ y=1)−LWC(σ∣ y=0), and the verifier minimizes the sum of the two terms. Theorem 8 states: when a valid proof system exists, a strategy is a valid IP if and only if it is an approximate verifier-led Stackelberg equilibrium of this game.
Table 1 compares the protocols as follows.
Swipe horizontally to read the table
Protocol Prover/Verifier Rounds Complexity Zero knowledge adp 1/1 2 NP No debate 2/1 T PSPACE No mac 2/1 2 MA No nip 1/1 T PSPACE No mnip 2/1 T NEXP No zk-nip 1/3 T PSPACE Yes zk-mnip 2/3 T NEXP Yes The authors say that when the prover is any Turing machine and the verifier is probabilistic polynomial time, Theorem 8 and Shamir (1992) imply nip corresponds to PSPACE; the paper writes that Irving et al. proved debate corresponds to PSPACE. Appendix C writes the correspondence for adp with a deterministic verifier and zero soundness error, whose strength is limited by the fact that εs=0 implies the problem is in NP.
Worst case and equilibrium solving
- When empirical risk suffices: Proposition 9 gives two conditions—worst-case uniform convergence, and the empirical worst-case loss of the empirical risk minimizer being not far from the empirical worst-case minimizer. When satisfied, on a sufficiently large dataset, the true worst-case loss of the empirical risk minimizer is close to the optimal worst-case loss.
- Adversary: one can add an adversary with strategy space S×(X\S). Proposition 10 states: the original nip's approximate verifier-led equilibrium holds if and only if there exists an adversary strategy making the three-party strategy an approximate verifier-prover-led equilibrium of the new game. This requires the adversary to be able to output any x.
- Stackelberg: the authors formulate solving as bilevel optimization and use timescale separation; the inner loop updates the prover faster. When the inverse Hessian is infeasible at large parameters, one can switch to LOLA, or interpolate between LOLA and LookAhead. The paper gives these update forms; the experiments do not use them.
Multiple provers and zero knowledge
- mnip: two provers have the same loss, cannot communicate during interaction, but can agree in advance on a joint strategy and shared random signal. Soundness requires the verifier to be robust to any pair of substitute provers. Theorem 11 maps valid MIP to approximate verifier-led correlated Stackelberg equilibria.
- zk-nip: adds v2 trying to extract knowledge and simulator v3, with opposite losses; the simulator loss is added to the prover loss. The authors want the prover to further reduce leakage while maintaining validity, and mention this can be achieved with a lexicographic objective. Theorem 12 gives only one direction: if a strategy is an approximate verifier-prover-led equilibrium, then it is a valid εk statistical zero-knowledge IP. The v2, v3 subgame is zero-sum, and Nash equilibrium suffices.
- zk-mnip: Table 1 lists two provers, three verifiers, NEXP, and zero knowledge. The main text does not give a separate statement corresponding to Theorem 12.
Learning and evaluation in experiments
- Graph task: independent PPO. Success is judged by whether the verifier's decision on the held-out test set matches the isomorphism label.
- Code task: eight rounds of expert iteration; each round fine-tunes from scratch on all previous rollouts. Another variant replaces verifier guesses with true labels in an annealed fraction of rollouts.
- Evaluation: mT is compared with y. Code labels come from human correct solutions, and modified solutions that still compile but fail at least one test. Appendix D.2.2 gives the system prompt for nip; wording is not listed here.
What experiments did the paper conduct?
Compare protocols in two domains; the authors claim on the code task nip and mnip improve accuracy by about 11%, with no exact values given in the main text.
Experimental setup
- Data: graph isomorphism uses 10,000 synthetically generated Erdős-Rényi graphs, each with about ten vertices; train/test 80:20 (Section 6.1, Appendix D.1). Code verification is based on APPS; Table 2 writes 4,877 problems, two solutions each, train/test 90:10. The median Levenshtein distance for inserted bugs is 7 (Appendix D.2.1).
- Models: graph task uses GIN, a one-layer transformer, and a feedforward head; the prover's GIN has five layers, the verifier defaults to two layers, with width and layers varied. Code task prover is GPT-4o, verifier is GPT-4o-mini; bugs are also inserted by GPT-4o-mini.
- Protocols: graph task directly compares adp, debate, nip, mnip, with a random prover as control, and examines zk-nip. Code task: the authors say they tested the above protocols, with the baseline being a standalone trained verifier. Appendix E.2 has transcripts for adp, debate, mac, nip, mnip.
- Training: graph task uses independent PPO, 5,000 steps, 10 seeds; clipping ε=0.2, γ=0.95, λ=0.95, entropy coefficient 0.001, learning rate 0.003. Code task uses eight rounds of expert iteration, each round fine-tunes from scratch on all previous rollouts, adding data in 10% batches.
- Metrics: held-out test accuracy; the proportion of 10 rollouts per test point where the verifier always guesses wrong; precision and recall. Section 6 writes error bars as one standard deviation over 10 seeds.
- Evaluation: decisions are compared against true labels. The main metric is not an LLM judge. Appendix E.2.1 additionally uses GPT-4o-mini to analyze transcripts.
Main results
The main text does not write the exact accuracies of the bars in Figure 3; the table below keeps only the original statements in the main text.
Protocol Test accuracy relative to standalone verifier (Figure 3a) Proportion always guessing wrong (Figure 3b) nip Authors claim improvement of about 11%, tied with mnip for largest Not reported mnip Authors claim improvement of about 11%, tied with nip for largest Authors claim best, value not reported debate Not reported; authors claim all protocols improved Not reported adp Not reported Not reported mac Not reported Not reported Standalone verifier Baseline, absolute accuracy not reported Not reported - The authors claim all tested protocols achieved higher final test accuracy than the standalone verifier, with nip and mnip showing the largest improvements (Figure 3a). Here "about 11%" is the original wording for the improvement magnitude, not absolute accuracy.
- The authors claim most protocols had a better proportion of always guessing wrong than the standalone verifier, with mnip best (Figure 3b). On Figure 3c, the authors claim nip and mnip had lower false negative rates than other protocols while having high true positive rates; the main text gives no precision or recall numbers.
- The authors claim debate and the standalone verifier had precision relatively high compared to recall, attributing this to expert iteration: only including rollouts where the verifier guessed correctly amplifies the initially low acceptance rate.
Graph isomorphism: protocols, scale, and zero knowledge
- Protocols: the authors claim nip is favorable, with the verifier classifying valid instances near-perfectly after interacting with the prover, as the original text puts it; adp, debate, mnip showed no improvement (Figure 2a). Their explanation: there is a simpler approach where the verifier picks a node and the prover returns a similar node in the other graph; in adp the verifier sends no message to the prover, and multiple provers are harder to learn.
- Model scale: the authors claim larger models can solve the task and smaller ones cannot; relative to a random prover, a non-random prover gives a capability gain, most pronounced when the verifier alone cannot solve it but can after learning to interact (Figure 2b). The main text gives no accuracy numbers.
- zk-nip: the authors vary the coefficient of the Lv3 term in the prover loss, claim the message sequence likelihood difference is roughly negatively correlated with that coefficient, and believe training converges to an equilibrium with lower information leakage as the coefficient increases (Figure 2c). The main text gives no difference values.
Training scheme for code verification
- Stabilized expert iteration: the prover is still trained with the original scheme; the verifier replaces guesses with true labels in an annealed fraction of rollouts. This fraction linearly decreases from 80% to 0% (Appendix D.2.3).
- The authors claim this mitigates mode collapse in ordinary expert iteration (Figure 4a) and makes the standalone verifier's average accuracy much higher; they hypothesize it is because it is closer to standard supervised fine-tuning.
- The authors claim this scheme has little effect on the average accuracy of each interactive protocol, with some rising and some falling; the worst case for each protocol improves, especially debate (Figures 4b, 4c). Exact values of these curves are not given in the main text.
Other ablations and analyses
- Training set size: Figure 5, the authors claim NIP test accuracy shows a phase transition at size 10,000.
- Verifier GIN depth: Figure 6, the authors claim adp, debate, mnip performance does not change with depth.
- Untrained difficulty stratification: Figure 8, the authors claim accuracy with prover interaction is higher than the standalone verifier at all APPS difficulty levels, and accuracy decreases as difficulty increases; the main text gives no numbers.
- Per-point accuracy histograms: Figures 9 and 10, the authors claim under both training schemes, the standalone verifier's distribution is pushed to both ends; most interactive protocols' distributions are relatively unchanged. Under stabilized training, debate spreads out from bimodal and the proportion always guessing wrong decreases. The main text gives no proportions.
- Transcript analysis: Appendix E.2.1 uses GPT-4o-mini to judge whether role is maintained, whether prior context is followed, whether citations are made, and whether citations are fully accurate, plotting proportions over rounds. The main text gives no such proportions.
- The authors' main hypothesis for debate's lower performance: some prover specifically argues for rejection, and pointing out one flaw is easier than arguing the entire code is flawless, compounded by the standalone verifier's reluctance to accept possibly buggy code.
What are some points that can be further explored?
The authors note that training did not closely follow the theory in Section 4, only two domains were evaluated, and not all protocol variants were evaluated.
Limitations and future directions noted by the authors
- The graph isomorphism experiments did not use the more advanced methods from Sections 4.1 and 4.2; code verification also did not use reinforcement-learning-based learning. The authors believe this makes the empirical results further from their theoretical counterparts (Discussion).
- Protocols were evaluated in only two domains. The authors state these two domains are far from representative of the range of tasks contemporary AI systems can solve (Discussion).
- Not all protocol variants were evaluated, such as debate with simultaneous versus sequential messaging, and open protocols where the prover itself chooses which side of an argument to argue during training (Discussion, citing Kenton et al., 2024).
- The authors propose using the game framework and codebase to develop and evaluate new protocols, and believe new protocols may differ theoretically or empirically from those in this paper (Discussion).
- The authors propose another direction: developing learning-theoretic results, rather than only complexity results based on abstract computational models such as Turing machines, to characterize how the computational power and data volume of learning agents affect weak agents verifying strong agents (Discussion).
Experimental coverage
- Experiments cover two domains: isomorphism judgment on 10,000 synthetic graphs, and 4,877 code verification problems with two solutions each as written in Table 2; the latter is constructed from APPS.
- The graph task compares adp, debate, nip, and mnip, with a random prover as control; zk-nip only changes the Lv3 coefficient. Training is independent PPO, 10 seeds, 5,000 steps.
- For the code task, the prover is GPT-4o and the verifier is GPT-4o-mini, with training being eight rounds of expert iteration. Appendix E.2 gives transcripts for adp, debate, mac, nip, and mnip.
- Worst-case metrics sample 10 rollouts per test point. Error bars in Section 6 are one standard deviation over 10 seeds.
- The main text does not give exact accuracies, precision, and recall for each protocol in Figure 3; Table 1 lists zk-mnip, but the main text does not report its experimental numbers. The primary judgment uses labels and test cases; the paper does not report reviewer or human agreement.
Summarize the main content of the paper
Characterize neural interactive proofs via game equilibria and compare protocols in two domains; the authors claim nip and mnip show the largest improvements.
The authors study how a computationally limited but trusted verifier can learn to interact with a stronger, untrusted prover to verifiably solve decision problems, and place this in the context of scalable oversight.
- Problem: large model outputs are hard to trust directly, and traditional verification is hard to scale. The authors use interactive proofs' completeness and soundness as objectives, requiring the verifier to have labeled data and be unable to solve the problem alone, while the prover can solve it and the two sides' objectives are not fully aligned.
- Framework: a generalized prover-verifier game unifies existing protocols. nip separates the worst-case loss for positive and negative examples; Theorem 8 states equivalence between valid IP and approximate verifier-led Stackelberg equilibrium. mnip corresponds to multi-prover proofs, and zk-nip adds the simulator loss to the prover to constrain information leakage. Proposition 7 shows that after relaxing assumptions, adp's equilibrium no longer corresponds to validity.
- Graph isomorphism: on 10,000 synthetic graphs of about ten vertices, the authors claim nip is favorable, other compared protocols show no improvement, attributing this to the task's simple interaction algorithm and protocol limitations. Larger verifiers can solve it, smaller ones cannot; in zk-nip, the authors claim the leakage-related likelihood difference roughly decreases with the prover coefficient.
- Code verification: GPT-4o as prover, GPT-4o-mini as verifier, data of 4,877 problems, two solutions each. The authors claim each protocol improves over the standalone verifier, with nip and mnip improving accuracy by about 11%, and mnip having the best proportion of always guessing wrong. Under ordinary expert iteration, debate and the standalone verifier lean toward rejection; after replacing some guesses with true labels, the authors claim each protocol's worst case improves, especially debate.
- Authors' conclusion: these results add to what the authors call still preliminary evidence that such techniques may become more usable and may benefit from continued increases in AI capability. The authors also believe current training does not closely match the theoretical analysis, and not all domains and protocol variants were evaluated, so complexity-theoretic guarantees cannot yet be taken directly as safety guarantees on machine learning systems.