potentialpaper

Sparse Delta Memory: Scaling the State of Linear RNNs through Sparsity

Loïc Cabannes, Pierre-Emmanuel Mazare, Ilze Amanda Auzina, Gergely Szilvasy, Maria Lomeli, Matthijs Douze, Justin Carpentier, Gabriel Synnaeve, Herve Jegou

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. long-context performance of linear RNNs like GDN can be improved significantly by making their state 1000x larger with no additional FLOPs and no additional parameters using sparsity.

Abstract. Linear attention models allow a fixed state size and a fixed amount of compute per token. However, due to their limited state size, linear attention models fall behind in long-context recall compared to softmax-attention-based transformer architectures. Increasing the state size of linear attention improves recall performance but at the cost of higher FLOPs. In this work, we introduce Sparse Delta Memory (SDM), an architecture that scales the hidden state of gated linear RNNs to orders of magnitude higher capacity using a sparse addressing scheme. SDM extends the Gated DeltaNet architecture by replacing the dense key-value outer product with sparse reads and writes to a large explicit memory. We show that, under an isoFLOP constraint and with an identical number of parameters, a higher state memory capacity significantly improves performance on in-context learning and long-context retrieval tasks. Moreover, by learning the initial state of the SDM memory and therefore using it as a parametric memory, we show that the model further improves on a wide range of common-knowledge and reasoning tasks.

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:43 UTC.

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

This paper introduces sparse delta memory (SDM), an extension of Gated Delta Nets for scaling the hidden states of linear RNNs.

All the reviewers agree that the work is interesting. One of the main criticisms is that the wall clock time is slower for the proposed method. In general, I agree with all the 3 reviews and recommend the authors address all the concerns in their rebuttal.

Final justification

Authors addressed the wall clock time issue during the rebuttal, and all the reviewers agree that this is a good work!

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

This paper introduces sparse delta memory (SDM), an extension of Gated Delta Nets for scaling the hidden states of linear RNNs.

All the reviewers agree that the work is interesting. One of the main criticisms is that the wall clock time is slower for the proposed method. In general, I agree with all the 3 reviews and recommend the authors address all the concerns in their rebuttal.

Final justification

Authors addressed the wall clock time issue during the rebuttal, and all the reviewers agree that this is a good work!

1 comment
Authors · CommentOpenReview ↗

Additional training throughput results

Dear Area Chair,

The meta-review and all three reviewers identified wall-clock time as the main weakness. Since our rebuttal we have thus continued optimizing the SDM kernel, and we would like to report a further substantial improvement.

Measured on the same hardware and the same 8B configuration as the rebuttal tables, against the same GDN baseline of 2.073 s/iter:

SDM s/iter overhead vs GDN
original submission 3.40 64%
current 2.415 16.5%

The remaining gap over GDN is now under 17%, compared with the 64% reported in the original version.

We believe this addresses the central concern directly: the isoFLOP and sparsity design of SDM does translate into practical training throughput, and the remaining gap reflects implementation maturity rather than a property of the architecture. We will include the updated efficiency analysis in the final version.

Reviewer c2ybOpenReview ↗
Rating
5/6
Confidence
3/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

This paper proposes an extension of Gated Delta Net (GDN) which drastically increases the size of the memory but only allows for sparse interaction with the memory. The sparsity is implemented via a Product Key Memory which requires only 2\sqrt{N} keys for a memory with N entries. The paper finds that this increase in memory can improve model performance across model scales, however, the implementation on typical GPU hardware can run slowly due to I/O and storage requirements of the larger memory.

Strengths and weaknesses

(S1) Simple extension of the GDN, improves and in some cases closes the gap with full attention.

(S2) Large bump in long context performance over GDN.

(S3) Ablations of memory capacity tell a convincing story, capability scales with memory size.

(W1) The biggest weakness is the wall clock speed. 1.64x slower per iteration vs GDN at 8B is significant.

Questions

(Q1) SDM at 1.4B scale shows modest improvement on BoolQ but at the 8B scale takes a major hit. The magnitude change in BoolQ at 8B is the largest of the NLU tasks. Im curious if you investigated this at all, or have any theories as to why this might be.

