A statistical mechanics framework for Bayesian deep neural networks beyond the infinite-width limit - CNRS - Centre national de la recherche scientifique
Article Dans Une Revue Nature Machine Intelligence Année : 2023

A statistical mechanics framework for Bayesian deep neural networks beyond the infinite-width limit

Résumé

Despite the practical success of deep neural networks, a comprehensive theoretical framework that can predict practically relevant scores, such as the test accuracy, from knowledge of the training data is currently lacking. Huge simplifications arise in the infinite-width limit, where the number of units $N_\ell$ in each hidden layer ($\ell=1,\dots, L$, being $L$ the depth of the network) far exceeds the number $P$ of training examples. This idealisation, however, blatantly departs from the reality of deep learning practice. Here, we use the toolset of statistical mechanics to overcome these limitations and derive an approximate partition function for fully-connected deep neural architectures, which encodes information about the trained models. The computation holds in the ''thermodynamic limit'' where both $N_\ell$ and $P$ are large and their ratio $\alpha_\ell = P/N_\ell$ is finite. This advance allows us to obtain (i) a closed formula for the generalisation error associated to a regression task in a one-hidden layer network with finite $\alpha_1$; (ii) an approximate expression of the partition function for deep architectures (via an ''effective action'' that depends on a finite number of ''order parameters''); (iii) a link between deep neural networks in the proportional asymptotic limit and Student's $t$ processes.
Fichier principal
Vignette du fichier
2209.04882.pdf (1.6 Mo) Télécharger le fichier
Origine Fichiers éditeurs autorisés sur une archive ouverte

Dates et versions

hal-04387671 , version 1 (08-04-2024)

Identifiants

Citer

R. Pacelli, S. Ariosto, M. Pastore, F. Ginelli, M. Gherardi, et al.. A statistical mechanics framework for Bayesian deep neural networks beyond the infinite-width limit. Nature Machine Intelligence, 2023, 5, pp.1497-1507. ⟨10.1038/s42256-023-00767-6⟩. ⟨hal-04387671⟩
39 Consultations
31 Téléchargements

Altmetric

Partager

More