How do deep ensembles capture epistemic uncertainty?

Quick Overview

Asks how an ensemble of independently trained neural networks estimates epistemic uncertainty and how that differs from aleatoric noise. Tests understanding of member diversity, approximate Bayesian averaging, entropy and variance decompositions, and behavior on out-of-distribution inputs.

How do deep ensembles capture epistemic uncertainty?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: hard

Interview Round: Other

How do deep ensembles capture epistemic uncertainty? Explain where the uncertainty signal comes from and how you would separate it from aleatoric uncertainty in a prediction. ```hint Where the members differ Several networks trained on the same data fit it about equally well. Ask where in input space they are forced to agree and where they are free to differ. ``` ```hint Two kinds of entropy For classification, compare the entropy of the averaged prediction with the average of each member's entropy. When are those two numbers equal? ``` ### What a Strong Answer Covers - How a deep ensemble is built and why its members end up functionally different - Why disagreement between members measures epistemic uncertainty, and how this relates to a Bayesian model average - A decomposition of total uncertainty into aleatoric and epistemic parts for classification, and the regression analogue - How the estimate behaves with more data and on out-of-distribution inputs - Costs and failure modes ### Follow-up Questions - How does a deep ensemble compare with MC dropout as an approximation to the weight posterior? - Would you train members on bootstrap samples (bagging) or on the full dataset? What changes? - How could you get similar uncertainty estimates with less training or inference cost? - Give an example of an out-of-distribution input on which all members could be confidently wrong together.

Overview: Asks how an ensemble of independently trained neural networks estimates epistemic uncertainty and how that differs from aleatoric noise. Tests understanding of member diversity, approximate Bayesian averaging, entropy and variance decompositions, and behavior on out-of-distribution inputs.

PracHub logo
General
Nov 25, 2026
hardMachine Learning EngineerOtherMachine Learning
0
0

How do deep ensembles capture epistemic uncertainty?

Explain where the uncertainty signal comes from and how you would separate it from aleatoric uncertainty in a prediction.

What a Strong Answer Covers Guidance

  • How a deep ensemble is built and why its members end up functionally different
  • Why disagreement between members measures epistemic uncertainty, and how this relates to a Bayesian model average
  • A decomposition of total uncertainty into aleatoric and epistemic parts for classification, and the regression analogue
  • How the estimate behaves with more data and on out-of-distribution inputs
  • Costs and failure modes

Follow-up Questions Guidance

  • How does a deep ensemble compare with MC dropout as an approximation to the weight posterior?
  • Would you train members on bootstrap samples (bagging) or on the full dataset? What changes?
  • How could you get similar uncertainty estimates with less training or inference cost?
  • Give an example of an out-of-distribution input on which all members could be confidently wrong together.