Limitations

yes

Final justification

Thank you for the detailed rebuttal. The improved kernel timings and the BoolQ stability analysis address my concerns. I maintain my positive rating.

Formatting concerns

no

1 comment
Authors · RebuttalOpenReview ↗
Rebuttal

Thank you for highlighting that our architecture 'improves over GDN and in some cases closes the gap with FullAttn' and that we show a 'large bump in long context performance over GDN'. With respect to the remaining open points:

W1, wall-clock (1.64× slower at 8B)

Since submission we have substantially optimized the SDM kernel on the same hardware and cut the training overhead by almost half, from about 64% over GDN (1.64×) to about 37% (1.37×).

We also report the full training, prefill, and decode throughput as a function of sequence length at the 8B scale, and observe that at long context lengths (131k) SDM is on par (prefill) or surpasses (decode) FullAttn (see Q3 for reviewer beSr for detailed result tables).

Furthermore, we believe SDM can be improved further. In particular, we expect that on new-generation hardware with much higher memory bandwidth, such as Groq, Cerebras, or the latest NVIDIA Rubin, the currently memory-bound SDM would benefit more than FullAttn or GDN.

Q1, BoolQ: modest gain at 1.4B, large drop at 8B

Good question, we looked closely, and the short answer is that BoolQ is by a wide margin the least stable benchmark in our short-context suite.

(1) BoolQ is the noisiest task on the ladder. Across 24 ladder runs, one per (architecture, level): each model is evaluated 4 times over training on average. For each benchmark we report the fraction of those consecutive evaluations that improve on the previous one:

Benchmark evals improving on previous (%) runs monotone throughout
HellaSwag 100% 24/24
PIQA 86% 15/24
ARC-easy 80% 10/24
ARC-challenge 69% 7/24
WinoGrande 69% 7/24
BoolQ 39% 0/24

BoolQ is the only task that never improves monotonically across evaluations in any of the 24 runs (39% of its evaluation-to-evaluation steps improve, vs 100% for HellaSwag). HellaSwag, ARC-easy, and ARC-challenge rise far more smoothly on the very same checkpoints.

We thus attribute the large swing in delta from 1.4B to 8B to noise in the BoolQ benchmark.

We hope these additional experiments and clarifications, in particular the improved kernel timings, the long-context throughput tables, and the BoolQ stability analysis, address your concerns, and we would be grateful if you would consider updating your score if you feel they do. We are of course happy to answer any further questions.

Reviewer du5COpenReview ↗
Rating
4/6
Confidence
3/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

This paper proposes Sparse Delta Memory (SDM), a sparse extension of Gated DeltaNet (GDN) for long-context modeling. The main idea is to replace the dense recurrent state update in GDN with sparse reads and writes over a large explicit memory table. By using a Product-Key Memory style addressing scheme, the model only accesses a small number of memory slots at each timestep, while keeping the per-token FLOPs comparable to GDN. The paper shows that increasing the hidden memory capacity improves both in-context learning and long-context retrieval. Under isoFLOP and matched-parameter settings, SDM consistently outperforms GDN across different model scales. The authors also introduce a learned initial memory state, which allows SDM to store pretraining knowledge and further improves performance on short-context knowledge and reasoning tasks. Experiments on scaling laws, RULER long-context tasks, code perplexity, and ablations support the effectiveness of the proposed sparse memory design.

Strengths and weaknesses

Strengths

S1. The method is conceptually clear. It combines GDN-style delta updates with Product-Key Memory sparse addressing, so that only selected memory slots are read and written at each timestep. This provides a reasonable and intuitive way to scale recurrent memory.

S2. The experimental setting is fairly convincing. The authors compare SDM with GDN under matched FLOPs and parameters, and also include FullAttn and Mamba2 as baselines. The scaling experiments, long-context evaluation, and ablation studies together provide good evidence that larger sparse memory is useful.

Weaknesses

