potentialpaper

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

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

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. We introduce a novel state-space model that achieves high expressiveness and state-tracking performance while maintaining high throughput as well.

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 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. First, we validate Flash 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 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. Up to 3B parameters, it trains about as fast as widely used SSMs, with less memory than DeltaNet and Gated DeltaNet. Code is available at https://github.com/IBM/flash-pdssm.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
5 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]—[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:45 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

The paper makes the expressive but impractical PD-SSM construction efficient. Instead of forming and then sparsifying a new dense transition matrix at every token, it learns a dictionary of sparse transition maps and selects one map based on the current input. The model then uses that map to update its recurrent state, training the two discrete selection steps with straight-through gradient estimates. This preserves PD-SSM’s ability to represent arbitrary finite-state transitions while reducing transition-generation memory from quadratic to linear scaling in the state size. The method shows strong length-generalizing state tracking.

The main concern is that the language-modeling claims are broader than the evidence. Pure FLASH PD-SSM underperforms pure DeltaNet, full pretraining is limited to 100M and 230M models, and the larger experiments train only newly inserted layers. The results therefore support the proposed model as a useful specialized component more strongly than as a general replacement for existing SSM layers. The response should explain the pure model’s underperformance and either provide stronger evidence for the broader replacement claim or narrow the claim accordingly.

Final justification

I've read the authors' response/reviewer discussion. The response addresses my concern about limited LM evidence by additional experiments: parameter-matched 3B models pretrained from scratch, where Delta-PD performs competitively. Two reviewers support acceptance after response, 1 reviewer acknowledges the response but retains reservations about the strong efficiency claims. Overall I recommend acceptance: while the work builds directly on PD-SSM, making it practical requires nontrivial algorithmic and systems contributions.

Area Chair VKj9 · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

The paper makes the expressive but impractical PD-SSM construction efficient. Instead of forming and then sparsifying a new dense transition matrix at every token, it learns a dictionary of sparse transition maps and selects one map based on the current input. The model then uses that map to update its recurrent state, training the two discrete selection steps with straight-through gradient estimates. This preserves PD-SSM’s ability to represent arbitrary finite-state transitions while reducing transition-generation memory from quadratic to linear scaling in the state size. The method shows strong length-generalizing state tracking.

The main concern is that the language-modeling claims are broader than the evidence. Pure FLASH PD-SSM underperforms pure DeltaNet, full pretraining is limited to 100M and 230M models, and the larger experiments train only newly inserted layers. The results therefore support the proposed model as a useful specialized component more strongly than as a general replacement for existing SSM layers. The response should explain the pure model’s underperformance and either provide stronger evidence for the broader replacement claim or narrow the claim accordingly.

Final justification

I've read the authors' response/reviewer discussion. The response addresses my concern about limited LM evidence by additional experiments: parameter-matched 3B models pretrained from scratch, where Delta-PD performs competitively. Two reviewers support acceptance after response, 1 reviewer acknowledges the response but retains reservations about the strong efficiency claims. Overall I recommend acceptance: while the work builds directly on PD-SSM, making it practical requires nontrivial algorithmic and systems contributions.

1 comment
Authors · CommentOpenReview ↗

We thank the Area Chair for summarizing the contributions of all the Reviewers and for giving us concrete suggestions to work towards improving the quality of our work.

To directly address the concerns regarding evidence and scale, we have conducted substantial new experiments:


1. Large-scale pretraining

To prove the model scales well beyond the 230M regime, we pretrained hybrid 3B models from scratch on 500B tokens (utilizing ~100,000 H100 GPU hours). We used the Granite 4.0 architecture (Mamba2 + Attention) as a baseline and parameter-matched the alternatives. The Delta-PD hybrid (which interleaves Flash PD-SSM layers with Gated DeltaNet) achieves the lowest perplexity and highest average accuracy across all benchmarks, proving its viability as a frontier sequence mixer.

SSM layers Train ppl (↓) Wikitext ppl (↓) LAMB. ppl (↓) LAMB. acc (↑) HellaS. acc_n (↑) PIQA acc (↑) Arc-E acc (↑) Arc-C acc_n (↑) WinoGr. acc (↑) OBQA acc (↑) BoolQ acc (↑) Avg. acc (↑)
Gated DeltaNet 1.96 13.1 7.19 57.6 49.9 75.2 79.5 45.2 62.4 30.6 64.7 58.1
Mamba2 1.96 13.1 7.49 57.1 49.9 76.3 79.5 46.4 63.4 35.2 67.4 59.4
Mamba3 1.96 13.2 7.58 57.0 49.2 75.4 78.2 44.3 66.2 34.2 71.3 59.5
Delta-PD 1.95 12.9 6.66 60.0 50.2 75.8 79.6 49.1 64.2 31.8 66.8 59.7

This question is addressed in detail in W1 of uni4.

2. Capabilities of pure Flash PD-SSM Hybrids

We agree that Flash PD-SSM is best used in a hybrid setting in connection with self-attention and another SSM module (e.g., Gated DeltaNet). We now show that Flash PD-SSM can also be used in a pure hybrid setting with self-attention, without other SSMs. As we can see, Flash PD-SSM notably enhances the capabilities of a Transformer model in a direct hybridization in 100M parameter scale.

Model FW ppl (↓) LAMB. ppl (↓) LAMB. acc (↑) HellaS. acc (↑) PIQA acc (↑) Arc-E acc (↑) Arc-C acc (↑) WinoGr. acc (↑) OBQA acc (↑) Avg. acc (↑) Throughput (tok/s) (↑) Peak Memory (GB) (↓)
Transformer 2.79 32.7 34.3 34.5 64.6 42.2 23.9 50.4 15.8 38.0 461k 31.8
PD-Transformer 2.76 29.8 35.1 35.3 65.9 44.5 23.5 50.8 19.2 39.2 398k 39.5

This question is addressed in detail in W2 of uni4.

Q3. Layer insertions

We broaden the scope of our layer insertion models by including Mamba3 as a candidate layer together with an ablation using parameter-matched LoRA. The results are shown below. As we can see, Flash PD-SSM remains the SSM with the highest accuracy across most models.

Granite4 NemotronH
300M 1B 3B 7B 9B 12B 30B
LoRA 38.08 54.37 56.47 48.20 83.95 75.65 0.00
Mamba2 53.29 72.81 85.32 87.65 79.89 82.04 89.14
Mamba3 54.92 76.44 85.33 77.09 $ \dagger $ $ \dagger $ 82.34
DeltaNet 49.64 68.59 84.12 88.63 82.02 84.77 90.45
Flash PD-SSM 53.42 74.95 90.68 89.79 89.89 89.25 91.77

This question is addressed in detail in Q2 of PYkb and W3 of uni4.

Reviewer uni4OpenReview ↗
Rating
3/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The submission proposes FLASH PD-SSM, a memory-optimized structured sparse state-space model intended to retain the FSA/state-tracking expressivity of PD-SSM while removing PD-SSM’s expensive sparse transition matrix generation. The key idea is to directly select a structured sparse transition matrix from a learned dictionary at each time step, rather than forming and sparsifying an input-dependent dense combination. This reduces the claimed matrix-generation memory complexity from (O(LN^2)) to (O(LN)), and the authors combine this with a custom hardware-aware Triton/CUDA recurrence implementation.

Strengths and weaknesses

Strengths

  1. Improving the expressivity-efficiency trade-off of SSMs is highly relevant for long-context and hybrid language models.
  2. Replacing PD-SSM’s expensive dense-combination-and-sparsification path with direct sparse dictionary selection is conceptually clean and appears to preserve the intended finite-state transition mechanism.
  3. The custom recurrence implementation and runtime/memory evaluation make the work more practically relevant.
  4. The synthetic FSA results are strong and support the claim that structured sparse SSMs can outperform diagonal/DPLR alternatives on tasks where transition expressivity matters.

Weaknesses

  1. The paper frames FLASH PD-SSM as a drop-in replacement for frontier hybrid LLMs, but the actual LM pretraining experiments are only at 100M and 230M scale. The larger Granite4/Nemotron-H experiments train only inserted layers while freezing the base model. These are useful experiments, but they do not fully establish that FLASH PD-SSM is a robust replacement in full-scale frontier LLM pretraining.

  2. The strongest LM result comes from a DELTA-PD hybrid, while pure FLASH PD-SSM performs worse than pure DeltaNet. This weakens the claim that FLASH PD-SSM alone is a superior SSM backbone. The paper acknowledges this but does not sufficiently explain it.

  3. Adding trainable FLASH PD-SSM layers before attention layers in frozen Granite4/Nemotron-H models is not obviously equivalent to comparing SSM mechanisms under matched trainable-parameter, compute, and optimization budgets. Stronger controls are needed, such as extra Mamba2/DeltaNet layers with identical parameter count, LoRA/adapters, small MLP adapters, and same trainable-budget baselines.

  4. Single-layer forward/backward A100 measurements are useful, but the deployment claim would be stronger with end-to-end training and inference throughput, memory, and latency for complete hybrid models, including long-context prefill and autoregressive decoding.

  5. The method depends on custom Triton/CUDA kernels and many training/evaluation details. The checklist says no new assets are provided. For a systems-oriented architecture paper, code and kernels are important for verifying speed, memory, and correctness claims.

Questions
  1. Can the authors provide end-to-end throughput, memory, and latency for complete DELTA-PD models, not only single-layer measurements?
  2. In the Granite4/Nemotron-H experiments, how many trainable parameters are added for each method? Can the authors compare against parameter-matched Mamba2/DeltaNet insertions, LoRA/adapters, and generic trainable adapter layers?
  3. Why does pure FLASH PD-SSM underperform pure DeltaNet in language modeling, despite strong synthetic state-tracking results? Is the issue optimization, representation, discrete routing, lack of continuous associative memory, or something else?
  4. Can the authors provide more evidence that the method scales beyond 230M LM pretraining? Even a smaller-token scaling trend across several model sizes would help.
  5. Will the authors release the custom kernels and scripts required to reproduce the runtime/memory results?
  6. How sensitive are the results to the number of dictionary matrices, heads, temperature schedule, and chunk size in realistic language-model training?
Limitations

It notes that pure FLASH PD-SSM underperforms in language modeling. However, the limitations section is too short relative to the breadth of claims. It should more explicitly discuss optimization instability, sensitivity to STE/temperature schedules, hardware dependence of speedups, limited LM scale, and the fact that the strongest LM results rely on hybridization rather than pure FLASH PD-SSM.

Formatting concerns

NA

8 comments
Authors · CommentOpenReview ↗

We thank the Reviewer for appreciating the conceptual cleanliness of our work and its practical relevance, together with the strong results that validate our approach.

Following the Reviewer's suggestions, we extend our pure language modeling evaluation to hybrid 3B models trained on 500B tokens, showing that Flash PD-SSM outperforms all alternatives. We also include a new self-attention + Flash PD-SSM hybrid model, and a parameter-matched LoRA baseline for the natural language state-tracking results, and a range of ablations.


W1. Large-scale LM pretraining

As suggested by the Reviewer, we pretrain from scratch larger 3B parameter hybrid models on 500B tokens containing a mixture of natural language, code, and math, to evaluate the effectiveness of Flash PD-SSM at a large scale. Each model is trained on 8x8 Nvidia H100 for roughly 2 weeks, for a total of 256 GPUs and ~100,000 GPU hours. The results are shown in the Table below.

SSM layers Train loss (↓) Wikitext ppl (↓) LAMB. ppl (↓) LAMB. acc (↑) HellaS. acc_n (↑) PIQA acc (↑) Arc-E acc (↑) Arc-C acc_n (↑) WinoGr. acc (↑) OBQA acc (↑) BoolQ acc (↑) Avg. acc (↑)
Gated DeltaNet 1.96 13.1 7.19 57.6 49.9 75.2 79.5 45.2 62.4 30.6 64.7 58.1
Mamba2 1.96 13.1 7.49 57.1 49.9 76.3 79.5 46.4 63.4 35.2 67.4 59.4
Mamba3 1.96 13.2 7.58 57.0 49.2 75.4 78.2 44.3 66.2 34.2 71.3 59.5
Delta-PD 1.95 12.9 6.66 60.0 50.2 75.8 79.6 49.1 64.2 31.8 66.8 59.7

We use the hybrid Granite 4.0 3B architecture as the baseline, modifying the layers as described. In particular, as Granite 4.0 already uses Mamba2 layers, the Mamba2-based model above is identical to Granite 4.0. For all the others, we replace the Mamba2 layers with layers of the specified SSM, taking care to match the number of parameters. The Delta-PD model replaces the Mamba2 layers with Gated DeltaNet layers, except at positions (1, 7, 11, 17, 21, 27, 31, 37), which become Flash PD-SSM layers. As we can see, a combination of Gated DeltaNet and Flash PD-SSM achieves the highest average accuracy and the lowest perplexity across all tasks. The perplexity in particular is notably lower than the other alternatives. These results establish Flash PD-SSM as a viable sequence mixer for hybrid architectures.

W2. Pure Flash PD-SSM hybrid

We agree with the Reviewer that Flash PD-SSM is best used in a hybrid setting to augment the capabilities of the model, and have structured our experiments to show this. Indeed, across all of our LM benchmarks Flash PD-SSM is always employed in conjunction with other SSMs, and the results are always superior to all alternatives, both in the pure LM and the natural language state-tracking. At the same time, we now show that Flash PD-SSM can also be used in a pure hybrid setting with self-attention, without other SSMs. Our results with 100M models are in the Table below.

Model FW loss (↓) LAMB. ppl (↓) LAMB. acc (↑) HellaS. acc (↑) PIQA acc (↑) Arc-E acc (↑) Arc-C acc (↑) WinoGr. acc (↑) OBQA acc (↑) Avg. acc (↑)
Transformer 2.79 32.7 34.3 34.5 64.6 42.2 23.9 50.4 15.8 38.0
PD-Transformer 2.76 29.8 35.1 35.3 65.9 44.5 23.5 50.8 19.2 39.2

As we can see, Flash PD-SSM notably enhances the capabilities of a Transformer model in a direct hybridization.

W3. Ablations on natural language state-tracking

In the natural language state-tracking task, we insert into the pretrained model layers of each SSM family (Mamba2, DeltaNet, and Flash PD-SSM) while parameter-matching the inserted layers as much as possible to keep the comparison fair. We now add Mamba3 layers as well. In practice, for the Granite4-1B model, the trainable parameters for Mamba2 insertion are 134,041,984, for Mamba3 insertion 134,774,976, for Flash PD-SSM insertion 134,667,264, and for Gated DeltaNet 151,437,312. Only Gated DeltaNet is moderately higher than the others. Moreover, given the computational complexities of Mamba2, Mamba3, and Flash PD-SSM roughly match, the overall setup is consistent.

Still, following the Reviewer's suggestion, we now also include a parameter-matched LoRA experiment to better characterize whether simply adding trainable parameters without additional structure for state-tracking is sufficient to recover the added performance. The results are presented below (the two remaining models will be filled as soon as they finish).

Granite4 NemotronH
300M 1B 3B 7B 9B 12B 30B
LoRA 38.08 54.37 56.47 48.20 83.95 - -
Mamba2 53.29 72.81 85.32 87.65 79.89 82.04 89.14
Mamba3 54.92 76.44 85.33 77.09 $ \dagger $ $ \dagger $ 82.34
DeltaNet 49.64 68.59 84.12 88.63 82.02 84.77 90.45
Flash PD-SSM 53.42 74.95 90.68 89.79 89.89 89.25 91.77

As can be seen, this is not the case, with the LoRA ablation notably underperforming all other alternatives. Overall, Flash PD-SSM remains the SSM with the highest accuracy across most models.

[$ \dagger $] Mamba3 insertion results in unstable gradients for the models indicated, and the training cannot finish.

W4. Throughput

We appreciate the Reviewer's suggestion and accordingly provide the requested measurements comparing the end-to-end throughput and memory consumption of various 12-layer 100M SSM-based models, as well as the token generation speed during autoregressive inference preceded by long-context (4096) prefilling.

Model Training Speed (Tok/s) Training Memory (Peak Alloc GB) Autoregressive Generation (Tok/s)
Mamba2 37,536 1.15 41,715
Gated DeltaNet 33,501 1.37 32,337
Flash PD-SSM 39,783 1.34 33,637
Transformer 67,801 1.07 5,439

Our focus in these measurements was isolating the runtimes of various backbone sequence models.

W5. Code sharing

We apologize for the incorrect marking in the checklist, as we have provided the code for the model, together with the custom CUDA kernel, in the Supplementary Materials. Moreover, we are fully committed to open sourcing the code upon acceptance.

Q1. Throughput

Please see W4 above.

Q2. Layer insertions

For each of the models, we insert roughly 10% more layers, which corresponds to roughly 10% more parameters. Specifically, for the Granite4-1B model the trainable parameters for Mamba2 insertion are 134,041,984, for Mamba3 insertion 134,774,976, for Flash PD-SSM insertion 134,667,264, and for Gated DeltaNet 151,437,312. All insertions are parameter-matched as much as practically possible, to ensure a fair comparison across all models and baselines.

Moreover, following the Reviewer's suggestion, we now include an ablation with pure parameter-matched LoRA. See W3 for the full results and additional details.

Q3. Underperformance over DeltaNet

The Reviewer poses an interesting question to which we do not have a definitive answer at the moment. Indeed, we propose Flash PD-SSM as an element of deeper hybrids, demonstrating performance gains when interleaved with DeltaNet, Gated DeltaNet, and Transformer layers. Additionally, we demonstrate its applicability in more specialized domains such as time-series classification and forecasting, in addition to natural language tasks which demand state tracking. We provide additional ablations in Q6 below to shed further light on the question.

Q4. Larger-scale LM

As suggested by the Reviewer, we now evaluate multiple hybrid 3B parameter models using 500B training tokens. The full results and additional details are in W1.

Q5. Open sourcing

We apologize for the incorrect marking in the checklist, as we have provided the code for the model, together with the custom CUDA kernel, in the Supplementary Materials. Moreover, we are fully committed to open sourcing the code upon acceptance.

Q6. LM ablations

The results are invariant to the chunk size, it being only a hyperparameter that influences the model efficiency. As suggested by the Reviewer, we now provide additional results on language modeling pretraining, using a subset of FW100B

First, we test variants of STE estimators between deterministic and ReinMax (Liu et al., NeurIPS 2023), with three temperature choices for each. The results with the deterministic and the ReinMax estimators on 15B FW tokens are given in the Table below for a 100M PD-Transformer Hybrid. Alternative estimators can provide modest gains.

Estimator, Temperature Loss
Det., t=10 2.977
Det., t=1 2.977
Det., t=0.1 2.978
ReinMax, t=10 2.976
ReinMax, t=1 2.977
ReinMax, t=0.1 2.944

Second, we vary the number of dictionary matrices in 4, 8, 12, and 16 for 130M PD-Delta models trained on 100B FW tokens. In the general language modeling setting, their performance differs minimally, as shown in the Table below. In more specialized settings (natural language state tracking), our ablations in Appendix A.2 already vary the dictionary size up to 256, observing consistent improvement with larger dictionaries.

Dictionary size Loss
4 2.720
8 2.719
12 2.725
16 2.721

Finally, we vary other central architectural choices on 50B FW tokens with 100M PD-Delta hybrids to validate our model design.

Ablation Loss
No convolution 3.268
No output gate 3.132
No input gate 3.135
Full model 3.08
Authors · CommentOpenReview ↗

Updated insertion Table

Granite4 NemotronH
300M 1B 3B 7B 9B 12B 30B
LoRA 38.08 54.37 56.47 48.20 83.95 75.65 0.00
Mamba2 53.29 72.81 85.32 87.65 79.89 82.04 89.14
Mamba3 54.92 76.44 85.33 77.09 $ \dagger $ $ \dagger $ 82.34
DeltaNet 49.64 68.59 84.12 88.63 82.02 84.77 90.45
Flash PD-SSM 53.42 74.95 90.68 89.79 89.89 89.25 91.77
Authors · CommentOpenReview ↗

We greatly appreciate the time and effort dedicated by the Reviewer to improve our work. As the discussion period is coming to an end, we kindly ask the Reviewer to acknowledge whether we have successfully addressed their outstanding concerns. We remain available to further discuss any remaining question or weakness in our work.

Reviewer iKXROpenReview ↗
Rating
5/6
Confidence
4/5
Quality
3/4
Clarity
4/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper introduces FLASH PD-SSM, a memory-optimized parallel variant of the structured sparse state-space model (PD-SSM). This approach addresses the memory and computational bottlenecks of the original PD-SSM while maintaining its expressivity across synthetic tasks. This is achieved by replacing the combination of dictionary matrices with a direct, discrete selection mechanism. The authors show that this architectural change reduces memory complexity and maintains finite-state automaton (FSA) performance. The model is validated across a wide selection of tasks and ablations, showing good performance on synthetic state tracking, multivariate time-series classification, and as a drop-in layer in hybrid LLMs. However, the empirical results also indicate that pure FLASH PD-SSM models underperform relative to the DeltaNet baseline on standard language modelling tasks. Hence the practical utility of the proposed method is currently best realised when used as a complementary sparsely inserted layer within hybrid LLM architectures or when used in other sequence modelling domains with more dependence on state tracking.

Strengths and weaknesses are in no particular order of importance.

Strengths and weaknesses

Strengths

S1 The structure of the paper is well organized and the writing is clear. The experiments are clearly motivated throughout the paper and the results are well presented.

S2 The paper follows a very thorough experimental regime, with a large number of ablation studies and comparisons to baselines. The model shows good results on synthetic state tracking and fares decently on MADLAB showing particularly good compression efficiency. The model performs well as a layer within a hydrid model for language modelling. The model is also validated on other domains such as time series forecasting and classification, showing that the model is not limited to language modelling. Recent models were also tested.

S3 The comprehensive runtime and memory profiling of the model gives a clear picture of the real-world utility of the model and its potential for deployment in large-scale language models. A sweep of practical sequence lengths for LLM pretraining were profiled and the model matched or exceeded the baselines at typical sequence lengths.

S4 The ablations performed are comprehensive and the dependency on dictionary size and gradient estimator choice is well explored.

Weaknesses

W1 While seemingly novel as applied to a parallelised state-space model for language modelling, the idea of learning to select transition weights is not new and has been explored in the control theory background literature. See Switching State-Space Models/Kalman Filters/Dynamical Systems literature for example. There is a lack of discussion of this prior work and how it relates to the proposed approach. In my view the contribution of this work is a parallelised version of the switching control theory literature rather than a novel contribution to the field of state-space models.

W2 When exclusively using FLASH PD-SSM on the language pretraining task the performance is weaker than the baseline DeltaNet model. Hybridisation methods in LLMs commonly produce models better than either of the two models alone. Given the baselines my interpretation is that the strong performance on the synthetic tasks does not generalise clearly to the language modelling task. As a result FLASH PD-SSM does not appear to be a strong candidate for the main language modelling layer, but rather a candidate layer to sparingly include in a hybrid model to augment its performance on tasks where its base layer is weak.

Questions

Q1 The approach of learning to select weights (in this case fast weights) seems to be similar in nature to sparse Mixture of Experts (MoE) transformer layers. Do you see any connection between your work and MoE? Similarly with Sparse Attention.

Q2 Do your kernels primarily make use of Tensor Cores on GPUs? Do you know what fraction of the total compute is performed on Tensor Cores and what the percentage of theoretical peak FLOPS is achieved? If there is compute on both CUDA and Tensor Cores have you considered using asynchronous compute to overlap the two? Have you profiled the performance of your kernels on H100/B100 GPUs? RTX 30XX, 40XX, and 50XX follow a similar architecture to the A100, so I would expect similar performance improvements on those GPUs, but how does this scale to the larger tensor core architectures of the H100 or B100? Does the sparsity structure of your algorithm map nicely to other compute primitives?

Q3 I recognize the parameter matching and good latency/memory use of the model. What is the origin of the memory efficiency of the model over the Mamba/GDN baselines? Is there a smaller state size for a given number of parameters than other SSMs? It would be helpful if the total state sizes of the models were explicitly reported or if the exact scaling formulas were provided.

Q4 Have you considered more gradient estimators or discretisation methods other than STE and Gumbel-Softmax? Additionally, have you considered using a unified bank of potential weights that each column could select from, rather than picking between dictionaries?

Q5 Given the set of baselines in Table 1, why were the same set of baselines not used for the MADLAB experiments?

Limitations

Yes

Final justification

As stated in my comment to the authors: I think that the connections highlighted will make the originality more clear to a reader. The results presented in the rebuttals also strengthen the work overall. I am updating my recommendation to accept.

I also updated the originality score from 2 to 3.

The scale of the experiments are larger than I would usually expect, and it is not something I would want to over index on. However, Flash PD-SSM does show impressive scaling performance.

Formatting concerns

No

3 comments
Authors · CommentOpenReview ↗

We thank the Reviewer for the deep insights and suggestions, and for appreciating our thorough experimental evaluations and the real-world utility of our models.

Following the Reviewer's suggestions, we clarify the connection of our model with control theory and expand our set of measurements to profile more recent GPUs as well. We also further expand on the transfer between synthetic state-modeling tasks and pure language modeling performance.

We address each point in detail below.


W1. Connection to Switching State Space Models

The Reviewer raises a valid point; the area of switching control systems shares many similarities with our proposed approach and can serve to better contextualize our work. We are happy to make our work more approachable to readers with different backgrounds and to highlight where mature analysis approaches might be applicable, and we are thus grateful for this suggestion.

From our best understanding, we would argue that our approach falls outside of the strict taxonomy of switched control systems, at least as defined in works like Switching in Systems and Control (Liberzon, 2003). In classical settings, the switching signal is typically a state-dependent function (which precludes parallelism, but see Zattra et al., 2026), an externally imposed function independent of the system's input, or an autonomous event. We are not entirely familiar with the maturity of control-theoretic analyses in which the switching signal is a parameterized function of the input utu_t, but we will gladly familiarize ourselves with the subject matter further. With that said, the conceptual similarities are clear, and we will gladly mention this rich area in related work.

The Reviewer also points out an omission regarding related work on learning the parameters of discrete-time switched state-space models, originally applied in econometrics (Hamilton, 1989) and subsequently to time-series data (Ghahramani and Hinton, 2000; Linderman and Johnson, 2017; Degras et al., 2021). In these works, optimizing the parameters is generally an intractable problem that is approximated using iterative filtering or other variational techniques. Due to the probabilistic formulation, direct implementations of these models as a parallelisable and differentiable sequence layer (both being very desirable properties for any large-scale optimization) are not feasible.

Based on this, we believe that our approach is a valid and novel contribution to SSM-based neural network design, especially considering how the discrete selection mechanism and the parallel algorithm interplay with the monoidal sparse structure of PD matrices to enable expressivity and efficiency. Nevertheless, we fully appreciate the comment and will discuss the relevant literature in more detail.

W2. Language modeling performance

We agree with the Reviewer that Flash PD-SSM is best used in a hybrid setting to augment the capabilities of the model, and have structured our experiments to show this. Indeed, across almost all of our LM benchmarks, Flash PD-SSM is always employed in conjunction with other SSMs, and the results are always superior to all alternatives, both in the pure LM and natural language state-tracking. At the same time, we now show that Flash PD-SSM can also be used in a pure hybrid setting with self-attention, without other SSMs. Our results indicate strictly superior performance compared to Transformers, shown in the Table below.

Model FW ppl (↓) LAMB. ppl (↓) LAMB. acc (↑) HellaS. acc (↑) PIQA acc (↑) Arc-E acc (↑) Arc-C acc (↑) WinoGr. acc (↑) OBQA acc (↑) Avg. acc (↑)
Transformer 2.79 32.7 34.3 34.5 64.6 42.2 23.9 50.4 15.8 38.0
PD-Transformer 2.76 29.8 35.1 35.3 65.9 44.5 23.5 50.8 19.2 39.2

As we can see, Flash PD-SSM also notably enhances the capabilities of a Transformer model in a direct hybridization. Additionally, in response W1 to Reviewer uni4, we show that utilising both Flash PD-SSM and Gated DeltaNet achieves the best hybrid model score among all investigated SSM-Transformer hybrids at a 3B parameter and 500B token scale.

Q1. Connection to sparse MoEs

Following the Reviewer's point of view, our approach can be seen as a top-1 MoE interpretation of the original PD-SSM, and we predict that many of the design principles in sparse MoEs may come into play in further refinement of variants of our model, e.g., addressing potential expert over-reliance (which we have not observed being an issue, but which is certainly seemingly addressable through a Gumbel-softmax mechanism).

Methodologically, it is not highly related to sparse attention, although conceptually, both do share the common goal of reducing the computation and memory cost of a sequence model by means of sparsity.

Q2. Profiling on modern GPUs

We thank the Reviewer for these detailed system-level questions. To clarify the hardware mapping of our implementation, the workload is naturally split between Tensor Cores and standard CUDA cores. The dense input projections and diagonal generator computations are implemented via standard PyTorch operations, which natively utilize both Tensor and CUDA cores. Conversely, our custom three-phase chunk-wise recurrence is implemented fully in CUDA, and the gradient accumulation (Proposition 2) in Triton; both of these fully execute on standard CUDA cores. We confirmed through profiling that currently our TC utilization is not optimal during the kernel computation, and can be improved through an asynchronous compute strategy as mentioned by the Reviewer.

Regarding the fraction of compute and theoretical peak FLOPS: because our sparse recurrence reduces the computational complexity to O(LN), the custom kernels are memory- rather than compute-bound. Consequently, based on our measurement, theoretical peak FLOPS is not the limiting factor. As detailed in Appendix E, our forward CUDA kernel achieves approximately 82% of the theoretical peak memory bandwidth on an A100 GPU. Further end-to-end measurements of a 100M model on an H200 GPU demonstrate a 74% memory bandwidth utilization at 52% SM utilization.

The Reviewer’s suggestion to use asynchronous compute might enable excellent further optimization. Because the parameter generation and the recurrence utilize different hardware units (Tensor Cores vs. CUDA cores), it would indeed be possible to overlap them, for instance, executing the recurrence for one chunk concurrently with the parameter generation for the next.

The algorithm should also map well to alternative choices of hardware; as the state transition is primarily a data-routing operation, it maps well to hardware multiplexers on FPGAs or custom ASICs. On CPUs, it aligns with the hardware-level gather and scatter instructions found in modern SIMD vector extensions.

Q3. Memory Efficiency

For a given parameter count, the total physical state size of Flash PD-SSM is indeed smaller than the DeltaNet baselines. DeltaNet and Mamba rely on an outer-product expansion to maintain a matrix-valued hidden state, whereas Flash PD-SSM utilizes a vector-based hidden state.

As requested, we will gladly include the total state sizes and exact scaling formulas for all models in the revised appendix. In our memory measurements in Figure 5, the state size of Flash PD-SSM is 1024, Mamba2 has an effective state size of 1024 x 128, and DeltaNet models used an effective state size of 1024 x 1536, utilizing an expansion factor of 1.5 in the value projection. Note that the expanded state sizes of the alternative models are consequences of highly structured and memory-efficient expansions.

Note also that while our physical state is smaller, the realized capacity is theoretically similar as formalized in (Smolensky et al., 1990, Schlag et al., 2021). An additive D×D associative memory is bounded by an effective rank of O(D) independent patterns, making its representational capacity theoretically equivalent to a D-dimensional vector. This theoretical parity aligns with our results on the MAD benchmark, where Flash PD-SSM (69.2%) performs on par with Mamba (69.3%), indicating that the smaller physical state size does not necessarily impact practical memorization or recall capabilities. In fact, through minor tuning of the initialisation hyperparameters, we could raise the average performance of Flash PD-SSM on this benchmark suite to 70.4%.

Q4. Alternative estimators and column dictionary

We have experimented with different gradient estimators, particularly with the deterministic STE and the ReinMax (RM) estimator (Liu et al., NeurIPS 2023). We report the influence of the estimator and temperature for the deterministic (det.) and RM variants implemented in the selector of 100M PD-Transformer hybrid models on 15B FineWeb tokens in the table below. Modest gains can be obtained with alternative estimators.

Est., Temperature Loss
Det., t=10 2.977
Det., t=1 2.977
Det., t=0.1 2.978
RM, t=10 2.976
RM, t=1 2.977
RM, t=0.1 2.944

Aditionally, we did experiment with routing individual columns from a unified bank, but retained the global dictionary parameterization to minimize computational and memory overhead. Currently, selecting a single matrix requires generating only K logits per time step, whereas independent column routing would require an N×K tensor. Empirically, this column-wise selection yielded only minimal performance gains on our synthetic benchmarks, which did not justify the added cost. However, synthetic results may not perfectly translate to realistic settings, making this a valuable direction for future investigation.

Q5. MAD baselines

As the MAD experiments are notably more expensive to run than the synthetic state-tracking tasks of Table 1, we had to restrict ourselves to a subset of the models considered.

Reviewer iKXR · CommentOpenReview ↗

I think that the connections highlighted will make the originality more clear to a reader. The results presented in the rebuttals also strengthen the work overall. I am updating my recommendation to accept.

Authors · CommentOpenReview ↗

We sincerely thank the Reviewer for the positive assessment of our work and greatly appreciate the recognition of our contribution and the support.

Reviewer PYkbOpenReview ↗
Rating
5/6
Confidence
4/5
Quality
4/4
Clarity
4/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper develops on foundations built by the PD-SSM model. The PD-SSM model parametrised the transition matrix as the product of a column one-hot matrix and a complex-valued diagonal matrix (hence so named PD-SSM). In terms of expressivity, it has been shown that PD-SSM can emulate any finite state automata. However, the bottleneck is the generation of the input-dependent matrices that PD-SSM utilises. The Flash PD-SSM model introduced here address this issue through sparsifying the matrix dictionary , reducing the cost down to O(LN)\mathcal{O}(LN) while maintaining theoretical expressivity properties.

Strengths and weaknesses

Strengths:

The modification to PD-SSM is novel, and custom CUDA kernels have been designed for the new model.

The empirical evaluations are extensive, both synthetic tasks and also real world-data web data (FineWeb) are used for evaluation. The proposed method achieves comparable performance to the PD-SSM on synthetic state-tracking tasks, while being over 30 times faster. The new model also has low memory requirements. Interesting hybrid models are created, which gives convincing, state-of-the-art performance.

In terms of the presentation, the paper is well-written and a full pseudo-code Is included to help the reader understand the proposed method.

Weaknesses:

I think at times the observation/results omit some limitations. When comparing the runtime, it is a bit disingenuous as Flash PD-SSM is noticeably slower than Mamba2 for lower lengths (Figure 4), however, only the 4% improvement at length 5120 is pointed out in the text.

Similarly (with reference to how well the paper sits in literature), Table 1, which takes some results from [56] seems to have trimmed off the models introduced in that paper (SLiCEs). SLiCEs performed around the mid-80s, which means that although their performance sits only below Mamba3 and the PD-SSM models, they outperform the other baselines.

In terms of soundness, the claim of “contained additional computational cost” required to improve the LLM’s capabilities should be quantified.

A minor suggestion: Reference to relevant section when discussing synthetic state-tracking, mechanistic capabilities, and time series modelling in contributions.

Questions

For equation (2), why is this argmax rather than max when the text seem to say “MksparseM_k^{\text{sparse}} are generated from a dictionary of KK dense matrices Mk,k∈[K]M_k, k\in [K] by selecting the single largest element in each column”?

How are the candidate layers chosen in Section 4.3?

Limitations

The authors mention the potential of yielding biased gradients and the lack of detailed existing work in the literature, and further work to be done about the underperformance in language modelling tasks. However, I think that the slower than Mamba2 runtime for lower lengths can be also mentioned in this section.

Final justification

I had quite a positive assessment of the paper at initial review. I believe the authors addressed my concerns and those of the other reviewers well, therefore I maintained my score of 5 (accept).

Formatting concerns

N/A

4 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the Reviewer for highlighting the novelty of our approach and the broadness of our evaluations. We also appreciate the interest in our hybrid models.

We now clarify all aspects of the manuscript indicated by the Reviewer, especially the concerns about the performance of Flash PD-SSM at shorter lengths.

We address each point in detail below.


W1. Runtime comparison with Mamba2

The Reviewer correctly points out that at small sequence lengths, the overhead of Flash PD-SSM dominates the runtime, making it slower than Mamba2. We believe that such sequence lengths are unlikely to be encountered in practice, making this limitation relative only to synthetic benchmarks. We now clarify this aspect explicitly in the manuscript:

Section 4.1:

Figure 4 illustrates that Flash PD-SSM achieves a runtime comparable to that of Mamba2 [11] over a wide range of sequence lengths, showing a slowdown for shorter sequences (up to 50% for very short lengths of 512) while being faster at the more relevant, longer sequence lengths (up to 4% faster at length 5120).

W2. Comparison with SLICE

The Reviewer correctly noted the omission of SliCE-based methods from the FSA table. We omitted it because of space constraints and the fact that the SLiCE methods were never tested on language modeling; we wanted to keep the focus on methods for which more general applicability has been demonstrated. However, we intend to reintroduce SLiCE methods to the corresponding table, given that we fully re-use their experimental setup.

W3. Additional cost

The claim "contained additional computational cost" refers to the addition of layers into an existing model to enhance its capabilities. In this sense, any inserted layers (be it Mamba2 or Flash PD-SSM) represent additional cost. In our benchmark specifically, we show that adding only 10% more layers notably improves performance, more so when those layers are Flash PD-SSM. We now reformulate the claim to make it more explicit.

W4. Sections reference

We find the Reviewer's suggestion helpful, and revised the manuscript accordingly.

Q1. Argmax

We thank the Reviewer for pointing this out. The argmax is the correct expression, and we should have noted that the resulting matrix is a one-hot matrix with the active entry being the index of the largest element in each column.

Q2. Inserted layers

As mentioned in the paper, we follow the model designs of Granite 4 resp. NemotronH to decide where to insert the layers, and closely follow the sizes of the original layers as well. In particular, each of the model we consider is hybrid and contains several self-attention layers. We use this design choice to place the inserted SSM layers before each self-attention layer. In practice, for the Granite4-1B model, the trainable parameters for Mamba2 insertion are 134,041,984, for Mamba3 insertion 134,774,976, for Flash PD-SSM insertion 134,667,264, and for Gated DeltaNet 151,437,312. Only Gated DeltaNet is moderately higher than the others. Moreover, given that the computational complexities of Mamba2, Mamba3, and Flash PD-SSM roughly match, the overall setup is consistent.

We now also include Mamba3 as a candidate layer, together with an ablation using parameter-matched LoRA following Reviewer uni4's suggestion. The results are shown below (the two remaining models will be filled as soon as they finish):

Granite4 NemotronH
300M 1B 3B 7B 9B 12B 30B
LoRA 38.08 54.37 56.47 48.20 83.95 - -
Mamba2 53.29 72.81 85.32 87.65 79.89 82.04 89.14
Mamba3 54.92 76.44 85.33 77.09 $ \dagger $ $ \dagger $ 82.34
DeltaNet 49.64 68.59 84.12 88.63 82.02 84.77 90.45
Flash PD-SSM 53.42 74.95 90.68 89.79 89.89 89.25 91.77

As can be seen, Flash PD-SSM remains the SSM with the highest accuracy across most models.

[$ \dagger $] Mamba3 insertion results in unstable gradients for the models indicated, and the training cannot finish.

Authors · CommentOpenReview ↗

Updated insertion Table

Granite4 NemotronH
300M 1B 3B 7B 9B 12B 30B
LoRA 38.08 54.37 56.47 48.20 83.95 75.65 0.00
Mamba2 53.29 72.81 85.32 87.65 79.89 82.04 89.14
Mamba3 54.92 76.44 85.33 77.09 $ \dagger $ $ \dagger $ 82.34
DeltaNet 49.64 68.59 84.12 88.63 82.02 84.77 90.45
Flash PD-SSM 53.42 74.95 90.68 89.79 89.89 89.25 91.77
Authors · CommentOpenReview ↗

We greatly appreciate the time and effort dedicated by the Reviewer to improve and support our work. We also remain available to further discuss any eventual remaining question.

Reviewer PYkb · CommentOpenReview ↗

Thank you for addressing the weakness points and answering my questions. I have no remaining concerns, and maintain my positive assessment of the work and support for its acceptance.

Comments on the paper

1 comment
Authors · CommentOpenReview ↗

We wish to thank all Reviewers, the Area Chair, and the whole organizing committee for the interesting and thoughtful discussion period.

We are glad that Reviewer PYkb supports our acceptance and has found that our responses have addressed the weaknesses they initially reported. We also appreciate Reviewer iKXR's participation in the discussion period and the decision to also decisively support our acceptance. Finally, we deeply thank Reviewer uni4's for the effort to improve our work. We hope to have addressed their concerns through detailed measurements and further discussion of the paper's scope, and we intend to combine their suggestions with those of Reviewer iKXR to further improve Flash PD-SSM's performance.

Following the AC's guidance, we have improved the paper in the following key ways:

  1. We have pretrained a large scale 3B parameter model using a hybrid of Flash PD-SSM and Gated DeltaNet layers, confirming the superiority of this architecture against all other alternatives both in perplexity and downstream accuracy across multiple tasks;
  2. We have improved our layer insertion benchmarks, now including Mamba3 layers and also a LoRA finetuning baseline, indicating that insertion of Flash PD-SSM layers remains the best performing solution in natural language state-tracking tasks;
  3. We have shown that pure Flash PD-SSM and Transformer hybrids notably surpass a Transformer-only model, showing that Flash PD-SSM on its own provides notable benefits;

Thanks to further discussion with Reviewer uni4 and Reviewer iKXR, we have now also identified deeper optimization possibilities for Flash PD-SSM. Currently, Flash PD-SSM exhibits the highest training throughput among the investigated SSM models representative of the state-of-the-art (Flash PD-SSM, Gated DeltaNet and Mamba2). We will implement the above mentioned improvements to increase the cache filling performance and single-step generation of Flash PD-SSM as well.

We thank once again the Reviewers for the productive discussion, and are confident that our responses satisfactorily address all concerns highlighted by the Area Chair and all Reviewers.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…