NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Uncovering the Spectral Bias in Diagonal State Space Models

Ruben Solozabal, Velibor Bojkovic, Hilal AlQuabeh, Kentaro Inui, Martin Takác · DOI

State Space Models (SSMs) have emerged as powerful alternatives to Transformers for long-sequence modeling. However, their performance is often sensitive to initialization and discretization parameters. This paper identifies a "spectral bias" in diagonal SSMs, where continuous-time initializations (like HiPPO) lead to an entanglement between memory decay and frequency response. We introduce S4D-DFouT, a discrete-domain initialization that decouples these factors, achieving state-of-the-art results on the Long Range Arena.

The Discretization Dilemma

SSMs like S4 and Mamba typically use the HiPPO framework for initialization, which is rooted in continuous-time mathematics. To implement these on digital hardware, a discretization step is required, usually controlled by a step size parameter $\Delta$. The authors discover that in diagonal SSMs, this process creates a fundamental entanglement: $\Delta$ simultaneously scales both the decay rate (how quickly the model forgets) and the resonant frequencies (the specific patterns it detects).

When $\Delta$ is not perfectly aligned with the data's intrinsic timescale, the model's "poles"—the mathematical anchors of its filters—cluster in narrow frequency bands. This spectral bias makes models fragile and difficult to scale to extremely long sequences where the optimal timescale is unknown.

S4D-DFouT: A Discrete-First Approach

To solve this, the authors propose S4D-DFouT (Diagonal Fourier Transform initialization). Instead of discretizing a continuous matrix, they define the model's poles directly in the discrete domain.

Comparison of pole distributions for different initialization schemes. S4D-DFouT (right) maintains a uniform frequency basis regardless of the discretization step $\Delta$.

The key innovations include:

  1. Discrete-First Initialization: Poles are placed uniformly around the unit circle, providing a perfect frequency basis similar to a Discrete Fourier Transform.
  2. Decoupling: Imaginary parts (frequencies) and real parts (damping) are defined separately, ensuring uniform frequency coverage regardless of the chosen decay rate.
  3. Layer-wise Synchronization: Multiple independent units within a layer are synchronized with specific phase offsets to cover the spectrum with high resolution without redundancy.

Breaking the PathX-256 Barrier

The most striking result is on the PathX-256 task from the Long Range Arena (LRA). PathX-256 involves sequences of 65,536 tokens, and previous diagonal SSMs failed to learn it from scratch. By allowing the frequency range to expand through discrete initialization, S4D-DFouT achieved 87.89% accuracy. This demonstrates that the failure of previous models was not a lack of capacity, but a failure of initialization to align with the sequence length.

SSMs as Local Filters

Beyond performance metrics, the paper provides qualitative insights into how SSMs process data. Analysis of learned kernels on image tasks like sCIFAR reveals that SSMs often act as local filters.

Visualization of learned kernels on sCIFAR. The model learns local filters that align with the image's row-stride, effectively performing 2D reasoning on 1D flattened data.

Despite the image being flattened into a 1D sequence, the model learns to "jump" across the sequence to look at vertically adjacent pixels. The peaks in the kernel magnitude correspond exactly to the row-stride of the image, showing that the model recovers spatial structure from the sequence. This "local bias" explains why SSMs excel at structured data but struggle with purely permuted tasks like psCIFAR.

Conclusion

S4D-DFouT represents a significant step in understanding and improving SSMs. By moving to a discrete-first perspective, the authors eliminate the spectral bias that hampered previous diagonal models. While the model still faces challenges with purely permuted data, its success on structured long-range tasks and its robustness to resampling make it a powerful tool for sequence modeling. Future work will explore applying these discrete-domain insights to non-diagonal architectures and large-scale language modeling.

Summary updated

BibTeX
@inproceedings{solozabal2025uncovering,
  author = {Ruben Solozabal and Velibor Bojkovic and Hilal AlQuabeh and Kentaro Inui and Martin Takác},
  title = {{Uncovering the Spectral Bias in Diagonal State Space Models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=4X2UwlYsXt},
}
Figure