Port-Hamiltonian Approach to Neural Network Training

Stefano Massaroli, Michael Poli, Federico Califano, Angela Faragasso, Jinkyoo Park +2 more
9/6/2019
15 citations
cs.NEcs.LGeess.SY

Official code: Zymrael/PortHamiltonianNN (27 stars, Jupyter Notebook, last commit 2019-12-11).

Abstract

Neural networks are discrete entities: subdivided into discrete layers and parametrized by weights which are iteratively optimized via difference equations. Recent work proposes networks with layer outputs which are no longer quantized but are solutions of an ordinary differential equation (ODE); however, these networks are still optimized via discrete methods (e.g. gradient descent).

Show full abstract

In this paper, we explore a different direction: namely, we propose a novel framework for learning in which the parameters themselves are solutions of ODEs. By viewing the optimization process as the evolution of a port-Hamiltonian system, we can ensure convergence to a minimum of the objective function. Numerical experiments have been performed to show the validity and effectiveness of the proposed methods.

View on arXivView PDF

Code Implementations(1)

Port-Hamiltonian Approach to Neural Network Training

2712Jupyter Notebook, PythonMar 17, 20196 years ago
gradient-descenthamiltonian-dynamicsneural-networkodeoptimization+2 more

Similar Papers

Cite this paper

@article{massaroli2019porthamiltonian,
  title  = {Port-Hamiltonian Approach to Neural Network Training},
  author = {Stefano Massaroli and Michael Poli and Federico Califano and Angela Faragasso and Jinkyoo Park and Atsushi Yamashita and Hajime Asama},
  year   = {2019},
  eprint = {1909.02702},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1909.02702}
}

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/1909.02702.svg)](https://codeofpaper.com/paper/1909.02702)

Discussion