A Unified Framework for Hamiltonian Deep Neural Networks
Abstract
Training deep neural networks (DNNs) can be difficult due to the occurrence of vanishing/exploding gradients during weight optimization. To avoid this problem, we propose a class of DNNs stemming from the time discretization of Hamiltonian systems. The time-invariant version of Hamiltonian models enjoys marginal stability, a property that, as shown in previous studies, can eliminate convergence to zero or divergence of gradients. In the present paper, we formally show this feature by deriving and analysing the backward gradient dynamics in continuous time. The proposed Hamiltonian framework, besides encompassing existing networks inspired by marginally stable ODEs, allows one to derive new and more expressive architectures. The good performance of the novel DNNs is demonstrated on benchmark classification problems, including digit recognition using the MNIST dataset.
Cite
Text
Galimberti et al. "A Unified Framework for Hamiltonian Deep Neural Networks." Proceedings of the 3rd Conference on Learning for Dynamics and Control, 2021.Markdown
[Galimberti et al. "A Unified Framework for Hamiltonian Deep Neural Networks." Proceedings of the 3rd Conference on Learning for Dynamics and Control, 2021.](https://mlanthology.org/l4dc/2021/galimberti2021l4dc-unified/)BibTeX
@inproceedings{galimberti2021l4dc-unified,
title = {{A Unified Framework for Hamiltonian Deep Neural Networks}},
author = {Galimberti, Clara Lucía and Xu, Liang and Trecate, Giancarlo Ferrari},
booktitle = {Proceedings of the 3rd Conference on Learning for Dynamics and Control},
year = {2021},
pages = {275-286},
volume = {144},
url = {https://mlanthology.org/l4dc/2021/galimberti2021l4dc-unified/}
}