mlsanityData to 7 Oct 2026

Last Layer Marginal Likelihood for Invariance Learning

arXiv 2106.07512 ↗First posted 14 Jun 2021stat.ML cs.LGcited by 21

Not on the map. Why?

Abstract (arXiv)

Data augmentation is often used to incorporate inductive biases into models. Traditionally, these are hand-crafted and tuned with cross validation. The Bayesian paradigm for model selection provides a path towards end-to-end learning of invariances using only the training data, by optimising the marginal likelihood. Computing the marginal likelihood is hard for neural networks, but success with tractable approaches that compute the marginal likelihood for the last layer only raises the question of whether this convenient approach might be employed for learning invariances. We show partial success on standard benchmarks, in the low-data regime and on a medical imaging dataset by designing a custom optimisation routine. Introducing a new lower bound to the marginal likelihood allows us to perform inference for a larger class of likelihood functions than before. On the other hand, we demonstrate failure modes on the CIFAR10 dataset, where the last layer approximation is not sufficient due to the increased complexity of our neural network. Our results indicate that once more sophisticated approximations become available the marginal likelihood is a promising approach for invariance learning in neural networks.

Key facts. Cited by 21 papers in the map (data through 7 Oct 2026). Builds on 29 of its 45 references that are in the map. First posted on arXiv 14 Jun 2021.

Builds on

29 of 45 references.

References · 29

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  3. 2019RandAugment: Practical automated data augmentation with a reduced search spacecited by 2,261
  4. 2015Weight Uncertainty in Neural Networkscited by 554
  5. 2015Importance Weighted Autoencoderscited by 454
  6. 2015Deep Kernel Learningcited by 440
  7. 2018Rotation Equivariant CNNs for Digital Pathologycited by 420
  8. 2019Optimizing Millions of Hyperparameters by Implicit Differentiationcited by 303
  9. 2014Scalable Variational Gaussian Process Classificationcited by 226
  10. 2019Population Based Augmentation: Efficient Learning of Augmentation Policy Schedulescited by 153
  11. 2016GPflow: A Gaussian process library using TensorFlowcited by 139
  12. 2020Efficiently Sampling Functions from Gaussian Process Posteriorscited by 125
17 more
  1. 2018A Kernel Theory of Modern Data Augmentationcited by 106
  2. 2021Scalable Marginal Likelihood Estimation for Model Selection in Deep Learningcited by 105
  3. 2016Stochastic Variational Deep Kernel Learningcited by 92
  4. 2021On Feature Collapse and Deep Kernel Learning for Single Forward Pass Uncertaintycited by 87
  5. 2021The Promises and Pitfalls of Deep Kernel Learningcited by 81
  6. 2014Manifold Gaussian Processes for Regressioncited by 79
  7. 2020Meta-Learning Symmetries by Reparameterizationcited by 75
  8. 2015On Sparse variational methods and the Kullback-Leibler divergence between stochastic processescited by 56
  9. 2020Convergence of Sparse Variational Inference in Gaussian Processes Regressioncited by 53
  10. 2020Learning Invariances in Neural Networkscited by 52
  11. 2018Learning Invariances using the Marginal Likelihoodcited by 51
  12. 2017Adversarial Examples, Uncertainty, and Transfer Testing Robustness in Gaussian Process Hybrid Deep Networkscited by 48
  13. 2020A Framework for Interdomain and Multioutput Gaussian Processescited by 47
  14. 2020Global inducing point variational posteriors for Bayesian neural networks and deep Gaussian processescited by 43
  15. 2021Data augmentation in Bayesian neural networks and the cold posterior effectcited by 36
  16. 2021Deep Neural Networks as Point Estimates for Deep Gaussian Processescited by 26
  17. 2019Bayesian Image Classification with Deep Convolutional Gaussian Processescited by 21

Built on by

Cited by year

Citing papers per year: 2021: 1; 2022: 5; 2023: 8; 2024: 6; 2025: 1.

21 papers.

Sort:

  1. 2024Variational Bayesian Last Layerscited by 67
  2. 2024Position: Bayesian Deep Learning is Needed in the Age of Large-Scale AIcited by 60
  3. 2022Bayesian Model Selection, the Marginal Likelihood, and Generalizationcited by 56
  4. 2022Invariance Learning in Deep Neural Networks with Differentiable Laplace Approximationscited by 42
  5. 2022Relaxing Equivariance Constraints with Non-stationary Continuous Filterscited by 41
  6. 2023Learning Layer-wise Equivariances Automatically using Gradientscited by 23
  7. 2024Gaussian Stochastic Weight Averaging for Bayesian Low-Rank Adaptation of Large Language Modelscited by 20
  8. 2022Learning Invariant Weights in Neural Networkscited by 16
  9. 2023Improving Neural Additive Models with Bayesian Principlescited by 15
  10. 2021Learning Augmentation Distributions using Transformed Risk Minimizationcited by 13
  11. 2023Modulated Neural ODEscited by 10
  12. 2023Promises and Pitfalls of the Linearized Laplace in Bayesian Optimizationcited by 10
9 more
  1. 2023Stochastic Marginal Likelihood Gradients using Neural Tangent Kernelscited by 10
  2. 2024A Generative Model of Symmetry Transformationscited by 10
  3. 2023Hyperparameter Optimization through Neural Network Partitioningcited by 8
  4. 2024Noether's razor: Learning Conserved Quantitiescited by 4
  5. 2023Evaluation of machine learning architectures on the quantification of epistemic and aleatoric uncertainties in complex dynamical systemscited by 2
  6. 2022A tradeoff between universality of equivariant models and learnability of symmetriescited by 1
  7. 2025On Equivariant Model Selection through the Lens of Uncertaintycited by 1
  8. 2023Uncertainty in Graph Contrastive Learning with Bayesian Neural Networkscited by 0
  9. 2024Twin: Tuning Learning Rate and Weight Decay of Deep Homogeneous Classifiers without Validationcited by 0