Abstract
Effective uncertainty estimation is critical for high-stakes machine learning applications. While ensembles are a popular approach, the necessity of specific components like randomized prior functions and bootstrapping has remained a subject of debate. This paper demonstrates that the perceived effectiveness of ensemble methods depends heavily on the evaluation metric. While simple ensembles may appear sufficient for marginal uncertainty, randomized prior functions are essential for capturing joint uncertainty correlations across inputs. Furthermore, bootstrapping is shown to be vital for handling heteroscedastic noise. Our results across synthetic and real-world benchmarks suggest that the combination of prior functions and bootstrapping provides the most robust and accurate uncertainty estimates.
Introduction
In domains such as autonomous driving or medical diagnosis, a model's ability to quantify its own uncertainty is as important as its predictive accuracy. Ensembles—collections of models trained independently—are a standard tool for this task. However, the community lacks consensus on the optimal ensemble configuration. Some researchers argue that random initialization is sufficient, while others advocate for more complex additions like "prior functions" (fixed random functions added to outputs) or "bootstrapping" (training on data subsets).
This research clarifies these requirements by distinguishing between marginal uncertainty (uncertainty at a single point) and joint uncertainty (how uncertainty behaves across a sequence of decisions). The authors show that while naive ensembles might pass marginal tests, they fail to capture the joint dependencies necessary for sequential decision-making and reinforcement learning.
Methods
The study evaluates three primary ensemble architectures:
- ensemble-N (Naive): Relies solely on random initialization and data shuffling for diversity.
- ensemble-P (Prior): Adds a unique, fixed, randomized "prior function" to each ensemble member's output, representing an initial belief or "guess."
- ensemble-BP (Bootstrapped + Prior): Combines prior functions with bootstrapping, where each model is trained on a slightly different version of the dataset (implemented via random data weighting).
Evaluation is primarily conducted using dyadic sampling to measure the "joint KL divergence," assessing the model's ability to correctly predict the relationship between different inputs.
Key Insights and Ideas
The central finding is that marginal predictions are a weak indicator of true uncertainty quality. A model can produce reasonable uncertainty for individual data points while failing to understand how those uncertainties are related.
As shown in the figure above, while ensemble-N performs comparably to more advanced methods on marginal KL, it fails significantly on joint KL metrics. Furthermore, ensemble-BP demonstrates superior robustness; it maintains high performance even with "global" hyperparameter tuning, whereas ensemble-P requires more precise, per-setting optimization to match its performance.
Another key insight involves the nature of noise. The authors prove that bootstrapping is specifically required for "bumpy" or heteroscedastic noise—where noise levels vary across the input space. Without bootstrapping, models tend to be overconfident in high-noise regions.
Key Results
The theoretical and empirical results consistently favor the inclusion of both priors and bootstrapping:
- Mathematical Guarantees: In linear regression settings,
ensemble-BPis proven to match the true Bayesian posterior, a featensemble-Ncannot achieve. - Neural Testbed:
ensemble-Pandensemble-BPsignificantly outperformed naive methods on joint KL metrics across a wide range of synthetic classification tasks. - Noisy CIFAR-10: In experiments with varying signal-to-noise ratios, the addition of bootstrapping provided a distinct advantage in joint prediction accuracy.
- Decision Making: In bandit environments, the
ensemble-BPagent achieved the lowest "regret," demonstrating that better joint uncertainty leads to more efficient exploration and fewer mistakes in noisy environments.
Limitations and Future Work
While the results are compelling, the theoretical analysis currently assumes an isometric prior. Future research will focus on scaling these robust ensemble methods to complex, high-dimensional reinforcement learning tasks and extending mathematical proofs from linear models to deep networks using Neural Tangent Kernel (NTK) theory.
Summary updated