## The edge of chaos: quantum field theory and deep neural networks

Kevin T. Grosvenor, Ro Jefferson

SciPost Phys. 12, 081 (2022) · published 3 March 2022

- doi: 10.21468/SciPostPhys.12.3.081
- Submissions/Reports

### Abstract

We explicitly construct the quantum field theory corresponding to a general class of deep neural networks encompassing both recurrent and feedforward architectures. We first consider the mean-field theory (MFT) obtained as the leading saddlepoint in the action, and derive the condition for criticality via the largest Lyapunov exponent. We then compute the loop corrections to the correlation function in a perturbative expansion in the ratio of depth T to width N, and find a precise analogy with the well-studied O(N) vector model, in which the variance of the weight initializations plays the role of the 't Hooft coupling. In particular, we compute both the O(1) corrections quantifying fluctuations from typicality in the ensemble of networks, and the subleading O(T/N) corrections due to finite-width effects. These provide corrections to the correlation length that controls the depth to which information can propagate through the network, and thereby sets the scale at which such networks are trainable by gradient descent. Our analysis provides a first-principles approach to the rapidly emerging NN-QFT correspondence, and opens several interesting avenues to the study of criticality in deep neural networks.

### Cited by 8

### Authors / Affiliations: mappings to Contributors and Organizations

See all Organizations.-
^{1}^{2}Kevin Grosvenor, -
^{3}Ro Jefferson

^{1}Max-Planck-Institut für Physik komplexer Systeme / Max Planck Institute for the Physics of Complex Systems^{2}Instituut Lorentz / Lorentz Institute^{3}Nordisk Institut for Teoretisk Fysik / Nordic Institute for Theoretical Physics [NORDITA]

- Deutsche Forschungsgemeinschaft / German Research FoundationDeutsche Forschungsgemeinschaft [DFG]
- Horizon 2020 (through Organization: European Commission [EC])