Hamiltonian Deep Neural Networks Guaranteeing Nonvanishing Gradients by Design
- 24 January 2023
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Automatic Control
- Vol. 68 (5) , 3155-3162
Abstract
Deep neural networks (DNNs) training can be difficult due to vanishing and exploding gradients during weight optimization through backpropagation. To address this problem, we propose a general class of Hamiltonian DNNs (H-DNNs) that stem from the discretization of continuous-time Hamiltonian systems and include several existing DNN architectures based on ordinary differential equations. Our main result is that a broad set of H-DNNs ensures nonvanishing gradients by design for an arbitrary network depth. This is obtained by proving that, using a semi-implicit Euler discretization scheme, the backward sensitivity matrices involved in gradient computations are symplectic. We also provide an upper bound to the magnitude of sensitivity matrices and show that exploding gradients can be controlled through regularization. The good performance of H-DNNs is demonstrated on benchmark classification problems, including image classification with the MNIST dataset.Keywords
All Related Versions
Funding Information
- Schweizerischer Nationalfonds zur Förderung der Wissenschaftlichen Forschung (51NF40_180545)
This publication has 13 references indexed in Scilit:
- A deep learning-based approach to robust nonlinear model predictive controlIFAC-PapersOnLine, 2018
- Stable architectures for deep neural networksInverse Problems, 2017
- Improving Training of Deep Neural Networks via Singular Value Bounding2017
- The microsoft 2016 conversational speech recognition system2017
- L2-Gain and Passivity Techniques in Nonlinear Control2017
- Deep Residual Learning for Image Recognition2016
- Symplectic Methods in Harmonic Analysis and in Mathematical Physics2011
- Stabilization of time-varying Hamiltonian systemsIEEE Transactions on Control Systems Technology, 2006
- Numerical Solution of Boundary Value Problems for Ordinary Differential Equations1995
- A note on stability of linear time-varying systemsIEEE Transactions on Automatic Control, 1974