Online Laplace Model Selection Revisited

Jihao Andreas Lin, Javier Antorán, José Miguel Hernández-Lobato
7/12/2023
cs.LGstat.ML

No confident code implementation found for this paper.

Abstract

The Laplace approximation provides a closed-form model selection objective for neural networks (NN). Online variants, which optimise NN parameters jointly with hyperparameters, like weight decay strength, have seen renewed interest in the Bayesian deep learning community. However, these methods violate Laplace's method's critical assumption that the approximation is performed around a mode of the loss, calling into question their soundness. This work re-derives online Laplace methods, showing them to target a variational bound on a mode-corrected variant of the Laplace evidence which does not make stationarity assumptions. Online Laplace and its mode-corrected counterpart share stationary points where 1. the NN parameters are a maximum a posteriori, satisfying the Laplace method's assumption, and 2. the hyperparameters maximise the Laplace evidence, motivating online methods. We demonstrate that these optima are roughly attained in practise by online algorithms using full-batch gradient descent on UCI regression datasets. The optimised hyperparameters prevent overfitting and outperform validation-based early stopping.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{lin2023online,
  title  = {Online Laplace Model Selection Revisited},
  author = {Jihao Andreas Lin and Javier Antorán and José Miguel Hernández-Lobato},
  year   = {2023},
  eprint = {2307.06093},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2307.06093v2}
}

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/2307.06093.svg)](https://codeofpaper.com/paper/2307.06093)

Discussion