Papers
Topics
Authors
Recent
Search
2000 character limit reached

PDE-NHF: Neural Hamiltonian Flow

Updated 27 May 2026
  • PDE-NHF is a machine learning framework that parameterizes and learns symplectic, invertible maps to simulate the time evolution of kinetic Hamiltonian PDEs while preserving physical invariants.
  • It leverages a neural Hamiltonian flow architecture with learned Leapfrog integration steps, enabling efficient and accurate evolution of particle distributions under varied initial conditions.
  • Empirical results show strong performance improvements, with lower Wasserstein-1 errors and reduced computational cost compared to traditional Particle-In-Cell methods.

The PDE-NHF (Partial Differential Equation–Neural Hamiltonian Flow) model is a machine learning framework that parameterizes and learns symplectic, invertible maps representing the time evolution of particle distributions governed by kinetic Hamiltonian PDEs. In particular, it has been introduced as an efficient, interpretable surrogate for the 1D Vlasov–Poisson system, enabling fast sampling, generalization to arbitrary initial conditions, and preservation of physical invariants through its construction (Souveton et al., 7 May 2025).

1. Mathematical Foundation: The Vlasov–Poisson System

PDE-NHF targets the 1D Vlasov–Poisson system, which describes the evolution of a phase-space probability density f(x,v,t)f(x, v, t) for collisionless particles in either plasma physics or cosmology. This system is given by

tf+vxf+F(x,t)vf=0,\partial_t f + v \,\partial_x f + F(x, t) \,\partial_v f = 0,

