arXiv:2611.02174cs.LGNov 2026

Manuscript Offprint

arXiv:2611.02174

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

Jiaqian Zhu, Yang Zhang, Junhua Ding, Xiaowei Yu

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, H=L⊗Im\mathbf{H} = \mathbf{L} \otimes I_m, advanced by a Cayley transform, and the Kronecker structure passes through the transform, Cay(L⊗Im)=Cay(L)⊗Im\text{Cay}(\mathbf{L} \otimes I_m) = \text{Cay}(\mathbf{L}) \otimes I_m, so the step stays diagonal at O(N3+N2m)O(N^3 + N^2m) cost. The conserved set is exactly a 2m22m^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.

1 Introduction

Diagonal state space models have become a general parameterisation for long sequences, advancing a latent state by one diagonal transition per step at linear cost, which has carried them from language to audio, vision and physical dynamics [Gu et al., 2022a, Smith et al., 2023, Gu and Dao, 2024]. Yet the same transition is re-applied to every step of an autoregressive rollout, so that a deviation in one mode compounds rather than corrects and the latent norm decays towards zero or grows without bound. Two lines of work address this drift, one through a spectral or manifold constraint that places the eigenvalues on the unit circle [Orvieto et al., 2023, Arjovsky et al., 2016, Lezcano-Casado and Martínez-Rubio, 2019], and another through a structured generator that builds a prescribed quantity

∗^{*}Corresponding authors. †\daggerProject leader.

40th Conference on Neural Information Processing Systems (NeurIPS 2026).

into a Hamiltonian [Greydanus et al., 2019, Chen et al., 2020] or into a constraint set solved at every step [Lee and Carlberg, 2021]. Both constrain the quantity they target, which leaves open the question we address: which quantities can a diagonal recurrence preserve, which condition on the operator does each one require, and why does a conservation objective added to training not supply them?

Three gaps separate that question from current practice. A transition with every eigenvalue on the unit circle holds the norm to machine precision, yet a summed quantity such as momentum drifts by 141 percent, because the norm is a property of the spectrum whereas a sum is preserved only when the uniform vector is an eigenvector, a property of the coordinates. Stability and conservation are therefore distinct properties, and a constraint on the spectrum reaches only the first. A conservation penalty is the usual response to the second, and it changes the objective without changing the structure, so it may not recover the physics even on modestly complex problems [Krishnapriyan et al., 2021]. An exact operator resolves that gap but leaves a third, since its range of applicability is unknown and a norm-preserving map degrades accuracy on dynamics that contract or expand [Vorontsov et al., 2017, Kerg et al., 2019]. The conditions that decide conservation must therefore be placed on the coordinates, encoded in the structure of the generator, and derived from a single algebraic condition that also yields the criterion for where they apply.

Following this principle, we design the transition from the condition that decides what it conserves. For a transition obtained by the Cayley transform of a Hermitian generator, a quadratic form is

conserved exactly when its generator commutes with H\mathbf{H}, so the conserved set is fixed by the algebraic structure of H\mathbf{H} alone. Three requirements on that structure follow, each strictly stronger than the last: Hermiticity for the norm, vanishing row sums for the summed quantity, and the Kronecker form L⊗Im\mathbf{L} \otimes I_m for the angular quantity, so the three are nested and a unit-modulus spectrum reaches only the outermost (Figure 1a). We therefore propose the Kronecker–Cayley transition (KC), which assembles H=L⊗Im\mathbf{H} = \mathbf{L} \otimes I_m from one learned coupling per object pair and advances the latent by Cay(H)\text{Cay}(\mathbf{H}), so that all three requirements are met at once. They are properties of the pattern rather than of the values placed in it, so they hold at every value of the coupling and no correction is required. The same equivalence supplies the missing criterion, since a quadratic physical quantity is held exactly when its generator lies in that family, and a unitary step cannot represent contraction. Holding the summed quantity requires every rotating mode to carry none of the uniform vector, which the assembly satisfies by placing that vector in the null mode and which a trained basis reaches only by freezing every mode (Figure 1b).

On four conservation benchmarks [Takamoto et al., 2022, Gupta and Brandstetter, 2023], KC holds total mass to between 4×10−64 \times 10^{-6} and 9×10−39 \times 10^{-3} in absolute units, at or near the reference floor, while four diagonal baselines under the same encoder lose between 44 and 4×1094 \times 10^9. Two mass correctors, one learned end-to-end [Liu et al., 2025] and one fixed and uniform, both fail once the underlying prediction has drifted too far, whereas KC reaches the final horizon on every seed. Removing one condition of the assembly costs exactly the quantity it holds, and a modal basis trained under a conservation penalty conserves only by freezing every mode. KC also holds the linear momentum of three NN-body systems [Satorras et al., 2021, Brandstetter et al., 2022] to 2×10−62 \times 10^{-6} against 0.5 to 8 for every baseline, and at the operator level the conserved quantity of molecular dynamics, chemical kinetics, pharmacokinetics and power-grid swing dynamics to within 10−210^{-2} percent, while on a dissipative system it fits less accurately than baselines that can contract, as the theory predicts.

