TL;DR
Can we verify if a complex AI model's probabilistic predictions are internally consistent without checking every possible scenario? This paper introduces a complexity-theoretic framework and an Interactive Probabilistically Checkable Proof (IPCP) protocol that allows an efficient verifier to confirm a model's self-consistency by evaluating it at only a few points and querying a specialized proof oracle.
What Problem Does This Paper Address?
Probabilistic predictors, such as large language models or neural networks, are frequently used to answer conditional probability queries (e.g., "What is the probability of an unwanted outcome given a specific AI action?"). While individual answers might seem plausible in isolation, a collection of thousands or millions of such predictions can easily be internally contradictory—meaning no single, valid joint probability distribution could ever satisfy all of them simultaneously.
This is a major concern for AI safety: an incoherent model could give conflicting answers in different contexts, potentially leading to manipulative or deceptive behavior. However, verifying consistency is incredibly difficult because the underlying sample space grows exponentially with the number of variables, making a naive joint distribution doubly exponential in size. The authors tackle a fundamental question: Can a powerful but untrusted Prover convince an efficient, polynomial-time Verifier that a model's probabilistic claims are jointly consistent?
Methods
The authors break the problem down into two verification settings:
- Explicit Consistency: They first consider a finite collection of $m$ explicit probabilistic claims over $n$ Boolean variables. Using Carathéodory's theorem, they show that if a consistent distribution exists, there also exists a sparse distribution supported on at most $m+1$ points that achieves the exact same consistency. By introducing a small error gap ($\varepsilon_{\text{gap}}$), they prove that approximate explicit consistency is in NP with short certificates.
- Model Consistency (Interactive PCP): For an entire predictive model that implicitly specifies exponentially many claims, they construct an Interactive PCP. The model is formalized as a pair of circuits: a prediction circuit $P$ and a confidence circuit $Q$.
To make verification efficient, they introduce a novel primitive called a marginal-verifiable Reed-Muller distribution encoding. This encoding allows the Verifier to check that an oracle represents a valid distribution and to verify its marginals locally. By combining this encoding with the classical SumCheck protocol and GKR-style delegation of computation, the Verifier can reduce the task of checking exponentially many claims down to just a few point queries to the oracle and the model circuits.
Datasets
Not discussed in the paper. This is a purely theoretical complexity-theoretic paper and does not evaluate its methods on empirical datasets or benchmarks.
Key Insights and Ideas
- Distributions as Witnesses: In contrast to the traditional PCP literature, which focuses on encoding proofs of deterministic mathematical facts, the proof oracle in this protocol encodes a probability distribution.
- The Power of the $\ell_2$ Norm: Instead of using information-theoretic measures like relative entropy (which involve non-polynomial logarithms), the authors measure inconsistency using a normalized $\ell_2$ norm. This choice allows them to work entirely with polynomials, unlocking powerful algebraic verification tools like the SumCheck protocol.
- Sparsification: Even when a model implicitly defines exponentially many claims, a valid witnessing distribution can be "compressed" into a sparse support of linear size relative to the number of claims, without losing its consistency properties.
- A Path to Self-Proving AI: The authors view this explicit IPCP as a foundational first step toward training predictive models to generate their own proofs of self-consistency for external auditors.
Key Results
- Explicit-Consistency $\in$ NP: The paper proves that $\ell_2$-approximate consistency of explicit claims is in NP, with certificates of length $O(mn + \log B)$ in the input bit-precision $B$. Introducing an additive completeness-soundness gap removes the dependence on $B$, yielding a witness length of $O(nm + m \log(1/\varepsilon_{\text{gap}}))$.
- Polynomial-Time Verification for Models: The authors demonstrate that Model-Consistency admits a polynomial-time Interactive PCP. The Verifier only needs to evaluate the model at two points and read polynomially many positions of an exponentially long proof oracle.
- NEXP-Completeness: The paper establishes that exact Model-Consistency is NEXP-complete under polynomial-time many-one reductions, mapping out its exact place in the computational complexity hierarchy.
Limitations and Future Work
- Exact Prover Burden: While the Verifier's protocol is approximate and tolerant to a threshold of inconsistency, the honest Prover is still required to compute the exact aggregate inconsistency over all queries down to the smallest bit, which requires exponential time. Developing an approximation-native SumCheck protocol remains an open challenge.
- Unnatural Sparse Witnesses: The sparse distributions used to achieve efficiency have low entropy and artificially destroy mutual independence between large collections of variables, making them structurally different from the maximum-entropy distributions typically preferred in probabilistic reasoning.
- Non-Polynomial Metrics: The framework relies heavily on the algebraic convenience of the $\ell_2$ norm. Extending these verification techniques to metrics like KL-divergence is gated by the fact that their summands are non-polynomial and often transcendental.
Summary updated