Hamiltonian Graph Inference Networks: Joint structure discovery and dynamics prediction for lattice Hamiltonian systems from trajectory data

arXiv cs.LG / 4/28/2026

📰 NewsModels & Research

Key Points

  • The paper presents HGIN, a model that learns both the interaction topology and the long-time dynamics of lattice Hamiltonian systems from state/trajectory data alone.
  • Unlike prior graph-learning methods that assume a known graph or restrict to separable Hamiltonians with homogeneous node dynamics, HGIN works for both separable and non-separable Hamiltonians and supports heterogeneous node dynamics.
  • HGIN combines a structure-learning component—training a weighted adjacency matrix using a Hamilton’s-equations loss—with a trajectory predictor that clusters edges into physically distinct subgraphs and assigns each cluster its own encoder to avoid GNN parameter-sharing bottlenecks.
  • Experiments on three lattice benchmarks (including Klein–Gordon with long-range interactions and two discrete nonlinear Schrödinger settings) show six to thirteen orders of magnitude improvements in long-time energy and trajectory prediction errors versus baselines.
  • A symmetry-based analysis of the Hamiltonian loss suggests the learned adjacency weights reflect the parity of the underlying pair potential, providing an interpretable view of the learned interaction structure.

Abstract

Lattice Hamiltonian systems underpin models across condensed matter, nonlinear optics, and biophysics, yet learning their dynamics from data is obstructed by two unknowns: the interaction topology and whether node dynamics are homogeneous. Existing graph-based approaches either assume the graph is given or, as in \alpha-separable graph Hamiltonian network, infer it only for separable Hamiltonians with homogeneous node dynamics. We introduce the Hamiltonian Graph Inference Network (HGIN), which jointly recovers the interaction graph and predicts long-time trajectories from state data alone, for both separable and non-separable Hamiltonians and under heterogeneous node dynamics. HGIN couples a structure-learning module -- a learnable weighted adjacency matrix trained under a Hamilton's-equations loss -- with a trajectory-prediction module that partitions edges into physically distinct subgraphs via k-means clustering, assigning each subgraph its own encoder and thereby breaking the parameter-sharing bottleneck of conventional GNNs. On three benchmarks -- a Klein--Gordon lattice with long-range interactions and two discrete nonlinear Schr\"odinger lattices (homogeneous and heterogeneous) -- HGIN reduces long-time energy prediction error and trajectory prediction error by six to thirteen orders of magnitude relative to baselines. A symmetry argument on the Hamiltonian loss further shows that the learned weights encode the parity of the underlying pair potential, yielding an interpretable readout of the system's interaction structure.