Skip to main content
QUICK REVIEW

[Paper Review] On Uncertainty, Tempering, and Data Augmentation in Bayesian Classification

Sanyam Kapoor, Wesley J. Maddox|arXiv (Cornell University)|Mar 30, 2022
Gaussian Processes and Bayesian InferenceComputer Science9 citations
TL;DR

This paper proposes explicitly modeling aleatoric uncertainty in Bayesian neural networks for classification using a Dirichlet observation model, which eliminates the need for posterior tempering. It demonstrates that data augmentation effectively increases aleatoric uncertainty, and that cold posteriors (tempered with T < 1) naturally reflect this, while the Dirichlet model achieves superior performance without tempering by directly controlling uncertainty via concentration parameters.

ABSTRACT

Aleatoric uncertainty captures the inherent randomness of the data, such as measurement noise. In Bayesian regression, we often use a Gaussian observation model, where we control the level of aleatoric uncertainty with a noise variance parameter. By contrast, for Bayesian classification we use a categorical distribution with no mechanism to represent our beliefs about aleatoric uncertainty. Our work shows that explicitly accounting for aleatoric uncertainty significantly improves the performance of Bayesian neural networks. We note that many standard benchmarks, such as CIFAR, have essentially no aleatoric uncertainty. Moreover, we show data augmentation in approximate inference has the effect of softening the likelihood, leading to underconfidence and profoundly misrepresenting our honest beliefs about aleatoric uncertainty. Accordingly, we find that a cold posterior, tempered by a power greater than one, often more honestly reflects our beliefs about aleatoric uncertainty than no tempering -- providing an explicit link between data augmentation and cold posteriors. We show that we can match or exceed the performance of posterior tempering by using a Dirichlet observation model, where we explicitly control the level of aleatoric uncertainty, without any need for tempering.

Motivation & Objective

  • To address the lack of explicit aleatoric uncertainty modeling in Bayesian classification, where standard softmax likelihoods do not account for label noise or data uncertainty.
  • To investigate how data augmentation influences the effective level of aleatoric uncertainty in approximate Bayesian inference.
  • To explain the cold posterior effect as a consequence of misrepresenting aleatoric uncertainty due to data augmentation and model misspecification.
  • To propose a Dirichlet observation model that directly controls aleatoric uncertainty, eliminating the need for posterior tempering.
  • To demonstrate that proper aleatoric uncertainty modeling leads to better performance and more honest uncertainty estimates than tempering or standard likelihoods.

Proposed method

  • Interprets the standard softmax likelihood in Bayesian neural networks as a Dirichlet distribution over class probabilities, enabling explicit modeling of aleatoric uncertainty.
  • Introduces a noisy Dirichlet model that treats the concentration parameter as input-dependent, allowing the model to adapt uncertainty per input.
  • Shows that data augmentation softens the likelihood, effectively increasing aleatoric uncertainty, which explains the cold posterior effect.
  • Demonstrates that posterior tempering with T < 1 corresponds to increasing the concentration parameter of the Dirichlet distribution for the true class, thus modeling higher confidence.
  • Empirically evaluates performance on CIFAR and other benchmarks, comparing standard BNNs, tempered posteriors, and the proposed Dirichlet model.
  • Uses Bayesian neural networks with approximate inference (e.g., variational inference) and evaluates predictive accuracy and uncertainty calibration.

Experimental results

Research questions

  • RQ1Why does the cold posterior effect persist in Bayesian neural networks, and is it a sign of model misspecification?
  • RQ2How does data augmentation affect the effective level of aleatoric uncertainty in Bayesian classification?
  • RQ3Can aleatoric uncertainty be explicitly modeled in classification, similar to regression with noise variance?
  • RQ4Does a Dirichlet observation model eliminate the need for posterior tempering in Bayesian neural networks?
  • RQ5How does explicit aleatoric uncertainty modeling improve predictive performance and uncertainty calibration?

Key findings

  • Data augmentation increases the effective aleatoric uncertainty in Bayesian neural networks, which explains why cold posteriors (T < 1) often yield better performance than T = 1.
  • The cold posterior effect arises because standard likelihoods fail to represent the increased aleatoric uncertainty induced by data augmentation.
  • The proposed Dirichlet observation model allows direct control over aleatoric uncertainty via concentration parameters, matching or exceeding performance of tempered posteriors without tempering.
  • Models with properly specified aleatoric uncertainty do not require posterior tempering, indicating that tempering is a symptom of model misspecification rather than a necessary correction.
  • The lack of a cold posterior effect in models without data augmentation is an artifact of model misspecification, not a fundamental property of Bayesian inference.
  • Properly modeling aleatoric uncertainty leads to more honest uncertainty estimates and improved predictive accuracy, especially under distribution shift.

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.