arXiv:2610.25023math.NAOct 2026

Manuscript Offprint

arXiv:2610.25023

Integrable building blocks for symplectic neural networks: learned-type layers, fiber-preserving layers, and what a single layer can do

Andrew Qing He

Abstract

Exactly symplectic neural networks are built almost exclusively from shear maps, and gain expressivity only by stacking more of them. We ask what else a single explicit symplectic layer can be. Starting from the observation that every layer in use is the exact flow of a Hamiltonian that is a function of commuting integrals, we obtain three families of layers: a learned-type layer, in which every conjugate pair is rotated, squeezed or sheared by a state-dependent amount and the type is found by training; moving-plane shears, which are residual symplectic maps outside the known ridge-function class; and fiber-preserving layers, which combine an unconstrained point transformation with a fiber translation at the cost of one linear solve. We characterize residual symplectic layers x↦x+J∇H(x)x \mapsto x + J\nabla H(x): in one degree of freedom they are exactly the shears along a line, while from two degrees of freedom on a strictly larger class exists. Conjugating a learned-type layer by a symplectic network yields an exact one-parameter group with an exactly conserved learned Hamiltonian. In experiments on sixteen systems with one to forty degrees of freedom, against SympNets, HénonNets and learned-plane shear networks, layers built on nonlinear integrals are far more accurate when the Hamiltonian contains functions of those integrals. On nonlinear Schrödinger lattices with six to forty sites, twist layers alternating with linear symplectic maps are more than a hundred times more accurate than every shear-based network; with an on-site potential of learned form they are three to four orders of magnitude more accurate, and also more accurate than a split-step network with the correct fixed nonlinearity. On chains of Tao oscillators with the step size as an input, stretch layers are forty-five to seventy times more accurate than learned-plane shears and recover the Hamiltonian to one percent. Conjugated flows remain accurate at thirty times the training horizon in one degree of freedom. On generic non-separable systems the gains are small: fiber layers improve on learned-plane shears by at most a factor of two, and widening the networks does not help any architecture.

Keywords. symplectic neural networks; structure-preserving machine learning; Hamiltonian systems; integrable systems; splitting methods; nonlinear Schrödinger lattices.

MSC 2020. 37J11, 65P10, 68T07, 70H15.

1 Introduction

Let x=(q,p)∈R2nx = (q, p) \in \mathbb{R}^{2n} and J=(0I−I0)J = \begin{pmatrix} 0 & I \\ -I & 0 \end{pmatrix}. A map φ\varphi is symplectic if (dφ)⊤J dφ=J(\mathrm{d}\varphi)^\top J \, \mathrm{d}\varphi = J; flows of Hamiltonian systems x˙=J∇H(x)\dot{x} = J \nabla H(x) are symplectic. Networks that are symplectic by construction [20, 3, 27] learn such flow maps from data without a penalty term and retain the qualitative long-time behavior of the dynamics.

Nearly all of these networks are compositions of shears,

(q,p)↦(q,p+∇F(q)),(q,p)↦(q+∇G(p),p),(1)(q,p)\mapsto(q,p+\nabla F(q)),\qquad(q,p)\mapsto(q+\nabla G(p),p), \tag{1}

or of shears along other Lagrangian planes [9, 27]. A single shear moves only half of the variables, and, as we confirm experimentally (Section 6), enlarging the scalar networks F, G at fixed depth does not improve accuracy: these architectures gain expressivity through depth alone. This paper asks what a single explicit symplectic layer can be, beyond a shear.

The starting point of this work was the stretch map of [15],

Q=e∇Φ(q⊙p)⊙q,P=e−∇Φ(q⊙p)⊙p,(2)Q=e^{\nabla\Phi(q\odot p)}\odot q,\qquad P=e^{-\nabla\Phi(q\odot p)}\odot p, \tag{2}

obtained as a symplectic counterpart of the scaling in real NVP coupling layers [7]. As a map it is classical: for n=1n = 1 it is Moser's normal form of an area-preserving map at a hyperbolic fixed point [24], and it is the exact flow of the Hamiltonian Φ(q1p1,…,qnpn)\Phi(q_{1}p_{1},\ldots,q_{n}p_{n}). That observation is the organizing principle of the paper.