Our contributions are as follows. (i) We prove that the conserved quantities of a diagonal recurrence are nested, each requiring a strictly stronger condition, and that a unit-modulus spectrum reaches only the outermost (§3.3). (ii) We propose the Kronecker–Cayley transition, which satisfies every condition at once, and prove that its conserved set is exactly a 2m22m^2-dimensional family held at every parameter value (§3.2). (iii) We characterise the transitions that hold the summed quantity, show that a trained basis reaches them only by freezing its spectrum, and give a criterion, quadratic in the quantity and conservative in the dynamics, for where the construction applies (§3.4). (iv) We validate KC on four benchmarks, where it holds the conserved quantity at or near the floor while every baseline loses it and mass correction fails, and on dynamical systems across physics, chemistry and engineering (§4).

Figure

(a) Layers

Kronecker-Cayley lands on O(N−1)O(N-1) codim N−1N-1 in O(N)O(N)

Figure 1: Conserved quantities are layered, and constraining the spectrum reaches only the outermost. (a) Each layer requires a strictly stronger condition. (b) The conserving pairs of basis and spectrum form a lower-dimensional set, and a basis trained under a penalty remains near its initialisation instead of moving to it.

2 Related Work

Table 1: What each design constrains, which layer it reaches, and what it leaves free. The first three mark columns are the layers of Corollary 3, and a partial mark ✓ᵖ denotes a bounded norm, a quantity held only if named as a constraint, or one restored by a corrector while the underlying prediction stays within its reach.

DesignDesigned objectNormSumAngularDiag.All θ\thetaLeaves free
Spectrum: constrain the eigenvalues
Diagonal SSMeigenvalues✕✕✕✓✕eigenvectors
LRUspectrum✓ᵖ✕✕✓✓eigenvectors
Unitary RNNoperator✓✕✕✕✓designated quantity
Generator: name the quantity
Hamiltonian, SymODENscalar generator✕✓ᵖ✓ᵖ✕✓diagonal form
Deep conservationconstraint set✓ᵖ✓ᵖ✓ᵖ✕✓diagonal form
Operator learning: correct the output
FNOnone✕✕✕✕✕conserved quantity
CPFNOlearned corrector✕✓ᵖ✕✕✓ᵖconserved quantity
KC (ours)generator, L⊗Im\mathbf{L} \otimes I_m✓✓✓✓✓coupling values

Stability and conservation in learned dynamics. Diagonal transitions have made long-sequence modelling practical [Gu et al., 2022b, Gupta et al., 2022, Gu et al., 2022a, Smith et al., 2023, Gu and Dao, 2024, Dao and Gu, 2024], and stability has been secured by restricting the operator to the unitary manifold [Arjovsky et al., 2016, Wisdom et al., 2016, Helfrich et al., 2018, Lezcano-Casado and Martínez-Rubio, 2019] or the eigenvalues to the unit disk [Orvieto et al., 2023]. A second line places the conserved quantity in the generator, as a constraint set [Lee and Carlberg, 2021] or a learned Hamiltonian [Greydanus et al., 2019, Cranmer et al., 2020, Chen et al., 2020, Zhong et al., 2020b]. What neither line constrains is the modal basis, which is inherited from the encoder in every design of Table 1, so a spectral constraint holds the norm alone, a named constraint holds only what is named, and the quantities that depend on the coordinates are left free. We fix the basis in which the spectrum acts, so that conservation follows from the assembly rather than from the values placed in it.

Graph Laplacians and conserved quantities. Zero row sums make the constant vector an eigenvector of a graph Laplacian at eigenvalue zero, so any sum over nodes is preserved by the associated flow. That identity is the object that carries the invariant in reaction network theory [Veerman et al., 2023] and in average consensus [Olfati-Saber et al., 2007]. Within machine learning, the same graph instead carries a learned message function [Battaglia et al., 2016, Sanchez-Gonzalez et al., 2020, Satorras et al., 2021, Kipf et al., 2018], which fixes the sparsity pattern of the dynamics but leaves the conserved quantity free, and the identity itself has not been carried into a recurrence. We assemble the Laplacian as the generator of a diagonal transition, so that the zero mode fixes which quantity the recurrence preserves at every parameter value.

Structure preservation under long integration. The loss of a conserved quantity under long integration is a recurring difficulty across scientific computing [Hairer et al., 2006], and each field has developed its own repair. In molecular dynamics, velocity rescaling drains kinetic energy into centre-of-mass motion until the internal degrees of freedom freeze [Harvey et al., 1998]. In stiff kinetics, a mass-conserving scheme leaves the positive orthant and is projected back onto the reaction simplex [Sandu, 2001]. In climate emulation, a water-budget corrector has been shown to hide a degrading model [Chapman et al., 2026], a failure mode we observe in §4. In each case, the violation is corrected after it occurs, because no condition on the operator excludes it in advance. We give that condition in §3, and extended related work is provided in Appendix B.

References (41)