PHAST: Port-Hamiltonian Architecture for Structured Temporal Dynamics Forecasting
About
Real physical systems are dissipative -- a pendulum slows, a circuit loses charge to heat -- and forecasting their dynamics from partial observations is a central challenge in scientific machine learning. We address the \emph{position-only} (q-only) problem: given only generalized positions~$q_t$ at discrete times (momenta~$p_t$ latent), learn a structured model that (a)~produces stable long-horizon forecasts and (b)~recovers physically meaningful parameters when sufficient structure is provided. The port-Hamiltonian framework makes the conservative-dissipative split explicit via $\dot{x}=(J-R)\nabla H(x)$, guaranteeing $dH/dt\le 0$ when $R\succeq 0$. We introduce \textbf{PHAST} (Port-Hamiltonian Architecture for Structured Temporal dynamics), which decomposes the Hamiltonian into potential~$V(q)$, mass~$M(q)$, and damping~$D(q)$ across three knowledge regimes (KNOWN, PARTIAL, UNKNOWN), uses efficient low-rank PSD/SPD parameterizations, and advances dynamics with Strang splitting. Across thirteen q-only benchmarks spanning mechanical, electrical, molecular, thermal, gravitational, and ecological systems, PHAST achieves the best long-horizon forecasting among competitive baselines and enables physically meaningful parameter recovery when the regime provides sufficient anchors. We show that identification is fundamentally ill-posed without such anchors (gauge freedom), motivating a two-axis evaluation that separates forecasting stability from identifiability.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Open-loop forecasting | N-body gravity 3 bodies, damped, PARTIAL regime (test) | MSE4.27e-8 | 9 | |
| Q-only open-loop forecasting | RLC circuit damped | Next-Step MSE2.63e-5 | 9 | |
| Q-only open-loop forecasting | 1-DOF Pendulum Conservative (test) | Rollout MSE0.68 | 9 | |
| Q-only open-loop forecasting | 1-DOF Pendulum Damped (test) | Rollout MSE0.017 | 9 | |
| Q-only open-loop forecasting | 1-DOF Pendulum Windy (test) | Rollout MSE0.092 | 9 | |
| Q-only open-loop forecasting | Lennard-Jones 3-particle cluster KNOWN regime (test) | MSE4.59e-10 | 9 | |
| Q-only open-loop forecasting | Oscillator conservative | Rollout MSE0.001 | 9 | |
| Q-only open-loop forecasting | Oscillator damped | Rollout MSE0.0011 | 9 | |
| Q-only open-loop forecasting | Double Pendulum (2-DOF, Conservative) H=100 (test) | MSE0.402 | 9 | |
| Q-only open-loop forecasting | Double Pendulum 2-DOF, Damped H=100 (test) | MSE0.32 | 9 |