How to verify the probabilistic consistency of prediction modelsHow to Verify Probabilistic Consistency of Predictive Models
The authors construct a polynomial-time Interactive PCP for probabilistic consistency verification of predictive models, which the authors call the first PCP system for model consistency.
- When a probabilistic predictive model answers a large number of conditional probability queries, its answers may not all hold simultaneously; the authors want to verify in polynomial time whether the model is approximately self-consistent, which is meaningful for AI that uses probabilistic predictions as safety guardrails (such as Scientist AI).
- The predictive model is formalized as a probabilistic circuit P and a confidence circuit Q; the Carathéodory theorem is first used to place the ℓ2 approximate consistency of the explicitly declared set (CPC) in NP, and then an Interactive PCP is constructed: the proof oracle encodes a sparse witness distribution (Reed–µller encoding), and SumCheck and marginal verification reduce the inconsistency test to a small number of point queries.
- The results are theorem-based: Explicit-Consistency is in NP, with certificate length O(mn + log B); Model-Consistency is NEXP-complete, and a polynomial-time Interactive PCP exists with gap 2−poly(ℓ,d,B). The paper has no experiments.
- The authors note: the honest Prover must exactly compute the inconsistency, and a learned Prover that can only estimate seems to have no acceptable strategy; sparse witnesses are unnatural and break independence among variables; the KL divergence measure is constrained by the exact Prover requirement; the Prover is worst-case exponential time, so large-scale deployment is currently infeasible.
- Threat model
- The Verifier is polynomial time and holds the model circuits (P, Q) and tolerance τ; the Prover is all-powerful but untrusted, pre-commits a stateless proof oracle (encoding the claimed consistent witness distribution), and can answer adaptively during interaction. Completeness: if the model is (τ − εgap)-consistent, a proof exists that the Verifier always accepts; soundness: if the model is not τ-consistent, any Prover makes the Verifier accept with probability at most εsound.
- Metrics
- Inc(归一化 ℓ2 不一致度)Verifier 运行时间PCP 长度查询复杂度通信量
Yoshua Bengio, Shafi Goldwasser and two other researchers propose an interactive PCP protocol that lets a polynomial-time verifier check whether a probabilistic prediction model's answers to a large number of conditional probability queries are approximately self-consistent. The authors note that this problem bears on AI safety, because safety comes from giving honest probabilistic predictions of the adverse consequences that AI behavior may cause. The protocol represents the prediction model as a probabilistic circuit P and a circuit Q for output confidence, which together implicitly specify exponentially many probability assertions; the verifier evaluates only at a few points, interacts with a single untrusted prover, and reads a few positions in an encoding of a witness distribution claimed to be consistent with the predictions. Building on Nilsson's 1986 work, the authors prove that for m explicit assertions of the form Pr[Y=1|X=x]=p, l_2 approximate probabilistic consistency is in NP, with certificate length O(mn + log B), and that a small additive completeness-soundness gap can remove the dependence on bit precision B. The authors state that these results provide a complexity-theoretic foundation for certifying the self-consistency of probabilistic predictors, and view the protocol as a first step toward models that certify their own consistency during training.
Paper analysis
What problem does this paper attempt to solve?
How a polynomial-time verifier, with the help of an untrusted prover, can verify that exponentially many probability declarations of a probabilistic predictive model are approximately self-consistent.
Core question: whether a probabilistic predictive model's answers to a large number of conditional probability queries are approximately self-consistent, and whether this can be verified in polynomial time.
- Problem setting and motivation: The authors are motivated by AI safety: the Scientist AI project [BCF+25, BRG+26] envisions using a consistent probabilistic predictor to predict the probability that an agent's action causes some type of harm, as a guardrail; this requires the predictor to reflect a consistent probability distribution. The authors argue that an inconsistent system may give conflicting answers in different contexts and is manipulative.
- Shortcomings of existing methods: Classical probabilistic satisfiability work (Nilsson 1986 et al.) handles explicitly given claims; for approximate consistency with τ > 0, [KN95] only gives NP-hardness lower bounds, and [Pot14] only places the complexity in EXP. The authors state that no probabilistically checkable proof system for model consistency existed before.
- Core observation: if m claims are consistent, Carathéodory's theorem guarantees a witness distribution supported on m + 1 points; after introducing a small completeness–soundness gap, the witness weights can be written with logarithmic precision and thus placed in the proof oracle.
- Contributions of the paper: formalize the Model-Consistency problem; prove Explicit-Consistency ∈ NP (Proposition 9) and a low-precision witness with gap (Proposition 8); construct a polynomial-time Interactive PCP for Model-Consistency (Theorems 32, 38), which the authors call the first PCP system for model consistency.
- Verification setting (proof-system roles):
- Verification target: decide whether there exists a distribution µ such that the model's inconsistency Inc(µ) ≤ τ.
- Verifier: polynomial time, holds the circuits (P, Q) and τ, can perform a small number of point evaluations of the circuits and a small number of point queries to the proof oracle.
- Prover: all-powerful but untrusted, pre-commits a stateless proof oracle (encoding the claimed consistent witness distribution), and can answer adaptively during interaction.
- Decision criterion: if the model is (τ − εgap)-consistent, a proof exists that the Verifier always accepts (completeness); if the model is not τ-consistent, any Prover makes the acceptance probability ≤ εsound (soundness).
What related research exists?
Related work spans four lines: verification of distributional properties, complexity of probabilistic consistency, Carathéodory's theorem, and interactive proofs and AI.
Verification and testing of distributional properties
- Chiesa–Gur [CG18] and Herman–Rothblum et al. [HR22, HR23, Her24, HR25a, HR25b, GHR25]—use interactive proofs to verify global properties of distributions (including label-invariant properties); [GRSY21]'s IP-PAC verifies the accuracy of a learned model relative to a distribution. The paper notes that these verify properties given samples from a distribution, which is the inverse problem of this paper's "given declarations, verify the existence of a consistent distribution."
- Distribution property testing [GR00, BFR+00] and subcube-conditioned sampling [CRS15, BC18, CCK+21, CM24, CCR+25]—decide distributional properties from samples when there is no prover; the paper notes that conditional probability declarations can be viewed as conditional expectations on subcubes, which relates to this line.
Probabilistic consistency and probabilistic satisfiability
- Nilsson [Nil86] proposed PSAT and reduced it to linear programming; [GKP88] proved it NP-hard and placed it in NP using an m + 1 point support argument; [FHM90] bounded the binary length of the witness and formally placed exact consistency in NP. The paper notes that these handle only τ = 0; this paper's Proposition 9 is related but handles τ ≥ 0 and requires finer control of certificate length.
- Inconsistency tolerance direction: [KN95] proved that distinguishing consistency from ε-inconsistency is NP-hard but gave no upper bound; [Pot14] proposed ℓp inconsistency measures (including this paper's Inc with p = 2) but placed it only in EXP; [RHS23] proved that approximating a related inconsistency notion is #P-hard.
- Consistency training in machine learning [XN18, ZPIE17, JLKK19, KJPJ20, RSS+26] and GFlowNet [BLD+23]; the paper notes that the Scientist AI project [BCF+25, FRG+26] aims to extend GFlowNet consistency training to exponentially many variables, which is exactly the problem this paper addresses.
Carathéodory-type theorems
- Integer Carathéodory [CFS86, Seb90, ES06] and approximate Carathéodory [Bar15, MLVW17]. The paper states that this paper's results cannot be derived from existing literature: the common-denominator reduction makes coefficient magnitudes grow exponentially with input precision, defeating the goal of polynomial-length certificates.
Interactive proofs and AI
- Debate [ICA18] and its doubly efficient extensions [BIP24, BIP25, BIM+26]; Prover–Verifier Games [AZWG21] and OpenAI's large-scale experiments [KCE+24], Neural Interactive Proofs [HA25], MA-Classifiers [WST+24].
- Self-Proving models [AGPR25]: train a model to act as the Prover in a specified IP. The paper states that this is complementary to this paper: this paper provides the proof system, and future work could explore whether the two proof roles can be learned by Self-Proving models.
Difference from Sum-of-Squares: the paper notes that the SoS hierarchy [Nes00, Las01, Par03] and pseudo-distributions [BBH+12, BS14] are conceptually similar, but pseudo-distributions do not guarantee extension to a true distribution, and SoS gives an algorithm for deciding approximate consistency, whereas this paper gives a proof system for verifying (another kind of) approximate consistency.
Positioning: the authors state that the new object of this paper is a predictive model whose declarations are implicitly specified by circuits and whose number is exponentially large; the goal is not to decide consistency but to verify consistency for an untrusted Prover; this paper has no experimental baselines, and all comparisons are theorem-level comparisons at the level of complexity and proof systems.
How does the paper address this problem?
First use Carathéodory sparsification to place explicit consistency in NP, then encode the sparse witness distribution into the proof oracle, and use SumCheck to reduce the inconsistency test to point queries.
Overall approach: formalize the predictive model as a circuit pair (P, Q), whose inconsistency is defined as the minimum over distributions µ of the weighted ℓ2 norm of the conditional probability residual; first prove that an explicit set of claims has a short certificate (NP), then encode the sparse witness distribution as a proof oracle in a Reed–Muller manner, and use interactive subprotocols such as SumCheck to reduce exponentially large sums to a small number of point queries, yielding an Interactive PCP.
Problem formalization
- Predictive model: a pair of circuits (P, Q). P takes as input a query q = (s1, b1, …, sℓ, bℓ, t) (d-bit descriptions of ℓ context variables, the corresponding bits, and the target variable description) and outputs a B-bit integer, interpreted as the probability P(q)/2^B; Q outputs a confidence, with Q = 0 meaning abstention. The number of variables is n = 2^d, and the query universe is Q = {0,1}^{ℓ(d+1)+d}.
- Inconsistency: IncP,Q(μ) := √(1/(‖ Q‖1)∑x,y Q(x,y) (μ(x∧ y) − P(y∣ x)μ(x))2), i.e., the ℓ2 norm of the conditional probability residual weighted by Q; the model is τ-consistent if and only if there exists µ with Inc(µ) ≤ τ. The authors emphasize that they only ask whether the claims can hold simultaneously, not whether they are true or calibrated.
- Explicit version: a CPC is a multiset of m claims (x, y, p), with Inc defined similarly; a model can be expanded into an implicit CPC (Claim 7 proves the two have equal inconsistency).
Explicit consistency: NP certificates and low-precision witnesses (Section 5)
- Sparsification: the expectation of the residual vector lies in a convex hull, and Carathéodory's theorem gives a distribution supported on m + 1 points with the same inconsistency (Carathéodory Witness).
- Witness with gap (Proposition 8): weights are rounded to B_εgap ∈ O(log(m/εgap)) bits; by Lemma 10 the squared inconsistency perturbation is ≤ ε²gap, and (τ − εgap)² + ε²gap ≤ τ² (Claim 12); certificate length O(m(n + log(m/εgap))), verification time O(m²(n + B log(m/εgap))) (Algorithm 1).
- Certificate without gap (Proposition 9): only the support points and one auxiliary prime are sent (O(log m + log B) bits), and the Verifier exactly solves for the weights itself—the ℓ2 measure makes the stationary-point condition a linear system, with denominator bit length controlled via the Hadamard inequality and Cramer's rule (Lemma 13), solved by the p-adic method of [Dix82]; certificate length O(mn + log B), time O(m³(B + log m)² + m²n).
Reed–µller encoding library (Section 7)
- Encoding Rµ: take the multilinear extensions of the support-point table Z0(j, i) = z_{j,i} and the weight-bit table A0(j, β) to obtain (Z, A); validity requires multilinearity, Boolean values on the hypercube, and weights summing to 1 (Definition 21).
- VerEnc (Algorithm 3): repeated multilinearity tests (Fact 23) plus three SumChecks verify proximity to a valid codeword; soundness ε, cost O((log m + log n + log B)·max{log(1/ε)/δ, 1/ε}) field operations (Claim 24).
- VerMarginoid / VerMarginal (Algorithms 4, 5): two SumChecks reduce "marginal mass equals v" to ℓ queries to Z and 1 query to A; soundness ((ℓ+1) log m + 2 log B)/|F| (Claim 26); VerMarginal then uses self-correction (Fact 27) to tolerate a corrupted oracle.
IPCP for Model-Consistency (Section 8)
- Construction of the proof oracle: the Prover finds a (τ − εgap)-consistent witness distribution, sparsifies it by Proposition 8 to m = ∥Q∥1 + 1 support points with weight precision B′ ∈ O(ℓd + B + log(1/εgap)), then applies the Rµ encoding (Section 8.1).
- Protocol (Algorithm 6): run VerEnc once; two SumChecks reduce the inconsistency Inc† and the total confidence ∥Q∥1 respectively; two VerMarginoid calls obtain the two marginals at a random point q̂; the Verifier itself evaluates circuits P, Q at q̂, q̂′ (Fact 30); finally an integer threshold comparison vInc ≤ (τ†)²·2^{2B}·(m − 1).
- Complexity (Theorem 32): field size |F| ≥ 2^{O(ℓd+B+log(1/εgap))}·∆/εsound; Verifier time poly(ℓ, d, B, log(1/εgap), 1/εsound) + O(|P| + |Q| + ∆ℓd); oracle length |F|^{O(ℓd+B)} field elements; queries poly(ℓ, d, B, log(1/εgap), log(1/εsound))/εsound.
- Efficiency improvement (Theorem 38): use the doubly efficient interactive proof (VerifyMLE) of [Tha13] to delegate cubic circuit evaluation to the Prover, changing the dependence from degree ∆ (worst-case exponential in depth) to a polynomial in depth D; Corollary 33 gives the Boolean-alphabet version, with gap εgap = 2^{−poly(ℓ,d,B)}.
- Complexity placement (Corollary 18): Model-Consistency is NEXP-complete (membership follows by expanding the implicit CPC via Proposition 9, hardness by reduction from SUCCINCT-Exact-kSAT); the authors state that unlike the black-box combination of MIP = NEXP, this construction preserves the structure that "the witness is a distribution."
What experiments did the paper conduct?
The paper has no experiments; all results are complexity and proof-system theorems; this section lists these theorems and their parameters.
Experimental setup
- This is a theory paper with no experiments: no tested models, datasets, baselines, review methods, or repetition counts. All results are mathematical theorems, and the objects verified are abstract circuit pairs (P, Q).
- The running times, certificate lengths, etc. reported in the paper are all asymptotic complexity bounds, with parameters being the number of declarations m, the number of variables n, precision B, context length ℓ, description length d, gap εgap, and soundness error εsound.
Main results
The paper's main theorems and their key parameters (all are theorems proved by the authors, not experimental measurements):
Swipe horizontally to read the table
Result Content Key bounds Proposition 8 Explicit consistency verification with gap Certificate length O(m(n + log(m/εgap))); time O(m²(n + B log(m/εgap))); weight precision O(log(m/εgap)) bits Proposition 9 Explicit-Consistency ∈ NP Certificate length O(mn + log B); time O(m³(B + log m)² + m²n) Corollary 18 Complexity of Model-Consistency NEXP-complete (under polynomial-time many-one reductions) Theorem 32 Explicit IPCP for Model-Consistency Field F ≥ 2^{O(ℓd+B+log(1/εgap))}·∆/εsound; oracle length F ^{O(ℓd+B)} Theorem 38 + Corollary 33 Delegated evaluation version of IPCP Depends on depth D rather than degree ∆; gap εgap = 2^{−poly(ℓ,d,B)} - The authors state that Proposition 9 places ℓ2 approximate probabilistic consistency in NP, extending the classical line of work initiated by Nilsson.
- The authors state that Theorem 38 gives the first probabilistically checkable proof system for model consistency and designs the proof oracle as an encoding of the witness distribution, preserving the probabilistic structure.
Support size of sparse witnesses
- What was measured: how large a support the witness distribution for a consistent instance needs. The Carathéodory theorem guarantees that m declarations have a witness supported on m + 1 points (Section 5); the certificate of Proposition 8 contains at most m + 1 pairs (z, α).
- The authors' interpretation: the authors note that exact weights require O(m(B + log m)) bits, which for m = one million and B = 32 exceeds 7×10^7 bits per weight, whereas with gap 2^{−32} about 10^5 bits suffice; the authors consider exact weights too costly at scale, so the IPCP uses low-precision witnesses with a gap.
Hardness results
- What was measured: computational lower bounds for approximate consistency. Claim 17: for k ≥ 3 and δ ∈ (0, 2^{−k}), distinguishing Inc(P) = 0 from Inc(P) ≥ 2^{−k} − δ is NP-hard (obtained from Håstad's inapproximability of Exact-kSAT via the reduction in Claim 16).
- The authors' interpretation: the authors state that CPC can express CNF formulas "losslessly," so the tight inapproximability of Exact-kSAT carries over automatically to Explicit-Consistency and lifts to NEXP-hardness of Model-Consistency.
Other ablations and analyses
- Lemma 15: a deterministic CPC satisfies Viol(P) ≤ Inc(P) ≤ √Viol(P); the authors give examples showing both bounds can be approached with equality.
- Remark 34: the 1/εsound in the query complexity comes from the proximity parameter of the encoding test; the authors raise the question of whether it can be reduced to poly log(1/εsound).
- Remark 35: the two SumChecks can share the same random stream so that the model is evaluated only once, but this does not hold when executed sequentially with a single Prover.
- Remark 36: running Algorithm 6 with an exact witness (no gap) would require a singly exponentially large field, and Theorem 32 does not apply to that instantiation.
- Remark 19: the authors state that, based on their own experience, faithfully implementing the black-box construction of Corollary 18 is beyond the scope of an empirical pilot, whereas the specification of Algorithm 6 is self-contained.
What are some points that can be further explored?
The authors list open problems such as exact Prover, sparse witnesses, and error measures; this paper is purely theoretical and has no experimental coverage.
Limitations and future directions noted by the authors
- Exact Prover problem (Section 9): The protocol requires the honest Prover to exactly compute the inconsistency Inc† (summing over the entire query universe); a learned Prover that can only estimate "seems to have no acceptable strategy"; the authors raise whether it can be instantiated with approximately computing sum-check [BDG+26], which is the main open problem left.
- Sparse witnesses are unnatural (Section 9): Sparse support entropy is at most log2(m + 1) bits, breaks independence among more than log2(m + 1) variables, and need not respect instance symmetry; the authors propose exploring the feasibility of non-sparse witnesses (e.g., distributions with few nonzero Fourier coefficients), left for future work.
- Choice of error measure (Section 9): Proposition 9 relies on ℓ2 so that the stationary-point condition is a linear system; the metric corresponding to relative entropy (KL) has non-polynomial summands and exact values are typically transcendental, and the authors state that extending to that setting is constrained by the exact Prover requirement.
- Prover efficiency and deployment (Remark 19, Section 8): The authors state that even in the explicit IPCP, the Prover's work remains hard enough that large-scale deployment of the full proof system is currently infeasible.
- Training self-proving models (Sections 1, 9): The authors raise whether AI systems can be trained to generate self-consistency proofs for restricted distribution classes, and whether the two proof roles can be learned by a Self-Proving model, left for future work.
- Zero-knowledge auditing (Section 9): The authors give a speculative application idea (zero-knowledge consistency auditing of committed claims), stating that the rest of the protocol needs to be made zero-knowledge, which was not completed in this paper.
Experimental coverage
- The paper does no experiments: no tested models, no datasets, no baseline systems, no reviewer models, no sample sizes or repetition counts.
- All performance numbers are asymptotic complexity bounds (certificate length, verification time, oracle length, query and communication volume), with parameters m, n, B, ℓ, d, εgap, εsound.
- The verification target is an abstract probabilistic circuit pair (P, Q); the paper gives no instantiation for concrete neural networks or language models.
- The paper reports no implementation of the proof system; Remark 19 states that Algorithm 6 has a self-contained specification, and the authors believe experiments could be built on it, but this paper does not do so.
- The honest Prover is exponential time (it must write out the proof oracle); the efficiency improvements in Theorem 38 and Remark 39 are only on the Verifier side.
Summarize the main content of the paper
A theory paper: it formalizes the problem of verifying probabilistic consistency of predictive models and gives an NP membership result and a polynomial-time Interactive PCP.
This is a computational complexity theory paper that establishes proof-system foundations for "verifying the self-consistency of probabilistic predictive models," with AI safety (Scientist AI guardrails) as the main motivation.
- Problem: a predictive model (P, Q) implicitly gives exponentially many conditional probability declarations; the question is whether there exists a joint distribution µ such that its ℓ2 inconsistency Inc(µ) ≤ τ, and whether a polynomial-time Verifier can verify this with the help of an untrusted Prover.
- Method highlights: use the Carathéodory theorem to sparsify the witness distribution to m + 1 support points; introduce a small completeness–soundness gap so that weights need only logarithmic precision; encode the sparse distribution as a proof oracle in a Reed–Muller manner (Reed–µller encoding), and use SumCheck, encoding validity verification (VerEnc), and marginal verification (VerMarginoid) to reduce the inconsistency test to a small number of point queries.
- Main results:
- Explicit-Consistency ∈ NP: certificate length O(mn + log B), verification time O(m³(B + log m)² + m²n) (Proposition 9).
- Gap variant: certificate length O(m(n + log(m/εgap))), weight precision O(log(m/εgap)) bits (Proposition 8).
- Model-Consistency is NEXP-complete (Corollary 18).
- Model-Consistency has a polynomial-time Interactive PCP with gap εgap = 2^{−poly(ℓ,d,B)} (Theorem 38 and Corollary 33); the authors state that this is the first PCP system for model consistency.
- The authors' conclusions and implications: the authors believe these results provide a complexity-theoretic foundation for certifying the self-consistency of probabilistic predictors, and view the explicit IPCP as a first step toward ultimately training models to prove their own consistency; the authors also note obstacles such as the honest Prover needing exact summation, sparse witnesses being unnatural, and the Prover's worst-case exponential time, and leave training self-proving models, non-sparse witnesses, and zero-knowledge auditing as future directions.