where the self-consistent force FF derives from a potential Φ\Phi that solves the Poisson equation: x2Φ(x,t)={ρ(x,t)/ε0(plasma) 4πGρ(x,t)(self-gravitating)\partial_{x}^2 \Phi(x, t) = \begin{cases} -\rho(x, t)/\varepsilon_0 & \text{(plasma)} \ 4\pi G\,\rho(x, t) & \text{(self-gravitating)} \end{cases} with mass density ρ(x,t)=Rf(x,v,t)dv\rho(x,t) = \int_{\mathbb{R}} f(x,v,t) dv. The system conserves total mass, total momentum, and total energy. It is subject to periodic boundary conditions in xx and decay of ff as v|v|\to\infty (Souveton et al., 7 May 2025).

2. Hamiltonian Structure and Symplecticity

In phase-space variables (q,p)(x,v)(q, p)\equiv(x,v), the system can be derived from the Hamiltonian

tf+vxf+F(x,t)vf=0,\partial_t f + v \,\partial_x f + F(x, t) \,\partial_v f = 0,0

with canonical equations

tf+vxf+F(x,t)vf=0,\partial_t f + v \,\partial_x f + F(x, t) \,\partial_v f = 0,1

Liouville’s theorem guarantees preservation of phase-space volume, i.e., the transformation tf+vxf+F(x,t)vf=0,\partial_t f + v \,\partial_x f + F(x, t) \,\partial_v f = 0,2 is symplectic and volume-preserving (tf+vxf+F(x,t)vf=0,\partial_t f + v \,\partial_x f + F(x, t) \,\partial_v f = 0,3) (Souveton et al., 7 May 2025).

3. Neural Hamiltonian Flow Architecture

PDE-NHF replaces explicit particle-in-cell (PIC) time integration with a symplectic normalizing flow. The total evolution time tf+vxf+F(x,t)vf=0,\partial_t f + v \,\partial_x f + F(x, t) \,\partial_v f = 0,4 is split into tf+vxf+F(x,t)vf=0,\partial_t f + v \,\partial_x f + F(x, t) \,\partial_v f = 0,5 equal sub-steps of size tf+vxf+F(x,t)vf=0,\partial_t f + v \,\partial_x f + F(x, t) \,\partial_v f = 0,6, each realized by an invertible, symplectic map tf+vxf+F(x,t)vf=0,\partial_t f + v \,\partial_x f + F(x, t) \,\partial_v f = 0,7 based on a learned Hamiltonian tf+vxf+F(x,t)vf=0,\partial_t f + v \,\partial_x f + F(x, t) \,\partial_v f = 0,8:

  • Kinetic term: tf+vxf+F(x,t)vf=0,\partial_t f + v \,\partial_x f + F(x, t) \,\partial_v f = 0,9 with learnable scalar FF0.
  • Potential: FF1, a DeepSet network imposing permutation and translation invariance (FF2).

Each Leapfrog step computes

FF3

with manifest invertibility and symplecticity (FF4). The full flow over FF5 is FF6 (Souveton et al., 7 May 2025).

4. Training Objective and Data Generation

The model is trained to map an initial phase-space Gaussian FF7 (mean and covariance FF8) to a final empirical distribution FF9 (from PIC) at Φ\Phi0. The objective is forward Kullback–Leibler divergence,

Φ\Phi1

with Φ\Phi2 the model's pushforward of Φ\Phi3 by the learned flow. Due to exact volume preservation, the model density at Φ\Phi4 is given by the density of the corresponding inverse-mapped point under the initial Gaussian.

Training uses a dataset of Φ\Phi5 PIC-generated trajectories, each with Φ\Phi6 macroparticles, box length Φ\Phi7, grid Φ\Phi8, initial Gaussian parameters over Φ\Phi9, evolved by Leapfrog with x2Φ(x,t)={ρ(x,t)/ε0(plasma) 4πGρ(x,t)(self-gravitating)\partial_{x}^2 \Phi(x, t) = \begin{cases} -\rho(x, t)/\varepsilon_0 & \text{(plasma)} \ 4\pi G\,\rho(x, t) & \text{(self-gravitating)} \end{cases}0, x2Φ(x,t)={ρ(x,t)/ε0(plasma) 4πGρ(x,t)(self-gravitating)\partial_{x}^2 \Phi(x, t) = \begin{cases} -\rho(x, t)/\varepsilon_0 & \text{(plasma)} \ 4\pi G\,\rho(x, t) & \text{(self-gravitating)} \end{cases}1 steps (x2Φ(x,t)={ρ(x,t)/ε0(plasma) 4πGρ(x,t)(self-gravitating)\partial_{x}^2 \Phi(x, t) = \begin{cases} -\rho(x, t)/\varepsilon_0 & \text{(plasma)} \ 4\pi G\,\rho(x, t) & \text{(self-gravitating)} \end{cases}2) (Souveton et al., 7 May 2025).

5. Inference, Generalization, and Sampling

After training, inference for a new initial Gaussian x2Φ(x,t)={ρ(x,t)/ε0(plasma) 4πGρ(x,t)(self-gravitating)\partial_{x}^2 \Phi(x, t) = \begin{cases} -\rho(x, t)/\varepsilon_0 & \text{(plasma)} \ 4\pi G\,\rho(x, t) & \text{(self-gravitating)} \end{cases}3 at arbitrary time x2Φ(x,t)={ρ(x,t)/ε0(plasma) 4πGρ(x,t)(self-gravitating)\partial_{x}^2 \Phi(x, t) = \begin{cases} -\rho(x, t)/\varepsilon_0 & \text{(plasma)} \ 4\pi G\,\rho(x, t) & \text{(self-gravitating)} \end{cases}4 proceeds by:

  • Sampling x2Φ(x,t)={ρ(x,t)/ε0(plasma) 4πGρ(x,t)(self-gravitating)\partial_{x}^2 \Phi(x, t) = \begin{cases} -\rho(x, t)/\varepsilon_0 & \text{(plasma)} \ 4\pi G\,\rho(x, t) & \text{(self-gravitating)} \end{cases}5 from x2Φ(x,t)={ρ(x,t)/ε0(plasma) 4πGρ(x,t)(self-gravitating)\partial_{x}^2 \Phi(x, t) = \begin{cases} -\rho(x, t)/\varepsilon_0 & \text{(plasma)} \ 4\pi G\,\rho(x, t) & \text{(self-gravitating)} \end{cases}6.
  • Integrating the learned symplectic flow for x2Φ(x,t)={ρ(x,t)/ε0(plasma) 4πGρ(x,t)(self-gravitating)\partial_{x}^2 \Phi(x, t) = \begin{cases} -\rho(x, t)/\varepsilon_0 & \text{(plasma)} \ 4\pi G\,\rho(x, t) & \text{(self-gravitating)} \end{cases}7 steps using the trained x2Φ(x,t)={ρ(x,t)/ε0(plasma) 4πGρ(x,t)(self-gravitating)\partial_{x}^2 \Phi(x, t) = \begin{cases} -\rho(x, t)/\varepsilon_0 & \text{(plasma)} \ 4\pi G\,\rho(x, t) & \text{(self-gravitating)} \end{cases}8 and scalar x2Φ(x,t)={ρ(x,t)/ε0(plasma) 4πGρ(x,t)(self-gravitating)\partial_{x}^2 \Phi(x, t) = \begin{cases} -\rho(x, t)/\varepsilon_0 & \text{(plasma)} \ 4\pi G\,\rho(x, t) & \text{(self-gravitating)} \end{cases}9.
  • Outputting the transformed ρ(x,t)=Rf(x,v,t)dv\rho(x,t) = \int_{\mathbb{R}} f(x,v,t) dv0.

As the flow is continuous-time and equivariant, evaluating the model at any intermediate ρ(x,t)=Rf(x,v,t)dv\rho(x,t) = \int_{\mathbb{R}} f(x,v,t) dv1 yields the corresponding approximate density without retraining. Only ρ(x,t)=Rf(x,v,t)dv\rho(x,t) = \int_{\mathbb{R}} f(x,v,t) dv2 network gradient evaluations (for ρ(x,t)=Rf(x,v,t)dv\rho(x,t) = \int_{\mathbb{R}} f(x,v,t) dv3) and sum updates per sample are needed (Souveton et al., 7 May 2025).

6. Empirical Performance and Physical Interpretation

On a held-out test set, measured 1D Wasserstein-1 distances (ρ(x,t)=Rf(x,v,t)dv\rho(x,t) = \int_{\mathbb{R}} f(x,v,t) dv4) between true and generated samples at ρ(x,t)=Rf(x,v,t)dv\rho(x,t) = \int_{\mathbb{R}} f(x,v,t) dv5 are:

  • PDE-NHF (25 Leapfrog steps): ρ(x,t)=Rf(x,v,t)dv\rho(x,t) = \int_{\mathbb{R}} f(x,v,t) dv6, ρ(x,t)=Rf(x,v,t)dv\rho(x,t) = \int_{\mathbb{R}} f(x,v,t) dv7.
  • Baseline direct MLP: ρ(x,t)=Rf(x,v,t)dv\rho(x,t) = \int_{\mathbb{R}} f(x,v,t) dv8.

For intermediate ρ(x,t)=Rf(x,v,t)dv\rho(x,t) = \int_{\mathbb{R}} f(x,v,t) dv9, PDE-NHF achieves xx0 errors below xx1 (position) and xx2 (velocity), signaling strong generalization to unseen temporal slices. The learned kinetic coefficient xx3 converges to xx4, closely recovering the physical Hamiltonian.

The architecture is robust to coarse discretization: reducing xx5 (e.g., to 5, xx6) yields errors within xx7 of the full-scheme, and per-sample runtime halves relative to standard PIC (xx8 s per sample on A100 GPU vs. xx9 s for PIC). Exact volume preservation (ff0) rules out spurious diffusion or density collapse (Souveton et al., 7 May 2025).

7. Significance and Scope

PDE-NHF constitutes an overview of kinetic PDE theory, Hamiltonian mechanics, and deep generative modeling. Its main features are:

  • Preservation of symplectic invariants by construction.
  • Fast, parallelizable sampling for arbitrary initial data and times.
  • Accurate learning of self-consistent physical potentials.
  • Orders-of-magnitude improvements in repeated-inference throughput versus simulation-based approaches.
  • Seamless interpolation across unseen (time, initial condition) domains.

These attributes distinguish PDE-NHF from direct regression architectures and enable its use as a surrogate, interpretive, and generative tool for high-dimensional kinetic systems (Souveton et al., 7 May 2025).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to PDE-NHF Model.