Skip to main content
QUICK REVIEW

[Paper Review] Notes on the Behavior of MC Dropout

Francesco Verdoja, Ville Kyrki|arXiv (Cornell University)|Aug 6, 2020
Adversarial Robustness in Machine LearningComputer Science16 references27 citations
TL;DR

This paper provides a theoretical and empirical analysis of Monte-Carlo Dropout (MCD) for uncertainty estimation in deep neural networks, revealing that MCD uncertainty is inherently biased and scales with network output magnitude and dropout rate. The study demonstrates that MCD variance depends on architectural choices—particularly dropout placement and rate—rather than data variance, urging careful hyperparameter tuning and architectural design for reliable uncertainty estimates.

ABSTRACT

Among the various options to estimate uncertainty in deep neural networks, Monte-Carlo dropout is widely popular for its simplicity and effectiveness. However the quality of the uncertainty estimated through this method varies and choices in architecture design and in training procedures have to be carefully considered and tested to obtain satisfactory results. In this paper we present a study offering a different point of view on the behavior of Monte-Carlo dropout, which enables us to observe a few interesting properties of the technique to keep in mind when considering its use for uncertainty estimation.

Motivation & Objective

  • To understand the theoretical behavior of Monte-Carlo Dropout (MCD) in simple linear networks and extend insights to deeper non-linear models.
  • To identify architectural and training choices that critically affect the quality of uncertainty estimates from MCD.
  • To correct and extend prior theoretical analyses of MCD, particularly regarding optimal weight convergence and bias in expected output.
  • To empirically validate theoretical findings on uncertainty scaling with output magnitude and dropout rate in complex networks.
  • To guide practitioners in selecting dropout rates and layer placements to improve uncertainty calibration in real-world applications.

Proposed method

  • Theoretical analysis of a single-layer linear network with dropout, deriving expected output and variance using Bernoulli-distributed dropout masks.
  • Derivation of optimal weights minimizing mean squared error, showing a systematic bias in expected output when weights converge uniformly.
  • Expression of expected output and variance in terms of dropout rate $p_d$ and network size $K$, revealing dependence on $p_d$ and $K$ but not on data size or variance.
  • Empirical evaluation on non-linear networks trained on synthetic datasets with known ground-truth uncertainty, including noisy constant functions and deterministic functions.
  • Comparison of MCD uncertainty across different architectures: with and without bias in the final layer, and with varying dropout rates.
  • Use of 300 forward passes per input to estimate mean and standard deviation, visualizing uncertainty as $\sigma$, $2\sigma$, and $3\sigma$ bands.

Experimental results

Research questions

  • RQ1How does the expected output of a Monte-Carlo Dropout network deviate from the true target when weights converge uniformly?
  • RQ2What is the dependence of MCD variance on the dropout rate $p_d$ and network size $K$ in a linear model?
  • RQ3Why does MCD uncertainty fail to concentrate with increasing data size, and how does this affect uncertainty calibration?
  • RQ4How does the presence of a bias term in the final layer affect MCD uncertainty estimation?
  • RQ5To what extent does MCD uncertainty scale with the magnitude of the network's predicted output?

Key findings

  • The expected output of a linear MCD network is biased relative to the true target, with the bias diminishing as network size $K$ increases.
  • The variance of MCD predictions depends on both the dropout rate $p_d$ and the number of units $K$, but is independent of the number of training samples $n$ or data variance.
  • When the final linear layer includes a bias term, MCD can suppress uncertainty entirely by shifting all weight values to zero and encoding the output in the bias, leading to zero variance.
  • With no bias in the final layer, MCD produces constant uncertainty proportional to the dropout rate $p_d$, independent of input but dependent on output magnitude.
  • MCD uncertainty scales proportionally with the magnitude of the predicted output, which can degrade uncertainty quality in tasks with widely varying outputs.
  • Theoretical insights from linear models hold in deeper non-linear networks, confirming that dropout rate and layer placement critically affect uncertainty calibration.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.