[Paper Review] Data augmentation in Bayesian neural networks and the cold posterior effect
This paper proposes principled Bayesian neural network (BNN) training with data augmentation by introducing exact likelihood computation in a finite-orbit setting and tight multi-sample bounds in the full-orbit setting. It demonstrates that the cold posterior effect persists even with these well-defined likelihoods, indicating it is not an artifact of improper data augmentation handling but likely stems from data curation or prior misspecification.
Bayesian neural networks that incorporate data augmentation implicitly use a ``randomly perturbed log-likelihood [which] does not have a clean interpretation as a valid likelihood function'' (Izmailov et al. 2021). Here, we provide several approaches to developing principled Bayesian neural networks incorporating data augmentation. We introduce a ``finite orbit'' setting which allows likelihoods to be computed exactly, and give tight multi-sample bounds in the more usual ``full orbit'' setting. These models cast light on the origin of the cold posterior effect. In particular, we find that the cold posterior effect persists even in these principled models incorporating data augmentation. This suggests that the cold posterior effect cannot be dismissed as an artifact of data augmentation using incorrect likelihoods.
Motivation & Objective
- To address the long-standing issue of improper data augmentation in Bayesian neural networks, where standard methods produce a 'randomly perturbed log-likelihood' without a valid probabilistic interpretation.
- To develop a principled framework for incorporating data augmentation into BNNs by introducing a finite-orbit setting for exact likelihood computation and multi-sample bounds for the general case.
- To investigate whether the cold posterior effect (CPE) is an artifact of flawed data augmentation in BNNs, particularly due to invalid likelihoods.
- To evaluate the CPE in models with clean, well-defined likelihoods to isolate its true origin among competing hypotheses.
- To clarify the role of data curation and prior misspecification in the CPE by eliminating the confounding factor of improper likelihoods from data augmentation.
Proposed method
- Introduces a 'finite orbit' setting with a small, discrete set of admissible augmentations, enabling exact computation of the log-likelihood in Bayesian neural networks.
- Proposes multi-sample estimators that average network logits or probabilities to form tight lower bounds on the intractable log-likelihoods in the full-orbit setting.
- Derives a training objective based on averaging logits or probabilities across multiple augmented samples, which yields a valid and tighter bound than single-sample estimators.
- Applies the method to both classification and regression tasks, generalizing beyond standard classification settings.
- Uses stochastic gradient Langevin dynamics (SGLD) and other Bayesian inference methods to train and evaluate BNNs with principled data augmentation.
- Employs a temperature scaling (T) in the posterior to study the cold posterior effect, comparing performance and likelihoods at T=1 and T<1.
Experimental results
Research questions
- RQ1Does the cold posterior effect persist when data augmentation is incorporated into Bayesian neural networks using principled, well-defined likelihoods?
- RQ2Can exact or tight multi-sample bounds on the log-likelihood be derived for data-augmented BNNs, and do they improve model calibration and performance?
- RQ3Is the cold posterior effect an artifact of improper likelihoods arising from naive data augmentation, or does it reflect deeper issues in model specification?
- RQ4How does the presence or absence of the cold posterior effect in models with and without data augmentation inform the true origin of the effect?
- RQ5To what extent do data curation and prior misspecification explain the cold posterior effect, now that the confounding factor of flawed likelihoods is removed?
Key findings
- The cold posterior effect persists even in BNNs with exact likelihoods in the finite-orbit setting and tight multi-sample bounds in the full-orbit setting, indicating it is not an artifact of improper likelihoods from data augmentation.
- The standard single-sample training objective used in prior work (e.g., Wenzel et al., 2020) produces a loose bound on the true log-likelihood, which may have contributed to misleading interpretations of the CPE.
- Multi-sample estimators based on averaging logits or probabilities yield tighter bounds than single-sample methods and are applicable to a broad class of likelihood functions, unlike previous approaches restricted to Gaussian or Pólya-Gamma approximations.
- The finite-orbit setting allows for exact computation of the log-likelihood, providing a clean benchmark for evaluating principled data-augmented BNNs.
- The absence of the cold posterior effect without data augmentation, combined with its persistence with principled data augmentation, suggests that the lack of CPE in non-augmented models may be an artifact of using an incorrect model, not a sign of correctness.
- The results support the hypothesis that the cold posterior effect is more likely due to data curation (e.g., multiple annotators labeling images) or prior misspecification than to flawed data augmentation in BNNs.
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.