Beyond Unit-Circle Eigenvalues: Invariant Bases for Stable State Space Dynamics

Jiaqian Zhu, Yang Zhang, Junhua Ding, Xiaowei YuNeurIPS 2026

TL;DR

When rolling out diagonal State Space Models (SSMs) over long horizons, keeping eigenvalues on the unit circle prevents states from exploding or vanishing, yet physical quantities like total mass or momentum still drift wildly. This paper reveals that conservation laws in recurrent operators are nested like Russian dolls—and introduces the Kronecker–Cayley (KC) transition, an architecture that bakes these exact algebraic symmetries directly into the coordinate basis so physical invariants hold automatically at every step, even before training begins.

What Problem Does This Paper Address?

Diagonal State Space Models (like S4, LRU, and Mamba) are fantastic at processing long sequences cheaply because they update their hidden state via fast element-wise operations. However, when you run them autoregressively to simulate physical dynamics over hundreds of steps, small errors compound.

To stop the hidden state’s norm (overall magnitude) from blowing up or decaying to zero, researchers typically constrain the transition matrix's eigenvalues to sit on the complex unit circle. Here is the catch: numerical stability is not physical conservation. A model can preserve its state norm to machine precision while total momentum drifts by over 140%. Why? Because norm depends on the spectrum (eigenvalues), whereas summed quantities like mass or momentum depend on the coordinate basis (eigenvectors).

Existing workarounds—like adding soft conservation penalties to the loss function or slapping a "mass corrector" onto the final output—either fail to learn the right geometry or mask an underlying simulation that is quietly going off the rails.

Conserved quantities form nested layers requiring progressively stricter structural conditions on the operator, whereas training a free basis under a penalty fails to reach the conserving manifold.

Methods

Instead of hoping gradient descent discovers conservation, the authors design the transition operator backward from exact algebraic invariants. If a state $z$ is partitioned into $N$ interacting objects (each of dimension $m$), advancing it via a Kronecker–Cayley (KC) transition guarantees three nested layers of conservation at once:

  1. Learned Pairwise Couplings: At each step, a lightweight MLP (~4k parameters) looks at pairs of objects and outputs a single symmetric scalar coupling $w_{ij}$ based on their distance and external actions. This is the only learned part of the transition.
  2. Graph Laplacian Assembly (for sums): Those scalars are arranged into an $N \times N$ symmetric graph Laplacian $\mathbf{L}$, where every diagonal entry equals the sum of its row. This guarantees row sums are zero ($\mathbf{L}\mathbf{1} = 0$), locking the uniform "sum" direction into a stationary zero-mode.
  3. Kronecker Structure & Cayley Transform (for norms and angles): The generator is expanded across object channels as $\mathbf{H} = \mathbf{L} \otimes I_m$ and turned into a discrete step via the Cayley transform, $U = (I + \frac{i}{2}\mathbf{H})^{-1}(I - \frac{i}{2}\mathbf{H})$. Because $\mathbf{H}$ is Hermitian, $U$ is unitary (preserving norms); because of the Kronecker product with $I_m$, spatial channels rotate identically (preserving angular pairings).

Crucially, the Kronecker structure passes cleanly through the Cayley transform: $\mathrm{Cay}(\mathbf{L} \otimes I_m) = \mathrm{Cay}(\mathbf{L}) \otimes I_m$. Instead of inverting a massive $Nm \times Nm$ matrix, KC only eigendecomposes the small $N \times N$ Laplacian at $O(N^3 + N^2m)$ cost, keeping the update diagonal in the Laplacian's modal basis.

Algorithm 1: The Kronecker–Cayley rollout computes pairwise couplings, assembles a graph Laplacian, and advances the state via a Cayley transform.

Datasets

The authors evaluate KC across PDE grids, particle simulations, and domain-specific ODEs:

  • Grid Conservation Benchmarks: 2D Dam-break and 1D Advection from PDEBench, Spherical Shallow-Water from PDEArena, and a conservative Allen–Cahn flow.
  • Particle Systems: A visual $N$-body simulator (for ablating nested invariants) and three 3D $N$-body benchmarks (charged, gravitational, and spring systems from the EGNN suite).
  • Cross-Disciplinary Dynamics: Operator-level tests on molecular dynamics, chemical reaction networks (including a dissipative stiff system), multi-compartment pharmacokinetics, and power-grid swing equations.

