Lune

ICLR2026Top-tier venue

Rapid Training of Hamiltonian Graph Networks Using Random Features

Atamert Rahma, Chinmay Datar, Ana Cukarska, Felix Dietrich

Abstract

Learning dynamical systems that respect physical symmetries and constraints remains a fundamental challenge in data-driven modeling. Integrating physical laws with graph neural networks facilitates principled modeling of complex N-body dynamics and yields accurate and permutation-invariant models. However, training graph neural networks with iterative, gradient-descent-based optimization algorithms (e.g., Adam, RMSProp, LBFGS) often leads to slow training, especially for large, complex systems. In comparison to 15 different optimizers, we demonstrate that Hamiltonian Graph Networks (HGN) can be trained 150-600× faster-but with comparable accuracy-by replacing iterative optimization with random featurebased parameter construction. We show robust performance in diverse simulations, including N-body mass-spring and molecular systems in up to 3 dimensions and 10,000 particles with different geometries, while retaining essential physical invariances with respect to permutation, rotation, and translation. Our proposed approach is benchmarked using a NeurIPS 2022 Datasets and Benchmarks Track publication to further demonstrate its versatility. We reveal that even when trained on minimal 8-node systems, the model can generalize in a zero-shot manner to systems as large as 4096 nodes without retraining. Our work challenges the dominance of iterative gradient-descent-based optimization algorithms for training neural network models for physical systems. Edge Node positions (true) Node positions (predicted) Time Feature processing Graph processing Layer trained by least-squares optimization Layer trained by random feature sampling

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Learning Mesh-Based Simulation with Graph Networks cites Learning to Simulate Complex Physics with Graph Networks
  • Descending through a Crowded Valley - Benchmarking Deep Learning Optimizers cites On the Variance of the Adaptive Learning Rate and Beyond
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. Learning Hamiltonian Dynamics at Scale: A Differential-Geometric ApproachKatharina Friedl, Noémie Jaquier, Mika Liao, Danica KragicICML 2026

Builds on27

  1. On the Variance of the Adaptive Learning Rate and BeyondLiyuan Liu, Haoming Jiang, Pengcheng He, Weizhu Chen et al.ICLR 2020 · 2,210 citations
  2. Learning to Simulate Complex Physics with Graph NetworksAlvaro Sanchez-Gonzalez, Jonathan Godwin, Tobias Pfaff, Rex Ying et al.ICML 2020 · 1,439 citations
  3. Learning Mesh-Based Simulation with Graph NetworksTobias Pfaff, Meire Fortunato, Alvaro Sanchez-Gonzalez, Peter W. BattagliaICLR 2021 · 1,175 citations
  4. Graph Condensation for Graph Neural NetworksWei Jin, Lingxiao Zhao, Shichang Zhang, Yozen Liu et al.ICLR 2022 · 203 citations
  5. Descending through a Crowded Valley - Benchmarking Deep Learning OptimizersRobin M. Schmidt, Frank Schneider, Philipp HennigICML 2021 · 195 citations

Related papers

  1. BroGNet: Momentum-Conserving Graph Neural Stochastic Differential Equation for Learning Brownian DynamicsSuresh Bishnoi, Jayadeva, Sayan Ranu, N. M. Anoop KrishnanICLR 2024 · 7 citations
  2. Constraint-based graph network simulatorYulia Rubanova, Alvaro Sanchez-Gonzalez, Tobias Pfaff, Peter W. BattagliaICML 2022 · 34 citations
  3. STFlow: Data-Coupled Flow Matching for Geometric Trajectory SimulationKiet Bennema ten Brinke, Koen Minartz, Vlado MenkovskiICML 2026
  4. Learning Physical Dynamics with Subequivariant Graph Neural NetworksJiaqi Han, Wenbing Huang, Hengbo Ma, Jiachen Li et al.NeurIPS 2022 · 72 citations
  5. Improving Long-Range Interactions in Graph Neural Simulators via Hamiltonian DynamicsTai Hoang, Alessandro Trenta, Alessio Gravina, Niklas Freymuth et al.ICLR 2026 · 6 citations
Dusk over the sea between two cliffs drawn in fine vertical lines