Denoising Hamiltonian Network for Physical Reasoning

Congyue Deng, Brandon Y. Feng, Cecilia Garraffo, Alan Garbarz, Robin Walters +3 more
3/10/2025
cs.LGcs.AI

No official code found. Best implementation: FlyingGiraffe/dhn (52 stars, MIT, last commit 2025-03-24). 1 more below.

Abstract

Machine learning frameworks for physical problems must capture and enforce physical constraints that preserve the structure of dynamical systems. Many existing approaches achieve this by integrating physical operators into neural networks. While these methods offer theoretical guarantees, they face two key limitations: (i) they primarily model local relations between adjacent time steps, overlooking longer-range or higher-level physical interactions, and (ii) they focus on forward simulation while neglecting broader physical reasoning tasks. We propose the Denoising Hamiltonian Network (DHN), a novel framework that generalizes Hamiltonian mechanics operators into more flexible neural operators. DHN captures non-local temporal relationships and mitigates numerical integration errors through a denoising mechanism. DHN also supports multi-system modeling with a global conditioning mechanism. We demonstrate its effectiveness and flexibility across three diverse physical reasoning tasks with distinct inputs and outputs.

View on arXivView PDF

Code Implementations(2)

FlyingGiraffe/dhnCommunity65%
MIT

Denoising Hamiltonian Network for Physical Reasoning

529Shell, PythonMar 21, 20251 years agoMIT
MIT

Full code for all experiments in the paper "Denoising Hamiltonian Network for Physical Reasoning"

156Shell, PythonMar 21, 20251 years agoMIT

Similar Papers

Cite this paper

@article{deng2025denoising,
  title  = {Denoising Hamiltonian Network for Physical Reasoning},
  author = {Congyue Deng and Brandon Y. Feng and Cecilia Garraffo and Alan Garbarz and Robin Walters and William T. Freeman and Leonidas Guibas and Kaiming He},
  year   = {2025},
  eprint = {2503.07596},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.07596v1}
}

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

Discussion