English

Connections between physics, mathematics and deep learning

Machine Learning 2019-08-27 v3 High Energy Physics - Theory Machine Learning

Abstract

Starting from the Fermat's principle of least action, which governs classical and quantum mechanics and from the theory of exterior differential forms, which governs the geometry of curved manifolds, we show how to derive the equations governing neural networks in an intrinsic, coordinate invariant way, where the loss function plays the role of the Hamiltonian. To be covariant, these equations imply a layer metric which is instrumental in pretraining and explains the role of conjugation when using complex numbers. The differential formalism also clarifies the relation of the gradient descent optimizer with Aristotelian and Newtonian mechanics and why large learning steps break the logic of the linearization procedure. We hope that this formal presentation of the differential geometry of neural networks will encourage some physicists to dive into deep learning, and reciprocally, that the specialists of deep learning will better appreciate the close interconnection of their subject with the foundations of classical and quantum field theory.

Keywords

Cite

@article{arxiv.1811.00576,
  title  = {Connections between physics, mathematics and deep learning},
  author = {Jean Thierry-Mieg},
  journal= {arXiv preprint arXiv:1811.00576},
  year   = {2019}
}

Comments

Version 1 and 2 title was: How the fundamental concepts of mathematics and physics explain deep learning. Version 3 with the new title is accepted in LHEP. It is enriched by a new chapter on the Bayesian Information criterion seen as an application of renormalisation theory. 19 pages, 22 references, no figure

R2 v1 2026-06-23T05:01:14.547Z