Diagonal Parameterization of State Space Models

32 concepts24 papers1 proposal

State Space Models (SSMs) and linear recurrent networks have emerged as a powerful paradigm for sequence modeling, offering a linear-scaling alternative to Transformers. Early breakthroughs in this domain, such as the Structured State Space (S4) model, relied on highly intricate mathematical formulations—specifically, "Diagonal Plus Low Rank" (DPLR) matrices derived from continuous-time control theory—to capture long-range dependencies without suffering from vanishing or exploding gradients.

However, this mathematical overhead made implementation and optimization notoriously difficult. A wave of recent research has demonstrated that this complexity is largely unnecessary. By constraining the state transition matrix to a strictly diagonal or block-diagonal form, models can achieve identical or superior performance while unlocking massive parallelization and simplifying the underlying linear algebra.

The Intuition of Decoupled Channels

In a standard linear recurrent system, the hidden state $h_t \in \mathbb{C}^d$ updates at each time step based on the previous state and an input $x_t$:

$$h_t = A h_{t-1} + B x_t$$

When the transition matrix $A \in \mathbb{C}^{d \times d}$ is dense, every dimension of the hidden state mixes with every other dimension at every single step. This requires a full matrix-vector multiplication ($O(d^2)$ computational complexity) and forces a strictly sequential computation.

If we constrain $A$ to be a diagonal matrix, the system undergoes a profound transformation. The matrix-vector product collapses into an element-wise multiplication (Hadamard product):

$$h_{t,i} = A_{ii} h_{t-1,i} + B_i x_t$$

As noted by Cohen et al. in Provable Benefits of Complex Parameterizations for Structured State Space Models, this parameterization decomposes the entire multi-dimensional state space into a collection of completely independent scalar channels. Each channel acts as an individual filter, tracking its own exponential decay or complex oscillation over time without any cross-talk during the recurrent step.

Why Diagonalization Retains Expressive Power

The immediate skepticism is obvious: if the hidden state dimensions cannot interact with each other during the recurrence, doesn't the model lose its ability to capture complex, interacting dynamics?

The mathematical reality is that interaction between features does not need to happen within the recurrence itself. Instead, the input matrix $B$ distributes information across the independent channels, and an output projection matrix $C$ mixes the channels back together at the end of the layer:

$$y_t = C h_t + D x_t$$

Gupta et al. proved in Diagonal State Spaces are as Effective as Structured State Spaces that purely diagonal state spaces (DSS) are mathematically equivalent in expressive power to more complex structured models. Because the final output is a linear combination of these independent channels, the model can approximate any continuous path function or linear system simply by summing up different exponential decays and oscillations.

Furthermore, Cohen et al. showed that using complex-valued diagonal elements provides an exponential advantage over real-valued ones, allowing a small number of channels to track highly intricate periodic wave patterns. This theoretical foundation explains why models like S4D (S4-Diagonal) match or exceed the performance of their low-rank predecessors across diverse benchmarks while being dramatically simpler to implement.

Unlocking Parallel Scans and Convolutions

The primary practical benefit of a diagonalized recurrence is computational speed. Because the channels are decoupled, we can compute the entire sequence history in parallel rather than step-by-step.

As shown by Smith et al. in Simplified State Space Layers for Sequence Modeling, element-wise operations allow the recurrence to be unrolled as a highly efficient parallel associative scan or computed via Fast Fourier Transform (FFT) convolutions. This insight allowed Orvieto et al. to "resurrect" traditional Recurrent Neural Networks. In Resurrecting Recurrent Neural Networks for Long Sequences, they demonstrated that by linearizing the recurrence and adopting complex diagonal matrices, their Linear Recurrent Unit (LRU) matched the performance and training speed of advanced continuous-time SSMs without needing their complex mathematical machinery.

Extending the Principle: Nonlinearity and Structure

The success of diagonal parameterization has spread beyond simple linear sequence models into more complex architectures:

Broad Applications and Efficiency Gains

The simplicity of diagonal state spaces makes them highly versatile across domains. In speech processing, Cheng and Liu leveraged diagonal SSMs in Modulating State Space Model with SlowFast Framework for Compute-Efficient Ultra Low-Latency Speech Enhancement to achieve ultra-low latency speech enhancement on resource-constrained hardware. Similarly, Saon et al. in Diagonal State Space Augmented Transformers for Speech Recognition and Shan and Gu in Augmenting conformers with structured state space models for online speech recognition successfully integrated diagonal state spaces into Conformer architectures, reducing optimization overhead while maintaining high accuracy.

Beyond 1D sequences, the authors of A 2-Dimensional State Space Layer for Spatial Inductive Bias extended this diagonalization to multidimensional data, reducing spatial processing complexity from exponential to linear. Furthermore, Wu et al. demonstrated in STree: Speculative Tree Decoding for Hybrid State Space Models that diagonal structures allow speculative tree decoding algorithms to accumulate states along non-linear token trees using efficient logarithmic sums.

Whether modeling physical systems like rainfall-runoff dynamics (Wang et al. in A Deep State Space Model for Rainfall-Runoff Simulations), representing unordered data (DeBenedetto and Chiang in Representing Unordered Data Using Complex-Weighted Multiset Automata), or enabling control-theoretic model compression (Schwerdtner et al. in Hankel Singular Value Regularization for Highly Compressible State Space Models), the underlying mechanism remains the same: decoupling the state dimensions simplifies the math, accelerates the hardware, and leaves the model's expressive power entirely intact.

Key Foundational Work

Representing Unordered Data Using Complex-Weighted Multiset Automata (2020) — contributed 1 concept elements to this direction.
Parallelizing Linear Recurrent Neural Nets Over Sequence Length (2018) — contributed 1 concept elements to this direction.
History & citationVersion 1 · 2026-10-04

Current · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_diagonal_state_space_parameterization_42be780e,
  title = {diagonal state-space parameterization},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/diagonal-state-space-parameterization/rdr_42be780e69b64584bbca227517366a71},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-27},
}

This exact version (version 1, frozen text):

@misc{lacuna_diagonal_state_space_parameterization_42be780e_v1,
  title = {diagonal state-space parameterization},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/diagonal-state-space-parameterization/rdr_42be780e69b64584bbca227517366a71/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-27},
}
About

These directions overlap with this one through shared papers.

See something wrong? Report a mistake