Flash PD-SSM: Memory-Optimized Structured Sparse State-Space Models

arXiv:2605.19150 · cs.LG, cs.AI · Submitted 2026-05-18 · Read on arXiv

Listen

Radio episode about this paper

Transcript

Introduction to the show: ident: AI Radio. Generated commentary on the latest Artificial Intelligence papers.

Tom: I'm Tom.

Jane: And I'm Jane, here with Lu, Meng and our in-house large language model, Lalam.

Tom: We're looking at the paper: "Flash PD-SSM: Memory-Optimized Structured Sparse State-Space Models".

Paper summary: Tom: Hey Jane, so we're looking at this paper today, Flash PD-SSM: Memory-Optimized Structured Sparse State-Space Models. The main thing they're tackling is that big trade-off between efficiency and expressivity in state space models.

Jane: That’s right, Tom. Basically, unstructured transition matrices give you the most expressive power because you can model any finite state automaton transitions, but that comes with really high compute and memory costs. Most structured ones are efficient for training and running but they are limited in what they can actually represent.

Lu: The whole point of this paper is proposing Flash PD-SSM as a novel state space model that manages to get throughput comparable to those efficient structured models while providing much better expressivity guarantees than what's currently available <ref:2605.19150#pg1>.

Meng: But the motivation seems to be fixing this memory issue. I saw they were building on work like PD-SSM, but that version had a problem where generating those input dependent matrices cost O(L N two) in memory <ref:2605.19150#pg2>.

Tom: Exactly, and the key contribution they make here is a novel selection mechanism. They redesign the soft selection mechanism to be a hard selection instead, which changes the complexity of generating those matrices from O(L N two K) down to O(L N K) for compute and memory <ref:2605.19150#pg3>.

Jane: So they managed to cut down the memory cost from O(L N two) to just O(L N), which is a big win for running these models at scale, even though they still keep the expressivity high.

Lu: And they claim that this design maintains optimal theoretical expressivity guarantees by allowing Flash PD-SSM to emulate any finite state automaton with N states using just a single layer with hidden size N <ref:2605.19150#pg3>. They do this by mapping the state transition function to a matrix A of the form P q less than or equal to enc of delta of q and sigma times enc of q, where Q is the set of states and enc is some encoding scheme <ref:2605.19150#pg3>.

Meng: Okay, so theoretically it can do what unstructured models can do expressively-wise, but practically it’s efficient enough for production use. What about the real performance numbers?

Tom: They show synthetic state-tracking accuracy on a collection of FSA emulation tasks that gets ninety-six point three percent average accuracy <ref:2605.19150#pg3>, which is substantially better than diagonal models like Mamba two, which got fifty eight point nine percent average <ref:2605.19150#pg4>.

Jane: That synthetic tracking result sounds really impressive because it puts them ahead of other structured models too, like Gated DeltaProduct with eighty point seven percent average <ref:2605.19150#pg3>. They also have scores on mechanistic capability tests that are comparable to Mamba, hitting sixty nine point two percent versus sixty nine point three percent <ref:2605.19150#pg4>.

Lu: And they also report time-series modeling results, achieving state of the art accuracy on the UEA multivariate time-series classification task and reaching comparable mean squared error on the PPG-Daglia ti task <ref:2605.19150#pg3>. These results confirm that Flash PD-SSM is at the frontier for expressivity, throughput, and memory usage <ref:2605.19150#pg3>.

Meng: From an engineering standpoint, I’m interested in how it runs on real traffic. The paper mentions a three phase CUDA kernel implementation for the recurrence computation to exploit GPU parallelism <ref:2605.19150#pg4>, and they show the forward CUDA kernel achieves around eighty two percent of the theoretical peak memory bandwidth of the GPU <ref:2605.19150#pg4>. That sounds like solid hardware utilization.

Tom: It sounds efficient, but we have to remember they are using straight-through estimators for training, which can lead to biased gradients <ref:2605.19150#pg9>. That's a potential issue when we move into deeper language modeling tasks.

Jane: Yeah, that’s something the authors themselves flag as a modeling complexity that needs attention <ref:2605.19150#pg9>. So even with these great expressivity and efficiency gains, the training process itself has its own known challenges.

Lu: The paper shows they use this performance on natural language state-tracking tasks, surpassing Mamba two's out of distribution accuracy by up to ten percent while keeping throughput comparable <ref:2605.19150#pg4>. Plus, for pure language modeling, they hybridize it with DELTA-PD to get better accuracy and throughput than the base Flash PD-SSM <ref:2605.19150#pg4>.

Meng: So what does this mean for deploying things? It seems like an effective drop-in replacement for hybrid language models, improving both in natural language state-tracking and common language modeling scenarios <ref:2605.19150#pg1>.

