Task-Level Insights from Eigenvalues across Sequence Models

Rahel Rickenbach, Jelena Trisovic, Alexandre Didier, Jerome Sieber, Melanie ZeilingerOpenReview 2026 · Submission to ICLR 2026 · Rejected

TL;DR

This paper introduces eigenvalue analysis as a unified "mathematical lens" to compare Transformers and State Space Models (SSMs). By recasting attention mechanisms as dynamical systems, the authors demonstrate that a model's spectral signature—the distribution of its eigenvalues—serves as a principled predictor of its ability to balance long-term memory with selective forgetting.

What Problem Does This Paper Address?

In the current "Sequence Model Wars," we have two main camps: Softmax Attention (the backbone of Transformers), which is powerful but scales poorly ($O(L^2)$), and Linear Alternatives like State Space Models (SSMs, e.g., Mamba), which are efficient ($O(L)$) but process information differently.

While we have plenty of benchmarks showing that these models perform differently, we lack a unified theoretical framework to explain why. Specifically, how does a model decide what to remember and what to forget? The authors tackle this by bridging the gap between modern deep learning and classical Linear System Theory, using eigenvalues to quantify the "memory health" of these models.

Methods

The researchers leverage the recently proposed Dynamical Systems Framework (DSF). This allows them to represent both SSMs and various attention mechanisms (Softmax, Linear, and Norm attention) as Linear Parameter-Varying (LPV) systems.

In simple terms, they treat every layer of these models as a recurrence relation: $h_i = \Lambda_i h_{i-1} + B_i u_i$

Here, $\Lambda_i$ is the state transition matrix. The eigenvalues ($\lambda$) of this matrix are the stars of the show:

  • $\lambda \approx 1$: The system has "long memory," retaining information over many time steps.
  • $\lambda \approx 0$: The system "forgets" rapidly, acting as a gate to filter out noise.
  • $\lambda > 1$: The system is technically unstable, which can lead to exploding gradients or poor generalization.

The authors conduct a massive empirical study, training six different architectures across five diverse tasks and visualizing how their eigenvalue distributions evolve from initialization to the end of training.

Datasets

The study uses a diverse battery of benchmarks to probe different model capabilities:

  • Long Range Arena (LRA):
    • ListOps: Reasoning over deeply nested mathematical structures (requires perfect memory).
  • IMDb: Byte-level text classification (requires identifying sparse signals in long text).
  • CIFAR-10: Image classification from pixel sequences (requires spatial reasoning).
  • MQAR (Multi-Query Associative Recall): A synthetic task testing a model's ability to retrieve specific "keys" and "values" from its memory.
  • WikiText-103: A standard natural language processing task for next-token prediction.

Key Insights and Ideas

  • Spectral Signatures are Task-Specific: Tasks like ListOps (where every token matters) force models to concentrate eigenvalues near 1. Conversely, tasks like MQAR (which require filtering) result in "gating" signatures with many eigenvalues near 0.
  • Attention’s "Instability" Problem: Softmax attention often produces eigenvalues significantly larger than 1. This inherent instability might explain why Transformers sometimes struggle on long-context benchmarks where SSMs (which strictly constrain eigenvalues to $\le 1$) thrive.
  • Architectural Offloading: One of the coolest findings is that adding a convolution layer before an attention layer "frees up" the model. The convolution handles local context, allowing the attention mechanism's eigenvalues to shift from "memory mode" to "selective gating mode."
  • Emergent Gating: Even when a model isn't explicitly designed with a "gate" (like Softmax attention), it learns to simulate gating behavior by pushing its eigenvalues toward zero if the task demands selective forgetting.

Key Results

  • Performance Correlation: Models that achieved high accuracy on memory-intensive tasks (like S4 and Mamba-2 on ListOps) showed a distinct lack of eigenvalues near zero.
  • Mamba-2 as a "Middle Ground": Mamba-2 was found to be highly flexible, occupying a middle ground that avoids excessive gating while still allowing for selective forgetting, explaining its competitive performance across both LRA and NLP tasks.
  • Normalization Matters: In "Norm Attention," switching the normalization function (e.g., from Softplus to Sigmoid) drastically changed the eigenvalue spectrum and, consequently, the model's performance on specific tasks. Sigmoid normalization favored memory, while Exponential favored selectivity.

Limitations and Future Work

  • Granularity: The authors analyzed eigenvalue magnitudes within predefined "bins" (e.g., 0.0–0.1). They acknowledge that a finer-grained analysis might reveal even more subtle information-processing behaviors.
  • Scope of Components: While eigenvalues describe the transition matrix ($\Lambda$), the input ($B$) and output ($C$) matrices also play roles in information flow that weren't the primary focus here.
  • Positional Encoding: The interaction between eigenvalue spectra and different positional embedding schemes remains an open question for future research.

Ultimately, this work suggests that we should stop guessing which architecture is better and start designing models with target spectral signatures in mind for specific tasks.

Summary updated

BibTeX
@misc{rickenbach2026task,
  author = {Rahel Rickenbach and Jelena Trisovic and Alexandre Didier and Jerome Sieber and Melanie Zeilinger},
  title = {{Task-Level Insights from Eigenvalues across Sequence Models}},
  year = {2026},
  url = {https://openreview.net/forum?id=ALf0xHCCaP},
  howpublished = {OpenReview},
  note = {Submitted to ICLR 2026},
}
Figure