[Paper Review] Fast Predictive Uncertainty for Classification with Bayesian Deep Networks
This paper proposes a fast, analytic method to estimate predictive uncertainty in Bayesian deep learning by using the Laplace Bridge to map Gaussian distributions over network logits to Dirichlet distributions over softmax outputs. The approach enables efficient uncertainty quantification with O(K) complexity per prediction, outperforming Monte Carlo sampling and improving top-k accuracy on ImageNet while maintaining low inference cost.
In Bayesian Deep Learning, distributions over the output of classification neural networks are often approximated by first constructing a Gaussian distribution over the weights, then sampling from it to receive a distribution over the softmax outputs. This is costly. We reconsider old work (Laplace Bridge) to construct a Dirichlet approximation of this softmax output distribution, which yields an analytic map between Gaussian distributions in logit space and Dirichlet distributions (the conjugate prior to the Categorical distribution) in the output space. Importantly, the vanilla Laplace Bridge comes with certain limitations. We analyze those and suggest a simple solution that compares favorably to other commonly used estimates of the softmax-Gaussian integral. We demonstrate that the resulting Dirichlet distribution has multiple advantages, in particular, more efficient computation of the uncertainty estimate and scaling to large datasets and networks like ImageNet and DenseNet. We further demonstrate the usefulness of this Dirichlet approximation by using it to construct a lightweight uncertainty-aware output ranking for ImageNet.
Motivation & Objective
- To address the high computational cost of Monte Carlo sampling for uncertainty estimation in Bayesian neural networks.
- To enable efficient, analytic computation of predictive uncertainty in large-scale classification tasks.
- To improve uncertainty-aware prediction by constructing a lightweight, adaptive top-k ranking system using Dirichlet uncertainty estimates.
- To correct limitations of the vanilla Laplace Bridge for practical use in Bayesian deep learning.
Proposed method
- The Laplace Bridge is applied in reverse: from a Gaussian approximation over logits to a Dirichlet approximation over softmax outputs.
- The method uses a basis transformation via the inverse-softmax function to make the Dirichlet distribution more amenable to Laplace approximation.
- A correction is introduced to address the limitations of the vanilla Laplace Bridge, particularly in handling the non-Gaussian support and multimodal behavior of the Dirichlet distribution.
- The resulting Dirichlet distribution is used to compute uncertainty-aware top-k predictions via quantile-based overlap detection on marginal Beta distributions.
- The algorithm dynamically selects a list of classes based on uncertainty overlap, ensuring high confidence while adapting list length.
- The method is compatible with any Gaussian posterior approximation over network weights, including Laplace or variational inference.
Experimental results
Research questions
- RQ1Can the Laplace Bridge be effectively adapted to provide fast, analytic uncertainty estimates in Bayesian deep learning?
- RQ2How does the corrected Laplace Bridge compare to Monte Carlo sampling and other integral approximations in terms of accuracy and efficiency?
- RQ3Can the Dirichlet approximation enable scalable uncertainty estimation on large-scale datasets like ImageNet?
- RQ4Can uncertainty-aware top-k prediction improve model performance while maintaining low inference cost?
- RQ5Does the adaptive uncertainty-based ranking preserve high-confidence predictions while reducing list length?
Key findings
- The proposed method achieves over 85% top-k accuracy on ImageNet with average list lengths below 3, significantly outperforming the standard top-1 accuracy of 74.4%.
- The uncertainty-aware top-k method maintains high confidence, as most predictions still yield a correct top-1 label, indicating that uncertainty does not degrade core performance.
- The method reduces test-time inference cost to O(K) complexity, offering a substantial speed-up over Monte Carlo sampling.
- The corrected Laplace Bridge outperforms common alternatives like the multi-class probit approximation in estimating the softmax-Gaussian integral.
- The approach enables adaptive prediction list lengths, with non-negligible cases where k=2, 3, or 10, demonstrating practical flexibility.
- The method is scalable and effective even for large models like DenseNet, showing promise for real-time, uncertainty-aware deployment.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.