Tom: Exactly, it seems like a solid upgrade over the existing structured SSMs we use today when we want that balance of speed and capability without the massive memory overhead. We're looking at models with increased throughput and decreased memory consumption compared to SSMs widely used in frontier language models <ref:2605.19150#pg1>.

Jane: It really seems like a practical piece of research, showing that we can push expressivity boundaries without completely sacrificing the speed we need for real-world applications. So, next up, we're going to look at what this all means for the bigger picture.

Conclusion: Tom: So we've seen how Flash PD-SSM manages to get high expressivity while cutting down memory usage significantly compared to other structured state space models.

Jane: Right, so the title itself says this paper is about taking those structured sparse state space models and making them more memory efficient.

Lu: It’s about solving that trade off between how much complex behavior you can model and how much computer memory you need for it.

Meng: But what does this actually mean for me when I'm trying to deploy a model? Is this something that will run smoothly on my hardware, or is it still too heavy?

Tom: Well, the core idea is a new way to pick the state transitions that cuts down the memory needed from O of L N two to just O of L N.

Jane: That reduction in memory complexity means these models can handle much longer sequences without running out of space.

Lalam: The authors are showing that this method keeps the theoretical expressivity high, meaning it can still model complex patterns, like finite state automaton transitions.

Meng: High expressivity is great on paper, but I need to know if that translate to something useful when I put this in a real language model pipeline.

Tom: It does show up well in benchmarks for both natural language state tracking and general language modeling tasks.

Jane: So the big picture is that we're getting models that are faster and more capable than what's been common for a long time.

Lu: The authors also point out some complexities, though, specifically about using straight-through estimators in training which can sometimes lead to biased gradients.

Meng: Biased gradients are a real problem when you’re trying to train something like this really deeply.

Tom: They acknowledge that modeling those training issues is still an open area for future research and they suggest looking into that more.

Jane: So while the model itself is efficient and expressive, the training process needs some refinement before it's perfect.

Meng: It sounds like a solid improvement for deployment, but we have to keep an eye on those training hurdles.

Tom: Exactly, it’s not just about the model running fast; it’s about making sure we can actually train and trust what the model learns.

Aleksandar Terzic, Francesco Carzaniga, Nicolas Menet, Yannick Biehl, Michael Hersche, Thomas Hofmann, Abbas Rahimi

IBM Research – Zurich Department of Computer Science ETH Zurich

cs.LG, cs.AI

Submitted: 2026-05-18

Updated: 2026-11-23

Code: https://github.com/fla-org/flash-linear-attention

License: http://creativecommons.org/licenses/by/4.0/

Importance score: 96/100

The gist: FLASH PD-SSM proposes a novel State-Space Model that achieves comparable throughput to widely-used structured SSMs while providing significantly better expressivity…

Key concepts

State-Space Models (SSMs)
These are mathematical models that describe a system's state over time based on a set of linear equations. They are used in sequence modeling because they can efficiently capture temporal dependencies, offering a good trade-off between computational speed and the complexity of patterns they can learn.
Structured Sparse SSMs
These are SSMs where the transition matrix has a specific, structured pattern rather than being fully random. This structure allows the model to be much more efficient in terms of computation and memory compared to unstructured models, which can be too costly for large sequences.
Expressivity Guarantees
This refers to the model's theoretical ability to represent different types of patterns, specifically Finite-State Automata (FSA). FLASH PD-SSM maintains optimal guarantees, meaning it can emulate any FSA with N states using a single layer of hidden size N.
Soft-Selection vs. Hard Selection
The original PD-SSM used soft selection for choosing transitions, which caused high memory overhead. FLASH PD-SSM replaces this with hard selection, redesigning the mechanism to reduce memory complexity from O(LN^2) to O(LN), leading to significant efficiency gains.

Terminology

Summary

FLASH PD-SSM proposes a novel State-Space Model that achieves comparable throughput to widely-used structured SSMs while providing significantly better expressivity guarantees. p. 0

Where the paper says it

Building on recent work on structured sparse SSMs, we propose FLASH PD-SSM, a novel SSM that achieves comparable throughput to widely-used structured SSMs with significantly better expressivity guarantees. FLASH PD-SSM maintains a trainable set of structured sparse matrices, a single one of which is discretely selected at each time-step, enabling FSA expressiveness at the level of unstructured matrices while maintaining the efficiency required for training models at scale.

<ref:2605.19150#pg1,FLASH PD-SSM, a novel SSM that achieves comparable throughput to widely-used structured SSMs with significantly better expressivity guarantees>. p. 0
Where the paper says it

