[Paper Review] Diagonal State Spaces are as Effective as Structured State Spaces
The paper shows that a fully diagonal parameterization of state spaces (DSS) matches the performance of the S4 model on long-range tasks, while being simpler to implement and analyze.
Modeling long range dependencies in sequential data is a fundamental step towards attaining human-level performance in many modalities such as text, vision, audio and video. While attention-based models are a popular and effective choice in modeling short-range interactions, their performance on tasks requiring long range reasoning has been largely inadequate. In an exciting result, Gu et al. (ICLR 2022) proposed the $ extit{Structured State Space}$ (S4) architecture delivering large gains over state-of-the-art models on several long-range tasks across various modalities. The core proposition of S4 is the parameterization of state matrices via a diagonal plus low rank structure, allowing efficient computation. In this work, we show that one can match the performance of S4 even without the low rank correction and thus assuming the state matrices to be diagonal. Our $ extit{Diagonal State Space}$ (DSS) model matches the performance of S4 on Long Range Arena tasks, speech classification on Speech Commands dataset, while being conceptually simpler and straightforward to implement.
Motivation & Objective
- Motivate long-range dependency modeling across modalities (text, image, audio).
- Assess whether a diagonal state-space parameterization can match the performance of the DLPR-based S4 architecture.
- Provide a simpler, more transparent alternative to S4 with competitive accuracy on long-range benchmarks.
Proposed method
- Introduce Diagonal State Space (DSS) models by enforcing diagonal state matrices and deriving kernels for sequence processing.
- Two DSS variants to stabilize training: DSS exp (uses a diagonal A with negative real parts and HiPPO-inspired eigenstructure) and DSS softmax (normalizes row-wise exponentials to bound growth).
- Compute the state-space kernel efficiently via a fast convolution (FFT-based) of the discretized kernel with input sequences.
- Provide initialization schemes (Skew-Hippo) and training details to stabilize learning and achieve strong performance.
- Describe how to obtain states during autoregressive decoding via a diagonal A with closed-form recurrences.
Experimental results
Research questions
- RQ1Can a fully diagonal state-space parameterization (DSS) achieve comparable performance to the DLPR S4 model on long-range sequence tasks?
- RQ2Does simplifying the state-space parameterization (diagonal only) retain expressiveness while improving simplicity and interpretability?
- RQ3How do initialization and kernel length affect performance on long-range tasks across text, image, and audio modalities?
- RQ4What are the practical trade-offs (computational efficiency, stability) of DSS versus S4 and attention-based transformers on long sequences?
Key findings
- DSS softmax achieves an average LRA accuracy of 81.88, closely matching S4 (80.21) and outperforming Transformer baselines by about 20 points.
- DSS exp also performs competitively (81.18 average) and can be simpler to train, with DSS exp-no-scale generally underperforming on long-range tasks.
- On Speech Commands raw audio, DSS variants reach 98.2% (DSS exp) and 97.7–98.2% (others) comparable to S4 (98.1–98.32%), demonstrating cross-domain effectiveness.
- Ablation shows random initialization of the diagonal eigenvalues degrades performance and kernel-length truncation reduces accuracy, highlighting the importance of long-range modeling and proper initialization.
- Kernel visualizations indicate some tasks (Path-X) rely on long-range interactions, while others (Image, SC) are more local, explaining task-wise differences in sensitivity to kernel length.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.