Deep neural networks have an inbuilt Occam’s razor

C Chris Mingard H Henry Rees G Guillermo Valle-Pérez A Ard A. Louis (Department of Physics, Rudolf Peierls Centre for Theoretical Physics)

Abstract

Abstract The remarkable performance of overparameterized deep neural networks (DNNs) must arise from an interplay between network architecture, training algorithms, and structure in the data. To disentangle these three components for supervised learning, we apply a Bayesian picture based on the functions expressed by a DNN. The prior over functions is determined by the network architecture, which we vary by exploiting a transition between ordered and chaotic regimes. For Boolean function classification, we approximate the likelihood using the error spectrum of functions on data. Combining this with the prior yields an accurate prediction for the posterior, measured for DNNs trained with stochastic gradient descent. This analysis shows that structured data, together with a specific Occam’s razor-like inductive bias towards (Kolmogorov) simple functions that exactly counteracts the exponential growth of the number of functions with complexity, is a key to the success of DNNs.

Article Details

Volume / Issue Vol. 16, Issue 1
Published January 14, 2025
ISSN 2041-1723
Publisher Nature Portfolio

Journal Info

Nature Communications

Nature Portfolio

ISSN: 2041-1723 Open Access Life Sciences

Authors (4)

C

Chris Mingard

H

Henry Rees

G

Guillermo Valle-Pérez

A

Ard A. Louis

Department of Physics, Rudolf Peierls Centre for Theoretical Physics