In contrast, most structured transition matrix forms are highly efficient both in runtime and memory consumption, but suffer from limited expressivity. Building on recent work on structured sparse SSMs, we propose FLASH PD-SSM, a novel SSM that achieves comparable throughput to widely-used structured SSMs with significantly better expressivity guarantees.

Model Motivation and Trade-offs

State-space models face a fundamental trade-off between efficiency and expressivity that is mainly dictated by the structure of the model’s transition matrix.<ref:2605.19150#pg1,State-space models (SSMs) face a fundamental trade-off between efficiency and expressivity that is mainly dictated by the structure of the model’s transition matrix>. p. 0

Where the paper says it

ch Abbas Rahimi1 abr@zurich. com 1 IBM Research – Zurich, 2Department of Computer Science, ETH Zurich ¨ Abstract State-space models (SSMs) face a fundamental trade-off between efficiency and expressivity that is mainly dictated by the structure of the model’s transition matrix.

Unstructured transition matrices enable maximal expressivity, as measured by their ability to model finite-state automaton (FSA) transitions, but come at a prohibitively high compute and memory cost. p. 0
Where the paper says it

com 1 IBM Research – Zurich, 2Department of Computer Science, ETH Zurich ¨ Abstract State-space models (SSMs) face a fundamental trade-off between efficiency and expressivity that is mainly dictated by the structure of the model’s transition matrix. Unstructured transition matrices enable maximal expressivity, as measured by their ability to model finite-state automaton (FSA) transitions, but come at a prohibitively high compute and memory cost.

<ref:2605.19150#pg1,Unstructured transition matrices enable maximal expressivity, as measured by their ability to model finite-state automaton (FSA) transitions, but come at a prohibitively high compute and memory cost>. p. 0
Where the paper says it

com 1 IBM Research – Zurich, 2Department of Computer Science, ETH Zurich ¨ Abstract State-space models (SSMs) face a fundamental trade-off between efficiency and expressivity that is mainly dictated by the structure of the model’s transition matrix. Unstructured transition matrices enable maximal expressivity, as measured by their ability to model finite-state automaton (FSA) transitions, but come at a prohibitively high compute and memory cost.

In contrast, most structured transition matrix forms are highly efficient both in runtime and memory consumption, but suffer from limited expressivity. p. 0
Where the paper says it

Unstructured transition matrices enable maximal expressivity, as measured by their ability to model finite-state automaton (FSA) transitions, but come at a prohibitively high compute and memory cost. In contrast, most structured transition matrix forms are highly efficient both in runtime and memory consumption, but suffer from limited expressivity.

<ref:2605.19150#pg1,In contrast, most structured transition matrix forms are highly efficient both in runtime and memory consumption, but suffer from limited expressivity>. p. 0
Where the paper says it

Unstructured transition matrices enable maximal expressivity, as measured by their ability to model finite-state automaton (FSA) transitions, but come at a prohibitively high compute and memory cost. In contrast, most structured transition matrix forms are highly efficient both in runtime and memory consumption, but suffer from limited expressivity.

The authors build upon recent work on structured sparse SSMs like PD-SSM to address the bottleneck where generating input-dependent matrices incurs an O(LN2) memory cost. p. 1
Where the paper says it

However, while the structured sparse matrices utilized by PD-SSM offer linear asymptotic complexity in the parallel evaluation of the sequence of hidden states, the generation of the input-dependent matrices required for this computation incurs a significant overhead. If L is the sequence length and N the SSM hidden state size, generating the sparse transition matrices in PD-SSM incurs an O(LN2 ) memory cost.

<ref:2605.19150#pg2,However, while the structured sparse matrices utilized by PD-SSM offer linear asymptotic complexity in the parallel evaluation of the sequence of hidden states, the generation of the input-dependent matrices required for this computation incurs a significant overhead>. p. 1
Where the paper says it

The PD-SSM matrices provide optimal state-tracking expressivity guarantees, at the level of unstructured SSMs, while enabling efficient parallel computation through linear-complexity matrix-matrix multiplication of the highly sparse structured transition matrices. However, while the structured sparse matrices utilized by PD-SSM offer linear asymptotic complexity in the parallel evaluation of the sequence of hidden states, the generation of the input-dependent matrices required for this computation incurs a significant overhead.

Novel Selection Mechanism and Efficiency Gains

The primary contribution is a novel generation mechanism that reduces memory complexity from O(LN2) to O(LN) by redesigning the soft-selection mechanism in PD-SSM to hard selection.<ref:2605.19150#pg3>. This modification results in a reduction of compute cost from O(LN2K) to O(LNK) and memory cost from O(LN2) to O(LN). p. 4

Where the paper says it

The selected matrix is denoted as M sparse k∗(ut) ∈ [N] N . As each sparse dictionary matrix Msparse effectively reduces to an array of N integers, and since we now only have to select a single vector of N integers per time step, the memory cost is decreased from O(LN2 ) to O(LN) and the compute cost from O(LN2K) to O(LNK).

