---
title: "A Neural Physics Model Now Learns Multiple Stable Resting Points at Once"
subtitle: "A new neural network design lets data-driven physical models keep energy structure intact and stay stable around several equilibria at once."
url: "https://alphasignal.ai/news/a-neural-physics-model-now-learns-multiple-stable-resting-points-at-once"
author: "AlphaSignal Newsroom"
author_url: "https://alphasignal.ai/editorial-team"
company: "AlphaSignal"
company_url: "https://alphasignal.ai/company/alphasignal"
published: "2026-04-14T00:00:00.000Z"
updated: "2026-08-23T22:32:40.217Z"
type: "Paper"
topics:
  - "Training Infra"
  - "Llms"
subtopics:
  - "Pretraining"
upvotes: 1247
source_url: "https://arxiv.org/abs/2604.13297"
comments: 0
truncated: true
---

# A Neural Physics Model Now Learns Multiple Stable Resting Points at Once

> A new neural network design lets data-driven physical models keep energy structure intact and stay stable around several equilibria at once.

Learning the dynamics of a physical system from data is easy to get wrong in ways that matter. A neural network can fit trajectories beautifully during training and then drift, blow up, or settle at the wrong resting point once you push it outside the sampled region. A new preprint from Binh Nguyen, Nam T. Nguyen, and Truong X. Nghiem tackles that gap for a specific but broadly useful class of systems, proposing a [neural port-Hamiltonian model](https://arxiv.org/abs/2604.13297) that keeps the physics-based structure and preserves stability at multiple equilibria simultaneously.

## Why port-Hamiltonian systems earn their keep

Port-Hamiltonian systems (PHS) provide a framework for modeling, analysis, and control of complex physical systems by emphasizing the flow and storage of energy. In practice, they show up in mechanical systems, electrical circuits, fluid dynamics, robotics, and thermal systems, prized because the formulation bakes in conservation laws and passivity by construction. A port-Hamiltonian neural network (PHNN) tries to inherit those guarantees: by integrating neural networks with port-Hamiltonian structures, PHNNs explicitly encode energy conservation and dissipation principles, enabling robust modeling and prediction of dynamical behaviors and improving stability, interpretability, and generalization.

The catch is that the Hamiltonian, the scalar function that represents the system's stored energy, is usually unknown and has to be learned from state and input traces. Getting it wrong in the wrong place can wreck the long-term behavior of the model.

## The convexity trap

Most prior work has enforced stability by parameterizing the learned Hamiltonian with an **input convex neural network** (ICNN), a design whose output is a convex function of its input. Convexity is convenient because a strictly convex function has exactly one minimum, which conveniently doubles as the system's stable equilibrium. The downside is exactly the same: only one. ICNN-based methods do not apply to many real-world systems whose Hamiltonian is non-convex and possesses multiple isolated stable equilibria.

_Preview only. Full text requires an AlphaSignal Pro account._

## Sources

- [Structure- and Stability-Preserving Learning of Port-Hamiltonian Systems](https://arxiv.org/abs/2604.13297)
- [Structure- and Stability-Preserving Learning of Port-Hamiltonian Systems (HTML)](https://arxiv.org/html/2604.13297)
- [Port-Hamiltonian Neural Networks for Learning Explicit Time-Dependent Dynamical Systems](https://arxiv.org/abs/2107.08024)
- [Stability-Preserving-PHS code repository](https://github.com/EasternBoy/Stability-Preserving-PHS)
- [Port-Hamiltonian Neural Networks overview](https://www.emergentmind.com/topics/port-hamiltonian-neural-networks)