W1. Although SDM matches GDN in theoretical FLOPs, its actual hardware efficiency is still weaker. The paper itself notes that SDM kernels have much lower MFU than optimized GDN kernels, and training is slower in practice. This makes the isoFLOP comparison somewhat incomplete, because real deployment depends heavily on wall-clock time, memory bandwidth, and kernel efficiency.

W2. SDM requires a large explicit memory state. This is the main source of its improved capacity, but it also increases memory footprint substantially. In some settings, especially short-context inference or resource-limited deployment, the fixed large memory may not be cost-effective compared with standard attention or smaller recurrent models.

W3. The method still lags behind FullAttn on some long-context retrieval tasks, especially tasks requiring precise multi-key retrieval. This suggests that SDM does not fully solve the information loss problem caused by compressing past context into a fixed state.

W4. The sparse addressing mechanism is mainly justified empirically. The paper provides useful ablations, but it does not deeply analyze when sparse slot selection may fail, how often memory collisions occur, or how sensitive the method is to the choice of N, W, R, and the number of heads.

Questions

Regrading W1: Since SDM is slower than GDN in wall-clock training despite matched FLOPs, can the authors provide more detailed throughput and latency comparisons, especially for inference at different context lengths?

Regrading W2: How should one choose the memory size N, the number of read slots R, and the number of write slots W in practice? Are there simple rules for balancing memory cost, speed, and accuracy?

Regrading W3: On tasks such as multikey retrieval where FullAttn still has a clear advantage, what kinds of information are lost by SDM? Is the bottleneck caused by sparse addressing, limited write capacity, or interference between memory slots?

Regrading W4: How often do memory slot conflicts happen in SDM, and do they become more serious as the context becomes longer? It would be helpful to include more analysis of memory utilization and collision behavior.

Limitations

Yes

Final justification

The author addressed most of my concerns, particularly regarding efficiency, so I am maintaining my positive score.

Formatting concerns

None

1 comment
Authors · RebuttalOpenReview ↗
Rebuttal

We are pleased that you found the design of our method "conceptually clear" and our experimental setting "convincing". Thank you for the precise weaknesses; we address them below.

Q1 Throughput/latency across context lengths

We added a full efficiency study measuring three quantities for SDM/GDN/FullAttn as a function of context length: training step time, prefill throughput (time to ingest the context) and decode throughput (per-token generation), at 8B (B=1), swept from 8k to 131k tokens, with all configs byte-identical except the mixer and each timing the median of 3 runs (full tables in our Q3 response to reviewer beSr):

  • Wall-clock (s/iter): SDM 2.844, GDN 2.073, FullAttn 1.858. Since submission we optimised the SDM kernel, cutting training overhead nearly in half, from 64% over GDN to 37% (1.37×).
  • Prefill (tok/s): SDM ≈23k (flat in length); GDN ≈32k (flat); FullAttn 33.2k→23.4k as context grows. SDM matches FullAttn at long context.
  • Decode (tok/s): SDM ≈91 (flat); GDN ≈115 (flat); FullAttn 113→45 with length. At long-context decode, SDM ≫ FullAttn.

SDM's and GDN's fixed state make prefill/decode flat in length, whereas FullAttn degrades because its KV cache grows with context (each generated token must read a longer cache). So at long context SDM is on par with or overtakes FullAttn; and because SDM is memory-bandwidth-bound rather than FLOP-bound, it is the architecture that benefits most from the current hardware trend of bandwidth outgrowing FLOPs, leaving substantial further headroom.

Q2 Choosing memory size N and read/write counts R, W

N and (R,W) are largely decoupled, so tuning is simple: N sets the memory↔accuracy trade-off at ≈fixed speed and FLOPs (increasing the SDM head count reduces the number of slots while keeping memory update and read FLOPs constant); R,W set the speed/FLOP↔accuracy trade-off at fixed memory.

N. Larger N → lower perplexity, so pick N as large as the budget allows. Unlike MoE experts (shared across a batch), SDM memory is in-context and per-sequence, so its effective cost scales with the concurrency you serve. A useful unit is the KV-cache footprint of an equivalent FullAttention model: the paper models use ≈200k tokens of KV, appropriate for pretraining (one long sequence per local batch) but large for inference/RL. There we recommend a smaller-memory config, e.g. at 8B doubling heads 2→4 with ≈4× fewer slots/head (≈50k-token footprint). Crucially this footprint is fixed and length-independent, whereas FullAttention's KV grows unboundedly per user, so SDM is more memory-efficient beyond the break-even context (≈200k paper, ≈50k H4) and never blows up on long or many-turn interactions.

