Evaluating High-Order Predictive Distributions in Deep Learning

Ian Osband, Zheng Wen, Seyed Mohammad Asghari, Vikranth Dwaracherla, Xiuyuan Lu, Benjamin Van Roy

Abstract

Most work on supervised learning research has focused on marginal predictions. In decision problems, joint predictive distributions are essential for good performance. Previous work has developed methods for assessing low-order predictive distributions with inputs sampled i.i.d. from the testing distribution. With low-dimensional inputs, these methods distinguish agents that effectively estimate uncertainty from those that do not. We establish that the predictive distribution order required for such differentiation increases greatly with input dimension, rendering these methods impractical. To accommodate high-dimensional inputs, we introduce dyadic sampling, which focuses on predictive distributions associated with random pairs of inputs. We demonstrate that this approach efficiently distinguishes agents in high-dimensional examples involving simple logistic regression as well as complex synthetic and empirical data.

Introduction: The Need for Joint Distributions

In standard supervised learning, the primary metric is often the marginal distribution $P(y|x)$—the probability of a label given a single input. However, in sequential decision-making contexts like reinforcement learning or active learning, agents must understand the joint distribution over multiple future outcomes: $P(y_1, \dots, y_\tau | x_1, \dots, x_\tau)$. This joint distribution captures the correlations in uncertainty across different inputs, which is vital for effective exploration and risk management.

The Curse of Evaluation in High Dimensions

Evaluating these joint distributions is notoriously difficult. Previous benchmarks, such as the Neural Testbed, utilized i.i.d. sampling from the test set. While effective in low-dimensional spaces, this approach suffers from the "curse of dimensionality." As the input dimension $D$ increases, any two randomly sampled points become increasingly distant. Consequently, a model's predictions at these points appear independent, and the joint distribution collapses into a product of marginals.

Minimum tau required to distinguish agents vs. input dimension. i.i.d. sampling fails rapidly as dimension increases, whereas dyadic sampling remains effective.

As shown in the figure above, the number of test points $\tau$ required to distinguish a well-calibrated agent from a naive uniform one grows exponentially with $D$ when using i.i.d. sampling. By $D=6$, i.i.d. evaluation becomes computationally intractable, failing to reward models that capture true underlying structure.

Methodology: Dyadic Sampling

To overcome this, the authors propose Dyadic Sampling ($\kappa=2$). Instead of sampling $\tau$ unique points, the method selects two "anchor points" ($X_1, X_2$) from the test distribution. The test batch of size $\tau$ is then constructed by repeatedly sampling from these two points (e.g., multiple copies of each).

By focusing on the predictive distribution over these pairs, the evaluation forces the model to reveal its internal consistency. If a model treats every input independently, dyadic sampling will expose this deficiency, whereas standard i.i.d. sampling might not distinguish it from a more sophisticated Bayesian agent.

Comparison of KL estimates under different sampling schemes. Dyadic sampling (bottom panel) maintains a clear performance gap between agents across high input dimensions.

Key Insights and Empirical Validation

The researchers validated dyadic sampling across synthetic linear models, the Neural Testbed (up to $D=100$), and real-world datasets like CIFAR-10 and MNIST.

  • Marginals are Insufficient: On metrics like marginal Negative Log-Likelihood (NLL), diverse models (Deep Ensembles, Dropout, MLPs) often appear identical. Dyadic sampling reveals significant gaps in the quality of their joint predictions.
  • Superiority of Ensembles with Priors: The evaluation highlights that "Ensemble+" (ensembles utilizing randomized prior functions) significantly outperforms other methods. This benefit actually increases with input dimension, a trend invisible under i.i.d. metrics.
  • Real-World Correlation: Performance on synthetic benchmarks using dyadic sampling correlates strongly (0.94) with performance on complex real-world datasets, validating the heuristic as a robust proxy for general uncertainty estimation.

Conclusion

Dyadic sampling provides a scalable and efficient way to evaluate high-order predictive distributions in high-dimensional spaces. By moving beyond i.i.d. sampling, researchers can better identify agents that truly capture the epistemic uncertainty required for complex decision-making tasks. The code and updated benchmarks are available at github.com/deepmind/neural_testbed.

Summary updated

BibTeX
@inproceedings{osband2022evaluating,
  author = {Ian Osband and Zheng Wen and Seyed Mohammad Asghari and Vikranth Dwaracherla and Xiuyuan Lu and Benjamin Van Roy},
  title = {{Evaluating High-Order Predictive Distributions in Deep Learning}},
  booktitle = {Conference on Uncertainty in Artificial Intelligence},
  year = {2022},
  url = {https://openreview.net/forum?id=rFb8y8Io5e9},
}
Figure