<ref:2605.19150#pg3>

Expressivity Validation

FLASH PD-SSM maintains optimal theoretical expressivity guarantees by allowing it to emulate any FSA with N states using a single layer with hidden size N.<ref:2605.19150#pg3>. This is achieved by mapping the state transition function δ: Q × Σ → Q to the matrix A(ut) via A(σ) = P q∈Q enc(δ(q, σ)) · enc(q). p. 3

Where the paper says it

Sparsity of P is achieved by applying a column-wise hardmax on the resulting matrix, producing a one-hot column matrix. This procedure is depicted in Figure 2, left, with the full equations given by: s(ut) = softmax(Sut) ∈ ∆K−1 (2) M(ut) = X K k=1 sk(ut)Mk ∈ R N×N (3) P:,j (ut) = column hardmax(M:,j (ut)) ∈ {0, 1} N (4) While the resulting sparse P(ut) matrices are highly efficient for chaining via the parallel scan [7], incurring an O(LN) computational cost, generating the matrices themselves poses a significant computational and memory bottleneck.

<ref:2605.19150#pg3>

Performance Benchmarks

The model demonstrates superior performance across various benchmarks:

  1. Synthetic State-Tracking: FLASH PD-SSM achieves 92. p. 2

    Where the paper says it

    These results confirm the superior state-tracking capabilities of FLASH PD-SSM, placing it at the frontier of expressiveness, throughput, and memory usage. Probing a different type of fundamental model capabilities, on mechanistic capability tests (MAD [41]), FLASH PD-SSM achieves scores comparable to Mamba [18] (69.

    7% average validation accuracy on synthetic state-tracking tasks, substantially outperforming diagonal models like Mamba2 (58. p. 2
    Where the paper says it

    Second, we show that FLASH PD-SSM can achieve the theoretical guarantees of structured sparse SSMs in practice, by exhibiting excellent length generalization accuracy (96. ) on synthetic statetracking tasks [13, 57], substantially outperforming both diagonal (Mamba2 [11] with 58.

    9% avg.).<ref:2605.19150#pg4>.

  2. Mechanistic Capabilities: On the MAD benchmark, FLASH PD-SSM achieves scores comparable to Mamba (69. p. 2

    Where the paper says it

    These results confirm the superior state-tracking capabilities of FLASH PD-SSM, placing it at the frontier of expressiveness, throughput, and memory usage. Probing a different type of fundamental model capabilities, on mechanistic capability tests (MAD [41]), FLASH PD-SSM achieves scores comparable to Mamba [18] (69.

    2% vs. 69.3%).<ref:2605.19150#pg4>.

  3. Time-Series Modeling: It defines a new State-of-the-Art (SoTA) accuracy on the UEA multivariate time-series classification task and reaches comparable MSE on the PPG-DaLiA forecasting task. p. 6

    Where the paper says it

    We additionally test FLASH PD-SSM’s performance on two time-series tasks involving sequences of length over 17 000 [2, 42]. On the UEA multivariate time-series classification dataset, FLASH PD-SSM defines a new SoTA accuracy, while on the PPG-DaLiA forecasting task it also reaches comparable MSE.

    <ref:2605.19150#pg4>.

Hybrid Language Model Integration

FLASH PD-SSM is effective in hybrid language models through two classes of tasks: natural language state-tracking and general language modeling.<ref:2605.19150#pg4>. In natural language state-tracking, it surpasses the out-of-distribution (OOD) accuracy of Mamba2 by up to 10% while maintaining comparable throughput. p. 2

Where the paper says it

We extend the Box [26] state-tracking dataset to more than twice its original length (up to 26 state transitions) and use it to benchmark frontier hybrid models, Granite4 [24] and NemotronH [6], combining self-attention and Mamba2. Here, we demonstrate that FLASH PD-SSM surpasses the out-of-distribution (length generalization) accuracy of Mamba2 by up to 10% in an equal setting while maintaining comparable throughput.

<ref:2605.19150#pg4>. For pure language modeling, DELTA-PD, which hybridizes FLASH PD-SSM with DeltaNet layers, surpasses pure FLASH PD-SSM in accuracy (42. p. 2
Where the paper says it

The results show that DELTA-PD surpasses pure FLASH PD-SSM in accuracy (42. 5%), and pure DeltaNet both in accuracy (42.

3% vs 38.5%) and throughput (253k tok/s vs 168k tok/s). p. 2
Where the paper says it

5%), and pure DeltaNet both in accuracy (42. 3%) and throughput (253k tok/s vs 168k tok/s, a 1.

<ref:2605.19150#pg4>.

Implementation Details

The recurrence computation is implemented using a three-phase CUDA kernel to efficiently exploit GPU parallelism.<ref:2605.19150#pg4>. This strategy partitions the time dimension into chunks and involves Kernel. p. 5

Where the paper says it

3 Chunk-Wise Implementation We design a three-phase CUDA kernel with additional Triton wrappers that efficiently exploit the parallel hardware of GPUs to compute the FLASH PD-SSM recurrence. The input is partitioned into chunks, and in each chunk, we compute an independent sequential recurrence in parallel, followed by inter-chunk aggregation and another independent sequential per-chunk recurrence that accounts for the additive effects of the inter-chunk aggregation.

A for local scan & aggregate, Kernel B for global carry propagation, and Kernel C to apply carry correction. p. 5
Where the paper says it

Therefore, we can scale the number of dictionary matrices as K = O( √ D) without blowing up the parameter cost of the model. 3 Chunk-Wise Implementation We design a three-phase CUDA kernel with additional Triton wrappers that efficiently exploit the parallel hardware of GPUs to compute the FLASH PD-SSM recurrence.

<ref:2605.19150#pg4>. The implementation shows that the forward CUDA kernel achieves around 82% of the theoretical peak memory bandwidth of the GPU. p. 1
Where the paper says it

First, we design a novel generation mechanism for structured sparse transition matrices that maintains optimal theoretical expressivity guarantees, yet reduces the memory complexity from O(LN2 ) to O(LN). We combine this principled algorithmic improvement with our custom hardware-aware Triton/CUDA implementation of the structured linear recurrence of PD-SSM.

<ref:2605.19150#pg4>.

Conclusion and Future Directions

FLASH PD-SSM leverages structured sparse SSMs to provide throughput comparable to Mamba2 while achieving FSA emulation expressivity significantly higher than that of a wide range of structured SSMs.<ref:2605.19150#pg6,We propose FLASH PD-SSM, a novel method that leverages structured sparse SSMs to provide throughput comparable to that of Mamba2 while achieving FSA emulation expressivity significantly higher than that of a wide range of structured SSMs>. p. 8

Where the paper says it

6 Limitations and Conclusion State-space models (SSMs) are increasingly utilized as the backbone of large language models, but the methods proposed so far all target an unbalanced expressivity-efficiency trade-off, leaning heavily towards efficiency. We propose FLASH PD-SSM, a novel method that leverages structured sparse SSMs to provide throughput comparable to that of Mamba2 while achieving FSA emulation expressivity significantly higher than that of a wide range of structured SSMs, and we show that it is an effective drop-in replacement for hybrid language models.

However, modeling complexities arise from the use of straight-through estimators which can yield biased gradients. p. 8
Where the paper says it

We propose FLASH PD-SSM, a novel method that leverages structured sparse SSMs to provide throughput comparable to that of Mamba2 while achieving FSA emulation expressivity significantly higher than that of a wide range of structured SSMs, and we show that it is an effective drop-in replacement for hybrid language models. At the same time, modeling complexities arise from the use of straight-through estimators, which can yield biased gradients [38].

<ref:2605.19150#pg9,At the same time, modeling complexities arise from the use of straight-through estimators, which can yield biased gradients>. p. 8
Where the paper says it

We propose FLASH PD-SSM, a novel method that leverages structured sparse SSMs to provide throughput comparable to that of Mamba2 while achieving FSA emulation expressivity significantly higher than that of a wide range of structured SSMs, and we show that it is an effective drop-in replacement for hybrid language models. At the same time, modeling complexities arise from the use of straight-through estimators, which can yield biased gradients [38].

Future research could provide more clarity regarding the relative underperformance of pure FLASH PD-SSM models in language modeling tasks. p. 8
Where the paper says it

As such, an explanation of their effectiveness on the wide range of tasks we utilized them in, in a highly discrete sequential method, is not sufficiently described by existing literature. This avenue of future research could also provide more clarity regarding the relative underperformance of pure FLASH PD-SSM models in the language modeling tasks.

<ref:2605.19150#pg9,This avenue of future research could also provide more clarity regarding the relative underperformance of pure FLASH PD-SSM models in the language modeling tasks>. p. 8
Where the paper says it

As such, an explanation of their effectiveness on the wide range of tasks we utilized them in, in a highly discrete sequential method, is not sufficiently described by existing literature. This avenue of future research could also provide more clarity regarding the relative underperformance of pure FLASH PD-SSM models in the language modeling tasks.

The paper concludes that FLASH PD-SSM is an effective drop-in replacement for hybrid LLMs yielding improvements both in natural language state-tracking and in common language modeling scenarios. p. 0
Where the paper says it

Second, on multivariate time-series tasks involving sequences of length over 17 000, we find that FLASH PD-SSM defines a new state-of-the-art (SoTA) accuracy among competing SSM methods. Finally, we demonstrate that FLASH PD-SSM is an effective drop-in replacement for hybrid LLMs, yielding improvements both in natural language state-tracking and in common language modeling scenarios.

<ref:2605.19150#pg1,Finally, we demonstrate that FLASH PD-SSM is an effective drop-in replacement for hybrid LLMs, yielding improvements both in natural language state-tracking and in common language modeling scenarios>. p. 0
Where the paper says it

Second, on multivariate time-series tasks involving sequences of length over 17 000, we find that FLASH PD-SSM defines a new state-of-the-art (SoTA) accuracy among competing SSM methods. Finally, we demonstrate that FLASH PD-SSM is an effective drop-in replacement for hybrid LLMs, yielding improvements both in natural language state-tracking and in common language modeling scenarios.

The model exhibits increased throughput and decreased memory consumption compared to SSMs widely used in frontier language models. p. 0
Where the paper says it

Finally, we demonstrate that FLASH PD-SSM is an effective drop-in replacement for hybrid LLMs, yielding improvements both in natural language state-tracking and in common language modeling scenarios. The model exhibits increased throughput and decreased memory consumption compared to SSMs widely used in frontier language models.

<ref:2605.19150#pg1,The model exhibits increased throughput and decreased memory consumption compared to SSMs widely used in frontier language models>. p. 0
Where the paper says it

Finally, we demonstrate that FLASH PD-SSM is an effective drop-in replacement for hybrid LLMs, yielding improvements both in natural language state-tracking and in common language modeling scenarios. The model exhibits increased throughput and decreased memory consumption compared to SSMs widely used in frontier language models.

References

[1] Axler, S. Linear Algebra Done Right. p. 9

Where the paper says it

References [1] Axler, S. Linear Algebra Done Right.

Undergraduate Texts in Mathematics. p. 9
Where the paper says it

Linear Algebra Done Right. Undergraduate Texts in Mathematics.

Springer International Publishing, 2024. p. 9
Where the paper says it

Undergraduate Texts in Mathematics. Springer International Publishing, 2024.

<ref:2605.19150#pg13>

[3] Bengio, Y., Leonard, N. p. 9

Where the paper says it

[3] Bengio, Y. , Leonard, N.

, and Courville, A. p. 9
Where the paper says it

, Leonard, N. , and Courville, A.

Estimating or propagating gradients through stochastic neurons for conditional computation. p. 9
Where the paper says it

, and Courville, A. Estimating or propagating gradients through ´ stochastic neurons for conditional computation.

arXiv preprint arXiv:1308. p. 9
Where the paper says it

Estimating or propagating gradients through ´ stochastic neurons for conditional computation. arXiv preprint arXiv:1308.

3432, 2013. p. 9
Where the paper says it

arXiv preprint arXiv:1308. 3432, 2013.

<ref:2605.19150#pg9>

[7] Blelloch, G. E. Prefix Sums and Their Applications, 1990

[8] Carter, N. C. Visual group theory. p. 9

Where the paper says it

[8] Carter, N. Visual group theory.

<ref:2605.19150#pg8>

[9] Cirone, N. M., Orvieto, A. p. 9

Where the paper says it

[9] Cirone, N. , Orvieto, A.

, Walker, B. p. 9
Where the paper says it

, Orvieto, A. , Walker, B.

, Salvi, C. p. 9
Where the paper says it

, Walker, B. , Salvi, C.

, and Lyons, T. p. 9
Where the paper says it

, Salvi, C. , and Lyons, T.

Theoretical foundations of deep selective state-space models. p. 9
Where the paper says it

, and Lyons, T. Theoretical foundations of deep selective state-space models.

[18] Gu, A. and Dao, T. p. 9

Where the paper says it

05457, 2018. [11] Dao, T.

Mamba: Linear-Time Sequence Modeling with Selective State Spaces. p. 8
Where the paper says it

While initial hybrids of gated SSMs and attention showed promise [30, 15], the introduction of time-variant mechanisms (e. , Mamba) notably improved practical language modeling performance [18].

<ref:2605.19150#pg13>

[23] Gupta, A., Gu, A., and Berant, J. Diagonal state spaces are as effective as structured state spaces. p. 1

Where the paper says it

In this work, we address this bottleneck by introducing FLASH PD-SSM, a highly efficient and effective structured sparse SSM. FLASH PD-SSM provides state-of-the-art (SoTA) results in various state-tracking and pure language modeling tasks, while maintaining a superior throughput and reduced memory usage to competing SSMs widely used in frontier language models, including both Mamba2 [11] and DeltaNet [48, 60].

<ref:2605.19150#pg11,Gu, A., Gu, A., and Berant, J. Diagonal state spaces are as effective as structured state spaces>

[33] Merrill, W., Petty, J., and Sabharwal, A. p. 9

Where the paper says it

, Etzioni, O. , Sabharwal, A.

The illusion of state in state-space models. p. 0
Where the paper says it

FLASH PD-SSM: Memory-Optimized Structured Sparse State-Space Models Aleksandar Terzic´ 1,2 aleksandar. terzic1@ibm.

<ref:2605.19150#pg12>

[43] Ren, L., Liu, Y., Lu, Y., Liang, C., Chen, W., et al. Samba: Simple hybrid state space models for efficient unlimited context language modeling. p. 6

Where the paper says it

The Mechanistic Architecture Design (MAD) benchmark [41] defines 6 small-scale synthetic tasks, high performance on which has been correlated with high performance of compute-optimal trained hybrid language models. The benchmark mainly probes the models’ capabilities to perform in-context recall, memorization, and other tasks, versions of which can be more naturally expressed as pushdown automata rather than FSAs [13].

<ref:2605.19150#pg13>

[49] Siems, J., Carstensen, T., Zela, A., Hutter, F. p. 9

Where the paper says it

, Cundy, C. , ´ Hutter, M.

, Pontil, M., and Grazzi, R. DeltaProduct: Improving state-tracking in linear RNNs via Householder products. p. 3
Where the paper says it

Relaxing the diagonal constraint to allow for arbitrary transition matrices enables fully expressive state-tracking with SSMs, but comes at a prohibitive compute and memory cost [52, 33]. An alternative approach utilizes (products of) Householder matrices, exemplified by the DeltaNet and DeltaProduct family of models [47, 60, 49].

<ref:2605.19150#pg13>

[53] Terzic, A., Menet, N., Hersche, M. p. 0

Where the paper says it

ch Michael Hersche1 michael. hersche@ibm.

p. 0
Where the paper says it

ch Michael Hersche1 michael. hersche@ibm.

, Hofmann, T. p. 0
Where the paper says it

com Thomas Hofmann2 thomas. hofmann@inf.

p. 0
Where the paper says it

com Thomas Hofmann2 thomas. hofmann@inf.

, and Rahimi, A. Structured sparse transition matrices to enable state tracking in state-space models. p. 0
Where the paper says it

com 1 IBM Research – Zurich, 2Department of Computer Science, ETH Zurich ¨ Abstract State-space models (SSMs) face a fundamental trade-off between efficiency and expressivity that is mainly dictated by the structure of the model’s transition matrix. Unstructured transition matrices enable maximal expressivity, as measured by their ability to model finite-state automaton (FSA) transitions, but come at a prohibitively high compute and memory cost.

<ref:2605.19150#pg13,Terzic, A. p. 0
Where the paper says it

FLASH PD-SSM: Memory-Optimized Structured Sparse State-Space Models Aleksandar Terzic´ 1,2 aleksandar. terzic1@ibm.

, Menet, N., Hersche, M., Hofmann, T., and Rahimi, A. Structured sparse transition matrices to enable state tracking in state-space models>

[54] Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., Kaiser, L., and Polosukhin, I. Attention Is. p. 2

Where the paper says it

Finally, we show that FLASH PD-SSM is effective in hybrid language models through two classes of tasks: natural language state-tracking and general language modeling. We extend the Box [26] state-tracking dataset to more than twice its original length (up to 26 state transitions) and use it to benchmark frontier hybrid models, Granite4 [24] and NemotronH [6], combining self-attention and Mamba2.

All You Need. p. 9
Where the paper says it

, and Tafjord, O. Think you have solved question answering?

<ref:2605.19150#pg13,Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., Kaiser, L., and Polosukhin, I. Attention Is All You Need>

[60] Yang, S., Wang, B., Zhang Y. Parallelizing linear transformers with the delta rule over sequence length. p. 0

Where the paper says it

The model exhibits increased throughput and decreased memory consumption compared to SSMs widely used in frontier language models. 1 Introduction State-space models (SSMs) [22, 23, 15, 50, 36, 18, 11, 60, 49] offer a scalable alternative to Transformers [54], providing distinct advantages such as linear compute scaling relative to sequence length and constant memory consumption during inference.

[61] Zellers, R. p. 9

Where the paper says it

[5] Bisk, Y. , Zellers, R.

, Holtzman, A., Bisk, Y., Farhadi, A., and Choi, Y. HellaSwag: Can a machine really finish your sentence? p. 9
Where the paper says it

Transformers are SSMs: Generalized models and efficient algorithms through structured state space duality. In International Conference on Machine Learning (ICML), 2024.

p. 9
Where the paper says it

Transformers are SSMs: Generalized models and efficient algorithms through structured state space duality. In International Conference on Machine Learning (ICML), 2024.

In Korhonen, A., Traum, D., and Marquez, L. (eds.), Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics. p. 9
Where the paper says it

Advancing regular language reasoning in linear recurrent neural networks. In Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, 2024.

<ref:2605.19150#pg13,Zellers, R. p. 9
Where the paper says it

[5] Bisk, Y. , Zellers, R.

, Holtzman, A., Bisk, Y., Farhadi, A., and Choi, Y. HellaSwag: Can a machine really finish your sentence? In Korhonen, A., Traum, D., and Marquez, L. (eds.), Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics>

[62] Jamba: Hybrid transformer-mamba language models.<ref:2605.19150#pg13>

[63] DELTA-PD surpasses DeltaNet both in accuracy and throughput.<ref:2605.19150#pg4>.

[64] FLASH PD-SSM (1–12) 3. p. 0

Where the paper says it

FLASH PD-SSM: Memory-Optimized Structured Sparse State-Space Models Aleksandar Terzic´ 1,2 aleksandar. terzic1@ibm.

08 251.5 11.8 31.1 63.2 42.6 22.5, a token with nothing after the comma is wrong]. p. 7
Where the paper says it

, two DeltaNet layers followed by one FLASH PD-SSM layer, based on evidence provided in existing literature, which found that regular spacing at ratios 1:2 (Samba [43]) up to 1:6 (Granite4 [24] and Nemotron-H [6]) provides the best downstream performance. We train both DELTA-PD and the pure DeltaNet baseline on a 100B token subset of FineWeb [39] and test their zero-shot performance on a set of tasks from the lm-eval harness collection [16].

Green — the paper says it, and the page is printed. Red — no passage carries it, so treat that sentence as unverified. The same check runs on your own text: check a summary against its source, $5.

Improvements for AI systems

  1. Better expressivity in state-space models allows them to emulate any finite-state automaton with a single layer, meaning these models can achieve the theoretical guarantees of unstructured SSMs for state tracking. This enables more complex reasoning capabilities compared to diagonal or DPLR SSMs which are limited by their structure.

  2. Improved memory efficiency reduces the memory footprint from O(LN2) to O(LN) during the generation of input-dependent matrices, leading to a more than 12% memory reduction with respect to both DeltaNet and Mamba2. This allows for training larger models at scale where computational and memory costs are prohibitive.

  3. Increased throughput makes FLASH PD-SSM comparable to that of Mamba2 while maintaining a superior memory usage, resulting in increased throughput and decreased memory consumption compared to SSMs widely used in frontier language models. This enables faster inference and training for hybrid language models.

  4. Enhanced natural language state tracking accuracy allows the system to surpass existing methods, showing a notable improvement to the OOD performance on this challenging task of up to 6% on the Granite4 family and 10% on Nemotron-H over Mamba2. This makes it effective for tasks involving sequence lengths up to 26 state transitions.

  5. Superior language modeling capabilities allow for training hybrid models, such as DELTAPD, which can achieve zero-shot evaluation accuracy improvement of 0.8% and 1% in the 100M and 230M scales over pure DeltaNet models on common downstream benchmarks. This demonstrates its effectiveness as a drop-in replacement for hybrid LLMs.

Abstract

State-space models (SSMs) face a fundamental trade-off between efficiency and expressivity that is mainly dictated by the structure of the model's transition matrix. Unstructured transition matrices enable maximal expressivity, as measured by their ability to model finite-state automaton (FSA) transitions, but come at a prohibitively high compute and memory cost. In contrast, most structured transition matrix forms are highly efficient both in runtime and memory consumption, but suffer from limited expressivity. Building on recent work on structured sparse SSMs, we propose PD-SSM, a novel SSM that achieves comparable throughput to widely-used structured SSMs with significantly better expressivity guarantees. PD-SSM maintains a trainable set of structured sparse matrices, a single one of which is discretely selected at each time-step, enabling FSA expressiveness at the level of unstructured matrices while maintaining the efficiency required for training models at scale. First, we validate PD-SSM against a suite of alternative models on synthetic mechanistic and state-tracking tasks, finding that its theoretical expressivity is achieved in practice. Second, on multivariate time-series tasks involving sequences of length over 17,000, we find that PD-SSM defines a new state-of-the-art (SoTA) accuracy among competing SSM methods. Finally, we demonstrate that PD-SSM is an effective drop-in replacement for hybrid LLMs, yielding improvements both in natural language state-tracking and in common language modeling scenarios. Up to 3B parameters, its training speed matches that of widely used SSMs, with less memory than DeltaNet and Gated DeltaNet. Code is available at https://github.com/IBM/flash-pdssm.

Sources

Related papers