R, W. Keep R = W = 64 (iso-FLOP with GDN); lower them only to buy speed at a modest accuracy cost (Sec. 6, App. D).

On the footprint concern (W2): the state is explicit but tunable and predictable; N spans a full spectrum from near-recurrent (small) to long-context-attention (large). It is a design choice on a clear cost/accuracy curve, not a fixed overhead.

Q3 What is lost on multi-key, and why

It is not a lack of storage. As direct evidence of raw capacity, in a dedicated copy-training run SDM successfully learns to store and reproduce a full 16k-token text: the memory holds a great deal when the model is trained to use it that way. The dense multi-key difficulty is instead an out-of-distribution allocation effect: by default the model does not efficiently pack many arbitrary, non-redundant key–value pairs.

To localise the cause we run a controlled probe: a RULER-style haystack of key–value pairs in which we vary the key type (numbers, UUIDs, distinct words, distinct letters). We anchor it to the real RULER multi-key task (word keys, number values, 426 pairs) to confirm it is representative. Holding values fixed and varying only the key type (8B paper models, 200 pairs) gives exact-match accuracy (EM):

Key type (EM %, 200 pairs) SDM GDN FullAttn
distinct letters 30 2 95
distinct words 19 8 90
numbers 7 6 99
UUIDs 3 3 99
  • For SDM, key-address collision is real: distinct keys lift recall ≈10× (UUID 3% → letters 30%), because similar keys collide in product-key address space. Bottom line: SDM's dense-multi-key weakness = key-collision (≈10×, mitigable by distinct keys): an out-of-distribution allocation stress test addressable by training, not a hard storage limit.

Q4 Collision frequency vs. context length, and memory utilization

Every token writes to 64 memory slots, so we quantify a "collision" as the Jaccard overlap between two tokens' write sets (0 for completely different slots, 1 for identical), averaged over token pairs on the 8B model. Over a long context we also track how concentrated the writes become (load factor = average writes per used slot) and how the forget gate bounds this (effective load = counting only writes still live in a slot after decay). All are measured on ordinary text, plus a separate update test (an entity whose value is changed several times, checking both whether the model returns the latest value and whether the successive updates reuse the same slots):

  • Structured but far from total. Two tokens share ≈24% of write slots on average (heads ≈3–43%) vs ≈0% for random writing: content-addressing as intended, yet ≈¾ of each token's writes stay distinct, and overlap is similar for near and far tokens.
  • Bounded in context. The forget gate decays stale content: over 8k→32k the load factor grows 3.7× (219→804) but effective load only 2.2× (79→173), so pressure is bounded by forgetting, not length.
  • Hot slots are learned, not corruption. Heads range from near-disjoint writers (≈3% overlap, ≈30k distinct slots used over an 8k-token sequence) to dense updaters (≈43% overlap, only ≈1.2k slots, reused and refreshed in place as a working memory); in-document retention ≈95% per step.
  • Collisions are useful. In an update test, successive writes to a re-valued entity land on the same slots (≈130–350× above chance) and the model returns the latest value in 47/48 trials, showing overwriting stale content is a learned core capability.

Synthesis (W3 + W4)

These are two sides of one capability. Collisions are the mechanism SDM uses to overwrite stale values (update test, 47/48); they only hurt when distinct facts share similar keys yet must all be kept (Q3). What matters is telling "supersede and overwrite" from "distinct → store in a separate slot." SDM does not fully solve this under out-of-distribution density, but unlike a single dense state (GDN) its sparse addressable memory can place similar-but-distinct bindings in separate slots, a flexibility in where to write, not just how much to store, and the remaining gap is addressable by training.

We hope these additional experiments and clarifications address your concerns, and we would be grateful if you would consider updating your score if you feel they do. We are of course happy to answer any further questions.

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

