The Problem: Marginal vs. Joint Predictions
In standard supervised learning, models are typically evaluated on their marginal predictions: given a single input, what is the most likely label? However, for agents making sequential decisions—such as a robot navigating a room or a system recommending medical treatments—marginal predictions are insufficient. These agents must understand joint predictions, which capture how uncertainty about one outcome relates to uncertainty about another.
To illustrate this, consider a simple coin-flip analogy:
- Coin A: Has a known 50/50 bias.
- Coin B: Is either 100% heads or 100% tails, but you don't know which (50/50 chance of either).
Marginally, both coins look identical: there is a 50% chance of heads on the next flip. But jointly, they are entirely different. If you flip Coin B once and get heads, you know with 100% certainty the next flip will be heads. An agent that treats Coin B like Coin A will make poor decisions because it fails to account for that correlation. This paper introduces a principled way to evaluate whether neural networks can actually capture these crucial joint distributions.
The Neural Testbed Framework
To address this evaluation gap, the authors introduce The Neural Testbed, an open-source benchmark based on a synthetic data-generating process (DGP).
Instead of relying on static datasets like ImageNet, the testbed generates "ground truth" classification problems using a simple 2-layer ReLU neural network. This synthetic approach allows for the generation of infinite data and the calculation of a "perfect" Bayesian posterior using Markov Chain Monte Carlo (MCMC) as a gold standard.
Agents are evaluated using the Kullback–Leibler (KL) divergence between their predicted distribution and the true distribution. Crucially, the testbed evaluates agents on their ability to predict $\tau$ labels simultaneously. When $\tau=1$, it assesses standard marginal prediction. When $\tau=10$, the agent must predict the joint distribution of 10 different inputs at once.
Key Insights: The "Joint Collapse"
The testbed reveals a critical flaw in many popular Bayesian deep learning methods: while they may provide good individual predictions, they often fail miserably at capturing the relationships between multiple predictions.
- The "Marginal" Illusion: Most popular methods, such as Dropout or Bayes-by-Backprop (BBB), perform well when predicting one point at a time ($\tau=1$), often matching the gold standard SGMCMC.
- The "Joint" Collapse: When asked to make joint predictions ($\tau=10$), the performance of these same models collapses. Many popular methods fail to outperform a simple, non-Bayesian MLP in this setting.
The results show that SGMCMC is the top performer, though it is computationally expensive. Methods like Ensemble+ (which uses a randomized prior function) and Hypermodels significantly outperform standard Ensembles and Variational Inference (BBB) in joint predictions. The addition of a randomized prior function acts as a "cheat code," helping the network maintain a sense of epistemic uncertainty across multiple inputs.
Why Joint Predictions Matter
A model can be "well-calibrated" marginally (e.g., its 80% confidence intervals are correct 80% of the time) but still produce terrible joint predictions. The paper demonstrates that joint KL-loss is a much better predictor of an agent's performance in real-world decision-making tasks, such as sequential bandits. There is a strong correlation ($\rho \approx 0.69$) between an agent's joint prediction quality and its ability to maximize rewards in a bandit task, whereas marginal prediction quality shows no significant correlation.
Conclusion
The Neural Testbed highlights that evaluating predictive models solely on marginal accuracy is a dangerous illusion for decision-making agents. Future research and algorithm design must shift focus toward optimizing and evaluating joint likelihoods to build truly reliable and capable AI systems.
Summary updated