mlsanityData to 26 Nov 2026

Write What Matters: Disentangling Token Selection from Slot Allocation in Recurrent Memory

arXiv 2610.34180 ↗Submitted 25 Oct 2026cs.CL cs.AI cs.CVcited by 0

Not on the map. Why?

Abstract (arXiv)

Long-sequence models must retain earlier information. Full attention keeps all past tokens but grows expensive, and recurrent-memory models compress history into fixed slots for linear-time processing. Limited capacity makes writes consequential: distractors can interfere with useful content, while skipped evidence cannot be recalled. Existing multi-slot memories write every token to the same number of slots, merging whether to store it with how many slots to update. We introduce Factorized Write Routing (FWR), which first keeps or skips each token and then chooses a fixed or token-adaptive number of slots. Queries still read all slots. Across ten seeds on two synthetic tasks that query facts after long contexts, we observe a density-dependent reversal. With four slots per write, long-context accuracy favors always writing on dense Feature Recall (0.472 vs 0.337), but learned selective writing on sparse-fact Passkey (0.222 vs 0.048). The tested adaptive rule underperforms fixed allocation under the learned gate on both tasks. A diagnostic oracle given fact labels unavailable at deployment reaches 0.372 on Passkey, showing headroom in filtering distractors. The results suggest avoiding missed writes in information-dense contexts and filtering distractors when they dominate.

Key facts. No citing papers in the map yet (data through 26 Nov 2026). Builds on 24 of its 33 references that are in the map. Submitted 25 Oct 2026.

Builds on

24 of 33 references.

References · 24

  1. 2017Attention Is All You Needcited by 62,125
  2. 2014Adam: A Method for Stochastic Optimizationcited by 38,598
  3. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 5,111
  4. 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,767
  5. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,765
  6. 2020Longformer: The Long-Document Transformercited by 3,606
  7. 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,272
  8. 2016Categorical Reparameterization with Gumbel-Softmaxcited by 2,839
  9. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,130
  10. 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,932
  11. 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,559
  12. 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,557
12 more
  1. 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,480
  2. 2019Compressive Transformers for Long-Range Sequence Modellingcited by 798
  3. 2024Gated Delta Networks: Improving Mamba2 with Delta Rulecited by 690
  4. 2016Adaptive Computation Time for Recurrent Neural Networkscited by 578
  5. 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 571
  6. 2021Linear Transformers Are Secretly Fast Weight Programmerscited by 554
  7. 2024Parallelizing Linear Transformers with the Delta Rule over Sequence Lengthcited by 455
  8. 2024Repeat After Me: Transformers are Better than State Space Models at Copyingcited by 245
  9. 2023Zoology: Measuring and Improving Recall in Efficient Language Modelscited by 236
  10. 2024Simple linear attention language models balance the recall-throughput tradeoffcited by 232
  11. 2024RNNs are not Transformers (Yet): The Key Bottleneck on In-context Retrievalcited by 68
  12. 2026Raven: High-Recall Sequence Modeling with Sparse Memory Routingcited by 9

Built on by

Not cited yet.