This paper introduced Sparse Delta Memory (SDM), extending Gated DeltaNet (GDN) by replacing the dense key-value with a sparse Product-Key Memories (PKM) scheme. It can let linear RNNs scale the hidden state thousands of times larger at constant FLOPs. It improves long-context performance, in-context learning, and short-context accuracy.

Strengths and weaknesses

Strengths:

(1) The research problem is highly significant. Long-context recall is a true bottleneck for linear attention models.

(2) The finding that the same sparse memory mechanism helps both long-context and short-context tasks, broadens the paper's contribution, which is interesting to see.

(3) The performance illustrated in Table 2 is comprehensive, which is great.

(4) It's very good that useful information for reproduction (e.g., compute resources) is clearly listed in appendix, though I have some minor suggestions (see 'Questions' below).

Weaknesses:

(1) The paper includes mathematical derivation, which is great. However, the maths in this paper is not rigorous enough. I raised my concerns in the 'Questions' below.

(2) Some of the claims in this paper feel a bit over-selling. I recommend the authors tone down the language to better match the results.

(3) Wall clock and throughput experiment is missing. I'd be interested to see training time, inference latency, and memory bandwidth utilisation for SDM vs GDN vs full attention at matched FLOPs.

(4) Sparse State Expansion (SSE) is an approach with similar motivation. However, I didn't see the author mention this in the paper. It would be great if the authors can illustrate how SDM is better than SSE.

Questions
  1. About maths. The biggest issue is Equation (4). In Line 109, the authors claimed that 'Eq. (4) recovers exactly the GDN update'. However, as written, it does not. As stated in Line 64, it shows that $ M_t \in \mathbb{R}^{d_{qk} \times d_v}$. Then Mt[i]∈RdvM_t[i] \in \mathbb{R}^{d_v} with M~t←αtMt−1\widetilde M_t \leftarrow \alpha_t M_{t-1}. Equation (2) then becomes Mt←M~t+βtkt(vt−M~tTkt)TM_t \leftarrow \widetilde M_t + \beta_t k_t(v_t - \widetilde M_t^T k_t)^T. Row-wise form is Mt[i]←M~t[i]+βtkt(i)(vt−M~tTkt)M_t[i] \leftarrow \widetilde M_t[i] + \beta_t k_t^{(i)}(v_t - \widetilde M_t^T k_t), where (vt−M~tTkt)(v_t - \widetilde M_t^T k_t) is the same for all ii, and M~tTkt←∑jkt(j)M~t[j]\widetilde M_t^T k_t \leftarrow \sum_j k_t^{(j)} \widetilde M_t[j]. GDN subtracts a weighted sum of all rows. But in Eqn. 4 (vt−M~t[i])(v_t-\widetilde M_t[i]) depends on row ii, then there is a mis-match.

Beyond this, a minor issue is in the appendix A.2. In Line 482, the authors showed A[i,j]A[i,j], while the QK[i,j]QK[i,j] promised in Line 478 is missing.

The 'Quality' score can be changed depends on authors' rebuttal about this.

  1. The paper writing can be improved. At around Line 42, the authors claimed that 'we believe that SDM opens up new possibilities in developing agents'. It would be better if these overall contributions go to conclusion with proper justification (e.g, linking back to specific experimental results) to avoid overselling. At around Line 118, IsoFLOP needs to be clearly defined. Line 197-199, technically it's correct. But this claim should be softened or clarified, as if we look at Table 2, 56.84 is only a little bit better than 56.65. This should be called 'comparable to' or 'slightly better' to avoid overselling. Table 2 is not clear enough, group labels like 'RULER' should be added to the table next to those 'single_1 avg' or in the caption. Line 271, rather than ending your paper by limitations, it would be better to add a clear contribution list to summarise your work, otherwise the contributions read scattered. Training efficiency and compute resources are important things. They have been included in appendix only, which are actually worth mentioning briefly in the main text.

The score for 'Clarity' can be changed subject to authors rebuttal and modification.

  1. As mentioned in the weaknesses part above, an experiment of wall clock and throughput experiment should be added.

