[Paper Review] Is MC Dropout Bayesian?
This paper challenges the assumption that Monte Carlo (MC) Dropout provides Bayesian uncertainty quantification, demonstrating it fundamentally alters the true Bayesian model and assigns zero probability to the true parameters. Instead, it proposes a generic, flexible variational inference engine in PyTorch using structured (diagonal + low-rank) normal and Gaussian mixture variational families for accurate, scalable uncertainty estimation in deep learning.
MC Dropout is a mainstream "free lunch" method in medical imaging for approximate Bayesian computations (ABC). Its appeal is to solve out-of-the-box the daunting task of ABC and uncertainty quantification in Neural Networks (NNs); to fall within the variational inference (VI) framework; and to propose a highly multimodal, faithful predictive posterior. We question the properties of MC Dropout for approximate inference, as in fact MC Dropout changes the Bayesian model; its predictive posterior assigns $0$ probability to the true model on closed-form benchmarks; the multimodality of its predictive posterior is not a property of the true predictive posterior but a design artefact. To address the need for VI on arbitrary models, we share a generic VI engine within the pytorch framework. The code includes a carefully designed implementation of structured (diagonal plus low-rank) multivariate normal variational families, and mixtures thereof. It is intended as a go-to no-free-lunch approach, addressing shortcomings of mean-field VI with an adjustable trade-off between expressivity and computational complexity.
Motivation & Objective
- To critically assess whether MC Dropout genuinely performs Bayesian approximate inference in neural networks.
- To demonstrate that MC Dropout modifies the underlying Bayesian model and fails to assign non-zero probability to the true model parameters.
- To develop a general-purpose, efficient variational inference engine for arbitrary deep learning models with adjustable expressivity and computational cost.
- To provide a practical, open-source PyTorch-based implementation of structured and mixture variational families for improved uncertainty quantification.
- To offer a reliable alternative to MC Dropout that maintains fidelity to the true posterior distribution.
Proposed method
- The paper formulates variational inference as maximizing the Evidence Lower Bound (ELBO), using a flexible variational family to approximate the true posterior.
- It introduces a structured normal variational family combining diagonal and low-rank covariance components to balance expressivity and computational cost.
- It extends the framework to mixtures of such structured normals (sGMM-VI) for modeling multimodal posteriors.
- The method is implemented in PyTorch and designed for plug-and-play use with any neural network architecture.
- The approach is evaluated on closed-form benchmarks, including multivariate normal and RBF regression tasks, using KL divergence and log-likelihood as metrics.
- MC Dropout is compared against MAP, mean-field VI, and structured VI across multiple synthetic setups to assess posterior fit quality.
Experimental results
Research questions
- RQ1Does MC Dropout truly perform Bayesian inference, or does it alter the underlying probabilistic model?
- RQ2What is the true predictive posterior distribution under MC Dropout, and how does it compare to the true posterior in closed-form settings?
- RQ3Can a generic variational inference engine be designed that balances expressivity and computational efficiency for deep learning models?
- RQ4How does the performance of structured variational families (diagonal + low-rank) compare to MC Dropout and mean-field VI in terms of posterior approximation quality?
- RQ5Does the multimodal nature of MC Dropout's predictive posterior reflect true model uncertainty or arise from a design artifact?
Key findings
- MC Dropout assigns zero probability to the true model parameters in closed-form benchmarks, indicating it does not approximate the true posterior.
- The multimodal predictive posterior of MC Dropout is an artefact of its sampling mechanism, not a reflection of true epistemic uncertainty.
- In RBF regression, MC Dropout's log-likelihood of the true parameters is −∞, while structured VI methods assign non-zero, meaningful likelihoods.
- The structured normal variational family (sN-VI) with low-rank components achieves a KL divergence of 0.0979 to the true posterior in a multivariate normal task, significantly outperforming MC Dropout.
- The sN-VI with 4 low-rank components achieved a KL divergence of 0.8774, while MC Dropout could not even compute a finite KL divergence in the sanity check.
- The proposed variational engine enables a tunable trade-off between model expressivity and computational cost, offering a robust alternative to MC Dropout.
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.