Invariance Learning in Deep Neural Networks with Differentiable Laplace Approximations

Alexander Immer, Tycho F. A. van der Ouderaa, Gunnar Rätsch, Vincent Fortuin, Mark van der Wilk
2/22/2022
stat.MLcs.LG
bayesian

Official code: tychovdo/lila (22 stars, Shell, last commit 2022-11-16).

Abstract

Data augmentation is commonly applied to improve performance of deep learning by enforcing the knowledge that certain transformations on the input preserve the output. Currently, the data augmentation parameters are chosen by human effort and costly cross-validation, which makes it cumbersome to apply to new datasets.

Show full abstract

We develop a convenient gradient-based method for selecting the data augmentation without validation data during training of a deep neural network. Our approach relies on phrasing data augmentation as an invariance in the prior distribution on the functions of a neural network, which allows us to learn it using Bayesian model selection. This has been shown to work in Gaussian processes, but not yet for deep neural networks. We propose a differentiable Kronecker-factored Laplace approximation to the marginal likelihood as our objective, which can be optimised without human supervision or validation data. We show that our method can successfully recover invariances present in the data, and that this improves generalisation and data efficiency on image datasets.

View on arXivView PDF

Code Implementations(1)

tychovdo/lilaOfficial100%

Code for "Invariance Learning in Deep Neural Networks with Differentiable Laplace Approximations"

221Shell, PythonOct 11, 20224 years ago

Similar Papers

Cite this paper

@article{immer2022invariance,
  title  = {Invariance Learning in Deep Neural Networks with Differentiable Laplace Approximations},
  author = {Alexander Immer and Tycho F. A. van der Ouderaa and Gunnar Rätsch and Vincent Fortuin and Mark van der Wilk},
  year   = {2022},
  eprint = {2202.10638},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2202.10638}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2202.10638.svg)](https://codeofpaper.com/paper/2202.10638)

Discussion