This is relevant to the 'Quality' and 'Clarity' score as well.

  1. A comparison with SSE is expected.

This is relevant to the 'Novelty' score. So far, without this comparison, it's hard to decide this score. Depending on the rebuttal, this score could increase or decrease.

Limitations

Limitations are explicitly pointed out, which is good. However, without wall-clock time, the limitation may not be complete enough.

Final justification

The rebuttal has addressed my concerns. I raised the score accordingly.

Formatting concerns

No.

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Thank you for recognising that our 'sparse memory mechanism helps both long-context and short-context tasks, broadening the paper's contribution', that the addressed 'research problem is highly significant' and that overall the 'performance illustrated is comprehensive'. We thank you for the exceptionally careful reading of our work and clarify remaining questions below:

Q3. Wall-clock & throughput experiment

Since the submission we have substantially optimized the SDM kernel on the same hardware and cut the training overhead by almost half, from about 64% compared to GDN (1.64× iter time) to about 37% (1.37× iter time).

Detailed efficiency analysis (measured with the new kernels for SDM, Flash Attention 3 for Full Attention and FLA for GDN):

Training step time (8B, 8k seq; median of 3 runs, s/iter):

FullAttn GDN SDM
1.858 2.073 2.844

Prefill throughput (8B, B=1; tok/s vs context):

ctx FullAttn GDN SDM
8k 33.2k 30.7k 23.1k
16k 32.5k 32.6k 22.7k
32k 30.4k 33.3k 23.2k
65k 27.8k 33.0k 23.1k
131k 23.4k 32.8k 23.0k

Decode throughput (8B, B=1; tok/s vs context):

ctx FullAttn GDN SDM
8k 113 115 91
16k 103 115 91
32k 88 115 91
65k 65 114 91
131k 45 116 91

Two regimes emerge. During prefill, FullAttn is compute-bound whereas SDM is memory-bound. SDM's fixed per-token cost is therefore amortized only slowly during prefill, and the crossover where SDM prefill matches FullAttn speed occurs at around 131k tokens. During decode, however, FullAttn is also severely memory-bound, because each generated token must reload the entire KV cache from HBM into SRAM at every decode step. And since the FLOPs and memory requirement at decode still grow with sequence length while SDM reads a constant-size state, SDM's decode throughput overtakes FullAttn's at sequence lengths around 32k tokens.

We hope this gives a clearer understanding of the practical speed of SDM at different sequence-length operating points, and shows that SDM already matches or overtakes FullAttn in inference throughput in realistic long-context settings, despite not yet having benefited from the many years of optimization that attention kernels have received. We also believe there is still much room to improve SDM further. In particular, on hardware with much higher memory bandwidth, such as Groq, Cerebras, or the latest NVIDIA Rubin, the currently memory-bound SDM would most likely benefit from such new-generation hardware even more than FullAttn or GDN would.

Q4. Comparison with Sparse State Expansion (SSE)

