Last Layer Marginal Likelihood for Invariance Learning
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
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2019RandAugment: Practical automated data augmentation with a reduced search spacecited by 2,261
- 2015Weight Uncertainty in Neural Networkscited by 554
- 2015Importance Weighted Autoencoderscited by 454
- 2015Deep Kernel Learningcited by 440
- 2018Rotation Equivariant CNNs for Digital Pathologycited by 420
- 2019Optimizing Millions of Hyperparameters by Implicit Differentiationcited by 303
- 2014Scalable Variational Gaussian Process Classificationcited by 226
- 2019Population Based Augmentation: Efficient Learning of Augmentation Policy Schedulescited by 153
- 2016GPflow: A Gaussian process library using TensorFlowcited by 139
- 2020Efficiently Sampling Functions from Gaussian Process Posteriorscited by 125
17 more
- 2018A Kernel Theory of Modern Data Augmentationcited by 106
- 2021Scalable Marginal Likelihood Estimation for Model Selection in Deep Learningcited by 105
- 2016Stochastic Variational Deep Kernel Learningcited by 92
- 2021On Feature Collapse and Deep Kernel Learning for Single Forward Pass Uncertaintycited by 87
- 2021The Promises and Pitfalls of Deep Kernel Learningcited by 81
- 2014Manifold Gaussian Processes for Regressioncited by 79
- 2020Meta-Learning Symmetries by Reparameterizationcited by 75
- 2015On Sparse variational methods and the Kullback-Leibler divergence between stochastic processescited by 56
- 2020Convergence of Sparse Variational Inference in Gaussian Processes Regressioncited by 53
- 2020Learning Invariances in Neural Networkscited by 52
- 2018Learning Invariances using the Marginal Likelihoodcited by 51
- 2017Adversarial Examples, Uncertainty, and Transfer Testing Robustness in Gaussian Process Hybrid Deep Networkscited by 48
- 2020A Framework for Interdomain and Multioutput Gaussian Processescited by 47
- 2020Global inducing point variational posteriors for Bayesian neural networks and deep Gaussian processescited by 43
- 2021Data augmentation in Bayesian neural networks and the cold posterior effectcited by 36
- 2021Deep Neural Networks as Point Estimates for Deep Gaussian Processescited by 26
- 2019Bayesian Image Classification with Deep Convolutional Gaussian Processescited by 21
Built on by
Citing papers per year: 2021: 1; 2022: 5; 2023: 8; 2024: 6; 2025: 1.
21 papers.
Sort:
- 2024Variational Bayesian Last Layerscited by 67
- 2024Position: Bayesian Deep Learning is Needed in the Age of Large-Scale AIcited by 60
- 2022Bayesian Model Selection, the Marginal Likelihood, and Generalizationcited by 56
- 2022Invariance Learning in Deep Neural Networks with Differentiable Laplace Approximationscited by 42
- 2022Relaxing Equivariance Constraints with Non-stationary Continuous Filterscited by 41
- 2023Learning Layer-wise Equivariances Automatically using Gradientscited by 23
- 2024Gaussian Stochastic Weight Averaging for Bayesian Low-Rank Adaptation of Large Language Modelscited by 20
- 2022Learning Invariant Weights in Neural Networkscited by 16
- 2023Improving Neural Additive Models with Bayesian Principlescited by 15
- 2021Learning Augmentation Distributions using Transformed Risk Minimizationcited by 13
- 2023Modulated Neural ODEscited by 10
- 2023Promises and Pitfalls of the Linearized Laplace in Bayesian Optimizationcited by 10
9 more
- 2023Stochastic Marginal Likelihood Gradients using Neural Tangent Kernelscited by 10
- 2024A Generative Model of Symmetry Transformationscited by 10
- 2023Hyperparameter Optimization through Neural Network Partitioningcited by 8
- 2024Noether's razor: Learning Conserved Quantitiescited by 4
- 2023Evaluation of machine learning architectures on the quantification of epistemic and aleatoric uncertainties in complex dynamical systemscited by 2
- 2022A tradeoff between universality of equivariant models and learnability of symmetriescited by 1
- 2025On Equivariant Model Selection through the Lens of Uncertaintycited by 1
- 2023Uncertainty in Graph Contrastive Learning with Bayesian Neural Networkscited by 0
- 2024Twin: Tuning Learning Rate and Weight Decay of Deep Homogeneous Classifiers without Validationcited by 0
- 2025On Equivariant Model Selection through the Lens of Uncertainty23 Jun 2025
- 2024Noether's razor: Learning Conserved Quantities10 Oct 2024
- 2024Gaussian Stochastic Weight Averaging for Bayesian Low-Rank Adaptation of Large Language Models6 May 2024
- 2024Variational Bayesian Last Layers17 Apr 2024
- 2024Twin: Tuning Learning Rate and Weight Decay of Deep Homogeneous Classifiers without Validation8 Mar 2024
- 2024A Generative Model of Symmetry Transformations4 Mar 2024
- 2024Position: Bayesian Deep Learning is Needed in the Age of Large-Scale AI1 Feb 2024
- 2023Uncertainty in Graph Contrastive Learning with Bayesian Neural Networks30 Nov 2023
- 2023Learning Layer-wise Equivariances Automatically using Gradients9 Oct 2023
- 2023Evaluation of machine learning architectures on the quantification of epistemic and aleatoric uncertainties in complex dynamical systems27 Jun 2023
- 2023Stochastic Marginal Likelihood Gradients using Neural Tangent Kernels6 Jun 2023
- 2023Improving Neural Additive Models with Bayesian Principles26 May 2023
9 more
- 2023Hyperparameter Optimization through Neural Network Partitioning28 Apr 2023
- 2023Promises and Pitfalls of the Linearized Laplace in Bayesian Optimization17 Apr 2023
- 2023Modulated Neural ODEs26 Feb 2023
- 2022A tradeoff between universality of equivariant models and learnability of symmetries17 Oct 2022
- 2022Relaxing Equivariance Constraints with Non-stationary Continuous Filters14 Apr 2022
- 2022Learning Invariant Weights in Neural Networks25 Feb 2022
- 2022Bayesian Model Selection, the Marginal Likelihood, and Generalization23 Feb 2022
- 2022Invariance Learning in Deep Neural Networks with Differentiable Laplace Approximations22 Feb 2022
- 2021Learning Augmentation Distributions using Transformed Risk Minimization16 Nov 2021
- 2024Variational Bayesian Last Layerscited by 67
- 2024Position: Bayesian Deep Learning is Needed in the Age of Large-Scale AIcited by 60
- 2022Bayesian Model Selection, the Marginal Likelihood, and Generalizationcited by 56
- 2022Invariance Learning in Deep Neural Networks with Differentiable Laplace Approximationscited by 42
- 2022Relaxing Equivariance Constraints with Non-stationary Continuous Filterscited by 41
- 2023Learning Layer-wise Equivariances Automatically using Gradientscited by 23
- 2024Gaussian Stochastic Weight Averaging for Bayesian Low-Rank Adaptation of Large Language Modelscited by 20
- 2022Learning Invariant Weights in Neural Networkscited by 16
- 2023Improving Neural Additive Models with Bayesian Principlescited by 15
- 2021Learning Augmentation Distributions using Transformed Risk Minimizationcited by 13
- 2023Modulated Neural ODEscited by 10
- 2023Promises and Pitfalls of the Linearized Laplace in Bayesian Optimizationcited by 10
12 most cited of 21 All 21 (JSON)
- 2025On Equivariant Model Selection through the Lens of Uncertainty23 Jun 2025
- 2024Noether's razor: Learning Conserved Quantities10 Oct 2024
- 2024Gaussian Stochastic Weight Averaging for Bayesian Low-Rank Adaptation of Large Language Models6 May 2024
- 2024Variational Bayesian Last Layers17 Apr 2024
- 2024Twin: Tuning Learning Rate and Weight Decay of Deep Homogeneous Classifiers without Validation8 Mar 2024
- 2024A Generative Model of Symmetry Transformations4 Mar 2024
- 2024Position: Bayesian Deep Learning is Needed in the Age of Large-Scale AI1 Feb 2024
- 2023Uncertainty in Graph Contrastive Learning with Bayesian Neural Networks30 Nov 2023
- 2023Learning Layer-wise Equivariances Automatically using Gradients9 Oct 2023
- 2023Evaluation of machine learning architectures on the quantification of epistemic and aleatoric uncertainties in complex dynamical systems27 Jun 2023
- 2023Stochastic Marginal Likelihood Gradients using Neural Tangent Kernels6 Jun 2023
- 2023Improving Neural Additive Models with Bayesian Principles26 May 2023
12 newest of 21 All 21 (JSON)