Processing math: 100%



Home Page

Papers

Submissions

News

Editorial Board

Special Issues

Open Source Software

Proceedings (PMLR)

Data (DMLR)

Transactions (TMLR)

Search

Statistics

Login

Frequently Asked Questions

Contact Us



RSS Feed

Is SGD a Bayesian sampler? Well, almost

Chris Mingard, Guillermo Valle-Pérez, Joar Skalse, Ard A. Louis; 22(79):1−64, 2021.

Abstract

Deep neural networks (DNNs) generalise remarkably well in the overparameterised regime, suggesting a strong inductive bias towards functions with low generalisation error. We empirically investigate this bias by calculating, for a range of architectures and datasets, the probability PSGD(fS) that an overparameterised DNN, trained with stochastic gradient descent (SGD) or one of its variants, converges on a function f consistent with a training set S. We also use Gaussian processes to estimate the Bayesian posterior probability PB(fS) that the DNN expresses f upon random sampling of its parameters, conditioned on S. Our main findings are that PSGD(fS) correlates remarkably well with PB(fS) and that PB(fS) is strongly biased towards low-error and low complexity functions. These results imply that strong inductive bias in the parameter-function map (which determines PB(fS)), rather than a special property of SGD, is the primary explanation for why DNNs generalise so well in the overparameterised regime. While our results suggest that the Bayesian posterior PB(fS) is the first order determinant of PSGD(fS), there remain second order differences that are sensitive to hyperparameter tuning. A function probability picture, based on PSGD(fS) and/or PB(fS), can shed light on the way that variations in architecture or hyperparameter settings such as batch size, learning rate, and optimiser choice, affect DNN performance.

[abs][pdf][bib]       
© JMLR 2021. (edit, beta)

Mastodon