Experts Don't Cheat: Learning What You Don't Know By Predicting Pairs
Daniel D. Johnson, Daniel Tarlow, David Duvenaud, Chris J. Maddison
TL;DR
The paper introduces a paired-response training paradigm to separate aleatoric and epistemic uncertainty and to quantify the gap between a model's predicted conditional distribution and the true conditional. By training on pairs $(Y_1,Y_2)$ drawn from $p(Y|X)$ and allowing the model to cheat by conditioning on one sample when predicting the other, it establishes a formal equivalence between second-order calibration and pair-wise calibration, enabling provably-correct frequentist confidence intervals for $p(Y|X)$. The authors prove the cheat-equivalence bijection and derive distribution-free bounds that hold under misspecification, then validate the approach on ambiguous image classification, synthetic language modeling, and safe offline RL with partial observability. Empirically, cheat-corrected pair predictors achieve superior second-order calibration compared to baselines while maintaining first-order calibration and improving safety in downstream tasks. This framework provides a practical path to reliable uncertainty quantification and hallucination detection for complex generative models.
Abstract
Identifying how much a model ${\widehat{p}}_θ(Y|X)$ knows about the stochastic real-world process $p(Y|X)$ it was trained on is important to ensure it avoids producing incorrect or "hallucinated" answers or taking unsafe actions. But this is difficult for generative models because probabilistic predictions do not distinguish between per-response noise (aleatoric uncertainty) and lack of knowledge about the process (epistemic uncertainty), and existing epistemic uncertainty quantification techniques tend to be overconfident when the model underfits. We propose a general strategy for teaching a model to both approximate $p(Y|X)$ and also estimate the remaining gaps between ${\widehat{p}}_θ(Y|X)$ and $p(Y|X)$: train it to predict pairs of independent responses drawn from the true conditional distribution, allow it to "cheat" by observing one response while predicting the other, then measure how much it cheats. Remarkably, we prove that being good at cheating (i.e. cheating whenever it improves your prediction) is equivalent to being second-order calibrated, a principled extension of ordinary calibration that allows us to construct provably-correct frequentist confidence intervals for $p(Y|X)$ and detect incorrect responses with high probability. We demonstrate empirically that our approach accurately estimates how much models don't know across ambiguous image classification, (synthetic) language modeling, and partially-observable navigation tasks, outperforming existing techniques.