Thank you for pointing out this related work. We re-implemented SSE as a drop-in global mixer with the same activated parameter count as GDN/SDM for the q/k/v/o projections, N=4 partitions and top-k=1 (the paper's default n4k1), and no short convolution, exactly as in the SSE paper and as in SDM (our GDN baseline does use a short conv on the other hand). We present short and long-context results for an SSE model trained with matched parameters at the 1.4B (level08) scale, same SWA:global 3-to-1 layout, same data-loading seed and same 8k-token training followed by a 128k long-context finetuning stage.

Metric FullAttn GDN SSE SDM
Validation text NLL ↓ 2.660 2.683 2.694 2.654
Average short-context acc ↑ 36.35 35.13 35.4 36.27
RULER single_1 ↑ 64.2 99.9 96.7 100.0
RULER single_2 ↑ 53.1 20.7 23.8 70.8
RULER single_3 ↑ 41.1 12.1 10.7 46.3
RULER multikey_2 ↑ 25.3 0.7 0.6 0.8
RULER multiquery ↑ 39.0 11.8 13.1 41.1
RULER vt ↑ 32.1 16.6 17.6 23.7
RULER avg ↑ 42.4 27.0 27.1 47.1

Consistent with the SSE paper's results, SSE slightly underperforms GDN in validation perplexity. Moreover, SSE sits well below SDM in terms of validation NLL and short-context performance. On RULER SSE matches GDN but remains well below SDM's long-context performance. (To ensure our implementation of SSE was fair we verified router-balance: at 1.4B scale SSE uses all 4 partitions uniformly, entropy ≈ 2.0 bits so no collapse. These results thus truly reflect the SSE mechanism's performance at the recommended n4k1 setting)

Q1 (a). Eq. (4) does not, as written, recover the GDN update.

The reviewer is correct. As written, Eq. (4) subtracts the individual decayed slot value for each selected slot, whereas the GDN delta rule (Eq. 2) subtracts the aggregate retrieval

αtMt−1⊤kt=αt∑jkt(j)Mt−1[j].\alpha_t \mathbf{M}_{t-1}^\top \mathbf{k}_t = \alpha_t \sum_j k_t^{(j)} \mathbf{M}_{t-1}[j].

The written per-slot form therefore does not reduce to Eq. (2), exactly as the reviewer derives, and we are grateful it was caught.

Corrected equation. Let the decayed slot content and the aggregate sparse retrieval over the selected write slots be

M~t[i]=αtMt−1[i],v^t=∑j∈Itwkt(j)M~t[j]=αt∑j∈Itwkt(j)Mt−1[j].\tilde{\mathbf{M}}_t[i] = \alpha_t \mathbf{M}_{t-1}[i], \qquad \hat{\mathbf{v}}_t = \sum_{j \in \mathcal{I}^w_t} k_t^{(j)} \tilde{\mathbf{M}}_t[j] = \alpha_t \sum_{j \in \mathcal{I}^w_t} k_t^{(j)} \mathbf{M}_{t-1}[j].

Then, for each selected write slot, the corrected write rule is

Mt[i]=M~t[i]+βt kt(i) (vt−v^t).\mathbf{M}_t[i] = \tilde{\mathbf{M}}_t[i] + \beta_t \, k_t^{(i)} \, (\mathbf{v}_t - \hat{\mathbf{v}}_t).

Reduction to GDN. With all slots selected and dense keys, the aggregate retrieval equals the GDN term, and stacking the rows gives

Mt=αtMt−1+βt kt (vt−αtMt−1⊤kt)⊤.\mathbf{M}_t = \alpha_t \mathbf{M}_{t-1} + \beta_t \, \mathbf{k}_t \, (\mathbf{v}_t - \alpha_t \mathbf{M}_{t-1}^\top \mathbf{k}_t)^\top.

which is exactly Eq. (2). The corrected Eq. (4) thus recovers GDN precisely, as originally claimed.

Crucially, this is only an error in the write-up of Eq. (4); the model we trained is correct. Our implementation uses the aggregate delta rule, not the per-slot form.

Q1 (b). Appendix A.2, missing QK[i,j] equation

Thank you for pointing this out. App. A.2 introduces two interaction matrices, A[i,j] (write-write) and QK[i,j] (read-write), but only gives the equation for A[i,j]; the QK[i,j] equation was missing. We have added it in the revision, defined analogously to A[i,j] but pairing token i's read query with token j's write key over their shared slots.

Q2. Overselling / claims

We agree and will tone down throughout:

  • "opens up new possibilities in developing agents" (Intro L38): move to the Conclusion with an explicit link back to the RULER / 1M-token PPL-by-position results, rather than asserted in the intro.
  • IsoFLOP (L118): we will define it explicitly at first use ("matched total training FLOPs and parameter count between architectures, so any quality difference is attributable to state size alone").
  • "outperforms FullAttn" at 8B (L279/Table 2, 56.84 vs 56.65): reworded to "comparable to, and slightly above, the FullAttn model on aggregate short-context accuracy." We keep the stronger claims only where the margin is large and consistent (e.g., text NLL, RULER over GDN).
  • Table 2 RULER group labels: We will (i) add explicit group headers/rules in Table 2 so the RULER block is labeled as RULER (with the single_*/multikey_*/… rows grouped under it) and the reasoning/NLL block labeled separately, and (ii) spell out the length range (4k–131k) in the caption.
  • End with contributions, not limitations: we will add a concise contribution list at the end of the Conclusion and keep Limitations as a preceding paragraph.
  • Compute resources / training efficiency in main text: We have discussed 'Training Efficiency' as part of the main paper (page 8) but we agree that a more detailed efficiency overview would be useful. Therefore, we will incorporate the additional results on throughput and wall clock time as part of the main body and we will also add a pointer to the Compute Resources section of the Appendix upon acceptance.

Thank you again for your thorough and constructive review. We will incorporate the additional results (Q3 throughput and wall-clock, Q4 SSE baseline) and the corrections above into the final version. We hope these address your concerns, and if so, we would be grateful if you would consider revising your score.

Reviewer beSr · CommentOpenReview ↗

Response to Rebuttal

Thanks for the rebuttal from the authors. Most questions have been solved properly. However, I still have a concern about the SSE.

The authors added the empirical comparison with SSE. The results clearly show that SDM outperforms SSE under matched settings. However, I was also hoping for a conceptual discussion of the differences between the two methods. Since both approaches share a similar motivation and can both be viewed as sparse global mixers, it would help readers if the paper explicitly explains what is algorithmically novel in SDM relative to SSE, beyond the empirical performance improvements, and why those design differences are expected to lead to better performance.

Authors · CommentOpenReview ↗

Novelty of SDM relative to SSE

Shared premise.

Indeed, SDM and SSE both identify state size as the factor limiting long-context performance of linear-attention models, and both enlarge linear-RNN state capacity via top-k routing over an expanded state. Both leave unselected state untouched (no decay) and apply the decay gate only to the accessed slots. We will make this clear in Related Work.

Differences.

(1) Routing granularity, and the addressing cost that affords it. SSE explicitly avoids top-k over all state rows "for efficiency" (their §4) and instead selects whole partitions (top-1 of N=4, with a softmax dense over the c=64 rows inside). SDM makes slot-level selection tractable with product keys: for S addressable slots per head, the router costs O(d·√S) parameters rather than the O(d·S) a flat router would need (480 versus 57,600 addressing columns per head at 1.4B), so S can be 57,600 slots/head rather than 4 partitions of 64 slots (We write S for SDM's slots to avoid colliding with SSE's N=4 partitions.) This is a mechanism for reaching the design point, not a larger hyperparameter, and it is what lets SDM scale the state about 2 orders of magnitude beyond what SSE demonstrates.

(2) Update rule. SDM applies the gated delta rule sparsely, subtracting the aggregate retrieval over the selected write slots so that a write erases colliding content; SSE's per-partition recurrence is additive gated linear attention, with no delta/erase term.

(3) Supervision of the addressing. SDM doesn't use a load-balancing loss. its addressing is trained by the LM loss alone. SSE additionally requires a load-balance term (α=0.01) to keep partitions utilised.

(4) Decoupled read/write. SDM routes writes (keys/values) and reads (queries) independently, so the model can update one region of the state while attending to another; SSE reads from the same partition set it writes to (their Eq. 14 sums over the write set T).

(5) Training algorithm. Chunkwise-parallelising a delta rule when the slot set varies per token requires the sparse write-write and read-write interaction matrices we introduce (two-pointer merge over sorted index lists). SSE's partitions stay dense internally, so it reuses stock GLA kernels.

(6) Sparse-Access-Memory-style backward. SDM stashes only the sparsely updated slots for the backward (one snapshot row per (chunk, slot) segment) and updates the bank in place, never materialising an intermediate copy of the full state. This is what lets SDM push sparsity to extreme levels while staying memory- and FLOP-efficient in training.

Which of these explain the quality gap? Points (5) and (6) are enabling rather than modeling: they do not change the function the model computes, they are what make the large-S regime trainable and affordable at all. The modeling differences are (1), (2), (3) and (4), and those are what we expect to account for SDM's stronger long-context results.

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

Missing a submission?

Loading the discussion…