Riccati State Space Models: Non-iterative Parallelization for Nonlinear Sequence Modeling

Mónika Farsang, Ramin Hasani, Daniela Rus, Radu GrosuarXiv 2026

TL;DR

RiccatiSSM is a new class of nonlinear state space models (SSMs) that achieves the "best of both worlds": the flexible, state-dependent dynamics of nonlinear models and the massive parallel efficiency of linear ones. By leveraging the unique algebraic properties of Riccati equations, the authors enable exact nonlinear sequence evaluation using a single associative parallel scan, bypassing the slow iterative methods required by previous nonlinear architectures.

What Problem Does This Paper Address?

Modern sequence modeling is a tug-of-war between expressivity and efficiency. Linear State Space Models (SSMs) like Mamba and S4 are incredibly fast because their state updates are affine (linear plus a constant). This property allows them to use "associative parallel scans," solving an entire sequence of length $T$ in $O(\log T)$ parallel time.

However, linear models have a limitation: their internal dynamics (like how fast they "forget" old information) don't depend on their current state. Nonlinear models, such as Liquid Time-constant (LTC) networks, fix this by making dynamics state-dependent, but they usually break the mathematical structure needed for parallel scans. To parallelize them, researchers previously had to use iterative methods (like Newton's method) that repeatedly linearize and re-scan the sequence, which is computationally expensive and can be unstable.

Methods

The authors introduce RiccatiSSM, which uses a specific type of nonlinear differential equation called a Riccati equation: $$\dot{x} = \epsilon(\alpha + \beta x + \gamma x^2)$$

The key "aha!" moment is that while this equation is nonlinear in the state $x$, its flow over time can be represented as a Möbius transformation (a fractional-linear map). Crucially, Möbius transformations are closed under composition and can be represented by $2 \times 2$ matrices.

As shown in Figure 1, the model performs a clever mathematical detour:

  1. Lift: It "lifts" the 1D nonlinear state into a 2D linear space.
  2. Scan: It performs a single associative parallel scan using $2 \times 2$ matrix multiplications to compose the updates across the entire sequence.
  3. Project: It projects the result back down to the nonlinear state space.
Figure 1: RiccatiSSM evaluates a nonlinear recurrence by a detour through a two-dimensional linear one. Bottom (grey, dashed): the states xt of one channel, whose M¨obius updates are nonlinear in the state. Composing such maps directly requires clearing nested fractions, so the bottom row offers no cheap merge to scan over. Top (blue, solid): the same states as homogeneous pairs (pt, qt), where each step is the matrix Mt. The initial state is lifted once, x0 7→(x0, 1), and states are recovered by xt = pt/qt. Matrix multiplication is associative, so the top row collapses into prefix products Pt = Mt · · · M1 under one associative scan of depth O(log T), with no fixed-point iterations; all D channels scan in parallel in the same round.

To ensure the model doesn't "blow up" (a common issue with Riccati equations where the denominator hits zero), the authors derived a stable parameterization. This constrains the coefficients ($\alpha, \beta, \gamma$) to ensure the state stays within a bounded interval and the dynamics remain contractive.

Datasets

The model was evaluated on a diverse set of benchmarks:

  • UEA Time-Series Classification: Six multivariate datasets including Heartbeat, MotorImagery, and the very long-sequence EigenWorms (17,984 steps).
  • PPG-DaLiA: A long-range regression task for heart rate estimation.
  • Weather Dataset: A long-horizon forecasting task predicting 720 future time steps.

Key Insights and Ideas

  • Nonlinearity without Iteration: The most significant insight is that we don't need to choose between "linear and fast" or "nonlinear and iterative." By restricting the nonlinearity to a specific algebraic family (Riccati/Möbius), we get exact parallelization.
  • Liquid Dynamics: RiccatiSSM captures "liquid" behavior—where the local contraction rate and effective timescale change based on the current state—without the overhead of an ODE solver.
  • Exact Discretization: Unlike many models that use approximate Euler steps, RiccatiSSM uses an exact matrix exponential solution for its discrete-time updates, reducing numerical integration errors.

Key Results

  • Speedup: RiccatiSSM reduced end-to-end runtime by 22–33% compared to LrcSSM (a state-of-the-art iterative nonlinear SSM) while using the same architecture.
  • Efficiency: As seen in Figure 2, the runtime advantage is particularly pronounced on long sequences like EigenWorms, where iterative methods struggle with convergence.
  • Competitive Performance: It matched or exceeded the predictive accuracy of top-tier models like Mamba, S6, and LinOSS across classification, regression, and forecasting tasks. For example, on the PPG-DaLiA regression task, it achieved a Mean Squared Error of $7.15$, significantly better than the $10.89$ of LrcSSM.
Figure 2: Time per step (seconds) for RiccatiSSM and LrcSSM across three UEA time-series clas- sification datasets using the same architecture on an NVIDIA A100 GPU. RiccatiSSM evaluates each layer with a single parallel scan, whereas LrcSSM requires approximately three quasi-DEER iterations. The runtime gap is largest for the longer EigenWorms sequences.

Limitations and Future Work

  • Functional Form: The model is strictly limited to a second-order polynomial nonlinearity. While powerful, it cannot represent arbitrary nonlinear functions.
  • Coefficient Independence: To maintain the parallel scan property, the coefficients ($\alpha, \beta, \gamma$) can depend on the input but not on the state. This prevents certain types of complex feedback loops.

  • Future Directions: The authors suggest exploring whether other algebraic groups (beyond Möbius maps) could support similar non-iterative parallelization for even more complex dynamics.

Summary updated

BibTeX
@misc{farsang2026riccati,
  author = {Mónika Farsang and Ramin Hasani and Daniela Rus and Radu Grosu},
  title = {{Riccati State Space Models: Non-iterative Parallelization for Nonlinear Sequence Modeling}},
  year = {2026},
  eprint = {2609.35441},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.35441},
}
Figure