Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Hamiltonian Generative Networks

About

The Hamiltonian formalism plays a central role in classical and quantum physics. Hamiltonians are the main tool for modelling the continuous time evolution of systems with conserved quantities, and they come equipped with many useful properties, like time reversibility and smooth interpolation in time. These properties are important for many machine learning problems - from sequence prediction to reinforcement learning and density modelling - but are not typically provided out of the box by standard tools such as recurrent neural networks. In this paper, we introduce the Hamiltonian Generative Network (HGN), the first approach capable of consistently learning Hamiltonian dynamics from high-dimensional observations (such as images) without restrictive domain assumptions. Once trained, we can use HGN to sample new trajectories, perform rollouts both forward and backward in time and even speed up or slow down the learned dynamics. We demonstrate how a simple modification of the network architecture turns HGN into a powerful normalising flow model, called Neural Hamiltonian Flow (NHF), that uses Hamiltonian dynamics to model expressive densities. We hope that our work serves as a first practical demonstration of the value that the Hamiltonian formalism can bring to deep learning.

Peter Toth, Danilo Jimenez Rezende, Andrew Jaegle, S\'ebastien Racani\`ere, Aleksandar Botev, Irina Higgins• 2019

Related benchmarks

TaskDatasetResultRank
Hamiltonian Dynamics ModelingPendulum +c
Rec MSE (10^-7)23.43
2
Hamiltonian Dynamics ModelingDouble pendulum
Rec MSE ($10^{-7}$)26.33
2
Hamiltonian Dynamics ModelingDouble pendulum +c
Rec MSE ($10^{-7}$)26.08
2
Hamiltonian Dynamics Modeling3D room circle
Rec MSE39.55
2
Hamiltonian Dynamics ModelingMD 4 particles
Rec MSE (10^-7)23.41
2
Hamiltonian Dynamics ModelingMD 16 particles
Rec MSE (10^-7)5.78
2
Hamiltonian Dynamics ModelingMass-spring
Rec MSE ($10^{-7}$)25.07
2
Hamiltonian Dynamics ModelingMass-spring +c
Rec MSE (10^-7)25.49
2
Hamiltonian Dynamics ModelingPendulum
Rec MSE (10^-7)25.99
2
Hamiltonian Dynamics ModelingMatching pennies
Rec MSE32.46
2
Showing 10 of 13 rows

Other info

Follow for update