Key Insights and Ideas

  • Conservation is strictly layered: Unit-circle eigenvalues only protect the outermost layer (the Euclidean norm). Protecting summed quantities (mass, linear momentum) strictly requires zero row sums, and protecting angular quantities requires the block-scalar $\mathbf{L} \otimes I_m$ structure. Removing any piece breaks only its corresponding physical law.
  • Output "correctors" are a mirage: Post-hoc mass correctors force the total sum of a predicted grid to match the initial frame, closing 7 orders of magnitude in scalar mass error. Yet looking at spatial cross-sections reveals the underlying field has completely collapsed or diverged! You cannot fix broken operator dynamics at the readout layer.
  • Loss penalties freeze the universe: Mathematically, to conserve a sum, every rotating mode must be orthogonal to the uniform vector—or the modes must stop rotating altogether. When a free basis is trained with a conservation loss penalty, gradient descent fails to rotate the basis; instead, the seeds that manage to conserve do so by driving all eigenvalues to 1, freezing the dynamics completely.
On the dam-break benchmark, post-hoc correctors keep scalar mass drift low until the underlying field diverges, while cross-sections reveal unphysical wave shapes compared to ground truth.

Key Results

  • Grid Mass Conservation: Across flat PDE benchmarks, KC holds total mass drift to float32 round-off levels ($2.0 \times 10^{-5}$ on Allen–Cahn to $8.3 \times 10^{-3}$ on Dam-break), whereas diagonal SSM baselines (like LRU and unit-modulus variants) drift by $3$ to $1.9 \times 10^{11}$.
  • Surviving Long Rollouts: On 100-step Dam-break rollouts across 5 seeds, FNO + uniform corrector diverges on 5/5 seeds and CPFNO diverges on 4/5 seeds. KC stays bounded on every seed.
  • $N$-Body & Domain Transfer: On $N$-body benchmarks ($T=1000$), KC holds linear momentum drift to $\sim 2 \times 10^{-6}$ versus $0.5\text{--}8$ for baselines. Across molecular, chemical, pharmacokinetic, and power-grid operators over 2,000 steps, KC keeps invariants within $10^{-4}\%$ to $10^{-2}\%$, whereas breaking row sums causes $100\%+$ drift.

Limitations and Future Work

  • Unitary operators cannot contract: Because KC is unitary, it preserves latent norms by design. On dissipative systems—like stiff chemical kinetics relaxing toward equilibrium—contracting baselines fit the state trajectory more accurately than KC.
  • Algebraic boundaries on conserved quantities: With a linear decoder, KC only guarantees conservation for linear sums and a specific $2m^2$-dimensional family of quadratic forms. Non-quadratic quantities (such as $1/r$ gravitational or Coulomb potential energies) fall outside this algebra and are not exactly conserved.
  • Accuracy vs. Conservation: The authors note that exact conservation and spatial prediction accuracy are distinct; under the shared patch encoder on benchmarks like the sphere, KC safely hugs a mass-matched state without necessarily beating simple baselines on raw spatial error (nRMSE). Future directions are not explicitly discussed in the paper.

Summary updated

Abstract

Diagonal state space models process long sequences at linear cost, yet the same transition is applied at every step of a rollout, so an unconstrained recurrence holds no quantity fixed and the state decays or grows without bound. Current designs constrain one quantity, and preserving one does not guarantee preservation of the others, so a model can hold its norm to machine precision while momentum drifts by hundreds of percent. We claim that the conserved quantities of a diagonal recurrence are layered, that each layer requires a strictly stronger condition on the operator, and that a unit-modulus spectrum reaches only the outermost. Acting on the claim, we enforce the conditions required for every layer by construction. The generator of the Kronecker-Cayley transition (KC) is a graph Laplacian over object subspaces, $\mathbf{H}=\mathbf{L}\otimes I_m$, advanced by a Cayley transform, and the Kronecker structure passes through the transform, $\mathrm{Cay}(\mathbf{L}\otimes I_m)=\mathrm{Cay}(\mathbf{L})\otimes I_m$, so the step stays diagonal at $O(N^3+N^2m)$ cost. The conserved set is exactly a $2m^2$-dimensional family of quadratic forms, held at every parameter value, so the quantities and the dynamics the construction reaches are fixed before training. We evaluate KC on four conservation benchmarks and show that it holds total mass at or near the reference floor while every diagonal baseline loses it by orders of magnitude. We further compare against mass correction and find that two correctors fail once the underlying prediction diverges, which shows that assembly rather than correction is necessary for a guarantee that holds across the rollout. A free modal basis trained under a conservation penalty conserves only by freezing its spectrum, whereas the assembled operator conserves with every mode but one free to rotate. Beyond these benchmarks, KC holds the linear momentum of three $N$-body systems. At the operator level, the same layering holds the conserved quantity in molecular dynamics, chemical kinetics, pharmacokinetics and power-grid swing dynamics. Our code is available at https://github.com/Jiaqian-Janelle/NeurIPS26-Kronecker-Cayley-Stable-State-Space-Dynamics.
BibTeX
@inproceedings{zhu2026beyond,
  author = {Jiaqian Zhu and Yang Zhang and Junhua Ding and Xiaowei Yu},
  title = {{Beyond Unit-Circle Eigenvalues: Invariant Bases for Stable State Space Dynamics}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=rsTdJke80K},
}
Figure