A Principle of Least Action for the Training of Neural Networks

Skander Karkar, Ibrahim Ayed, Emmanuel de Bézenac, Patrick Gallinari
9/17/2020
stat.MLcs.LG

Official code: skander-karkar/LAP (2 stars, Python, last commit 2022-01-14).

Abstract

Neural networks have been achieving high generalization performance on many tasks despite being highly over-parameterized. Since classical statistical learning theory struggles to explain this behavior, much effort has recently been focused on uncovering the mechanisms behind it, in the hope of developing a more adequate theoretical framework and having a better control over the trained models.

Show full abstract

In this work, we adopt an alternate perspective, viewing the neural network as a dynamical system displacing input particles over time. We conduct a series of experiments and, by analyzing the network's behavior through its displacements, we show the presence of a low kinetic energy displacement bias in the transport map of the network, and link this bias with generalization performance. From this observation, we reformulate the learning problem as follows: finding neural networks which solve the task while transporting the data as efficiently as possible. This offers a novel formulation of the learning problem which allows us to provide regularity results for the solution network, based on Optimal Transport theory. From a practical viewpoint, this allows us to propose a new learning algorithm, which automatically adapts to the complexity of the given task, and leads to networks with a high generalization ability even in low data regimes.

View on arXivView PDF

Code Implementations(1)

skander-karkar/LAPOfficial100%

Code for paper A Principle of Least Action for the Training of Neural Networks, ECML PKDD 2020

20PythonJun 14, 20204 years ago

Similar Papers

Cite this paper

@article{karkar2020principle,
  title  = {A Principle of Least Action for the Training of Neural Networks},
  author = {Skander Karkar and Ibrahim Ayed and Emmanuel de Bézenac and Patrick Gallinari},
  year   = {2020},
  eprint = {2009.08372},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2009.08372}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2009.08372.svg)](https://codeofpaper.com/paper/2009.08372)

Discussion