Frequency-Structured Hamiltonian Neural Network for Multi-Timescale Dynamics
Abstract
Accurately learning coupled fast and slow dynamics remains challenging for structure-preserving neural models. Although Hamiltonian Neural Networks encode conservation laws, their neural parameterizations remain susceptible to spectral bias, which favors slowly varying components and can leave fast oscillations poorly resolved. We introduce the Frequency-Structured Hamiltonian Neural Network (FS-HNN) to address this difficulty by organizing Hamiltonian learning across temporal frequency scales. FS-HNN learns Hamiltonian components from frequency-filtered views of observed trajectories and combines them nonlinearly into a single scalar Hamiltonian, allowing the model to capture interactions across timescales while conserving the learned energy in continuous time. For PDEs, FS-HNN combines neural energy functionals with a learned spatial operator and projection to conserve the learned energy. Experiments on ODE and PDE benchmarks spanning nonlinear oscillators, coupled lattices, shallow water flows, and dispersive waves demonstrate improvements in long-horizon rollout accuracy and physical-energy fidelity over existing structure-preserving baselines.