PDE Models for Deep Neural Networks: Learning Theory, Calculus of Variations and Optimal Control
Preprint
Abstract
We propose a partial differential-integral equation (PDE) framework for deep neural networks (DNNs) and their associated learning problem by taking the continuum limits of both network width and depth. The proposed model captures the complex interactions among hidden nodes, overcoming limitations of traditional discrete and ordinary differential equation (ODE)-based models. We explore the well-posedness of the forward propagation problem, analyze the existence and properties of minimizers for the learning task, and provide a detailed examination of necessary and sufficient conditions for the existence of critical points. Controllability and optimality conditions for the learning task with its associated PDE forward problem are established using variational calculus, the Pontryagin Maximum Principle, and the Hamilton-Jacobi-Bellman equation, framing the deep learning process as a PDE-constrained optimization problem. In this context, we prove the existence of viscosity solutions for the latter and we establish optimal feedback controls based on the value functional. This approach facilitates the development of new network architectures and numerical methods that improve upon traditional layer-by-layer gradient descent techniques by introducing forward-backward PDE discretization. The paper provides a mathematical foundation for connecting neural networks, PDE theory, variational analysis, and optimal control, partly building on and extending the results of \cite{liu2020selection}, where the main focus was the analysis of the forward evolution. By integrating these fields, we offer a robust framework that enhances deep learning models' stability, efficiency, and interpretability.Keywords
All Related Versions
This publication has 16 references indexed in Scilit:
- The Modern Mathematics of Deep Learning2022
- Solving high-dimensional Hamilton–Jacobi–Bellman PDEs using neural networks: perspectives from the theory of controlled diffusions and measures on path spacePartial Differential Equations and Applications, 2021
- Selection dynamics for deep neural networksJournal of Differential Equations, 2020
- A mean-field optimal control formulation of deep learningResearch in the Mathematical Sciences, 2018
- {Euclidean, metric, and Wasserstein} gradient flows: an overviewBulletin of Mathematical Sciences, 2017
- Functional Analysis, Sobolev Spaces and Partial Differential Equations2011
- Optimal Control and Viscosity Solutions of Hamilton-Jacobi-Bellman Equations1997
- Multilayer feedforward networks are universal approximatorsNeural Networks, 1989
- Semigroups of Linear Operators and Applications to Partial Differential Equations1983
- An elementary proof of the Eberlein-?mulian theoremMathematische Annalen, 1967