HackerPapers

arXiv:2106.10165cs.LG

The Principles of Deep Learning Theory

Daniel A. Roberts, Sho Yaida, Boris Hanin

Abstract

This book develops an effective theory approach to understanding deep neural networks of practical relevance. Beginning from a first-principles component-level picture of networks, we explain how to determine an accurate description of the output of trained networks by solving layer-to-layer iteration equations and nonlinear learning dynamics. A main result is that the predictions of networks are described by nearly-Gaussian distributions, with the depth-to-width aspect ratio of the network controlling the deviations from the infinite-width Gaussian description. We explain how these effectively-deep networks learn nontrivial representations from training and more broadly analyze the mechanism of representation learning for nonlinear models. From a nearly-kernel-methods perspective, we find that the dependence of such models' predictions on the underlying learning algorithm can be expressed in a simple and universal way. To obtain these results, we develop the notion of representation group flow (RG flow) to characterize the propagation of signals through the network. By tuning networks to criticality, we give a practical solution to the exploding and vanishing gradient problem. We further explain how RG flow leads to near-universal behavior and lets us categorize networks built from different activation functions into universality classes. Altogether, we show that the depth-to-width ratio governs the effective model complexity of the ensemble of trained networks. By using information-theoretic techniques, we estimate the optimal aspect ratio at which we expect the network to be practically most useful and show how residual connections can be used to push this scale to arbitrary depths. With these tools, we can learn in detail about the inductive bias of architectures, hyperparameters, and optimizers.

arXiv comments
471 pages, to be published by Cambridge University Press; v2: hyperlinks fixed, index added
Journal reference
Cambridge University Press (2022)
DOI
doi:10.1017/9781009023405
Subjects
cs.LGMachine Learning cs.AIArtificial Intelligence hep-thHigh Energy Physics, Theory stat.MLMachine Learning (Statistics)

On Hacker News

Linked by 6 identifiable commenters in 6 comments across 6 threads, from Jun 2021 to Nov 2023. Found in 5 HN submissions from Jun 2021 to Feb 2026. Open submission discussions.

Comments linking this paper, per year.

Discussed in comments6 threads

  1. Understanding Deep Learning 1 comment
    • There is some yeah, there is a recent book on deep learning via renormalization https://arxiv.org/pdf/2106.10165.pdf. I have a discord https://discord.cofunctional.ai

      adamnemecekView on HNParent context

    • "The Principles of Deep Learning" paper https://arxiv.org/abs/2106.10165 has a rather rigorous (based on Quantum Field Theory (QFT) mathematical apparatus) analysis of modern deep learning with the similar insight. They suggest that the learning happens in the critical regimes.…

      quantum_mctsView on HNParent context

    • Not sure if foundational (quite a tall order in such a fast-moving field), but for sure a nice introduction into neural networks, and even mathematics in general (for a teenager, because it's nice to see numbers in action beyond school-level algebra): → Harrison Kinsley, Daniel…

      ly3xqhl8g9View on HNParent context

    • Thank you alok-g, I would just correct the links: -- article: https://arxiv.org/abs/2106.10165 -- book: https://arxiv.org/pdf/2106.10165 -- your summary: https://news.ycombinator.com/item?id=27564506 (the link to the post is that "under" the date. You posted two identical links…

      mdp2021View on HNParent context

    • I'd recommend anyone interested in the NTK and its limitations to check out Greg Yang's work [1] and the recent book by Roberts, Yaida, and Hanin [2]. There's clearly a lot more work to be done on neural network scaling limits; the NTK is overly simplistic (though useful). 1…

      r-zipView on HNParent context

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.