mlsanityData to 7 Oct 2026

Remembering Distinct Items, Not Tokens: A Learnable Dirichlet-Process Cache Between State-Space Models and Attention

arXiv 2607.09889 ↗First posted 10 Jul 2026cs.LG cs.AI cs.CLcited by 1

Not on the map. Why?

Abstract (arXiv)

Fixed-state sequence models compress an unbounded past into a bounded state, which caps their associative recall at roughly the state dimension; attention escapes the cap by keeping a key-value entry for every token, at quadratic compute and a cache that grows with the sequence. We study the middle ground: a sparse cache that allocates a slot only when an input is novel, so its size tracks the number of distinct items rather than the number of tokens. The allocation rule is the DP-means clustering rule, the small-variance limit of a Dirichlet-process mixture, used not as latent-variable inference but as the key-value memory operator for a deep recurrent backbone. We develop it in two forms, a static cache with a fixed concentration and a surprise-adaptive variant whose concentration follows the recent novelty rate. On a controlled associative-recall benchmark with redundancy we show that the cache matches full-attention recall while storing only the distinct items, that it dominates a fixed-budget eviction cache on the recall-versus-size frontier, and that on a state-space backbone it answers both a recall query and a long-range aggregate at the lowest memory of any model tested. The allocation is learnable end to end: a two-parameter novelty-threshold gate trained on the task loss alone recovers the rule exactly, whereas an over-parameterized gate fails, so the operative ingredient is the inductive bias rather than capacity. The evidence is a family of controlled mechanism studies at modest scale, with the distinct-items property confirmed on four real streams (recommendation, systems logs, clinical events, and insurance claims); a real-backbone, real-corpus language validation is pursued in a companion study.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 7 of its 10 references that are in the map. First posted on arXiv 10 Jul 2026.

Builds on

7 of 10 references.

References · 7

  1. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
  2. 2020Reformer: The Efficient Transformercited by 1,658
  3. 2019Generalization through Memorization: Nearest Neighbor Language Modelscited by 788
  4. 2024Titans: Learning to Memorize at Test Timecited by 303
  5. 2024Repeat After Me: Transformers are Better than State Space Models at Copyingcited by 208
  6. 2023Zoology: Measuring and Improving Recall in Efficient Language Modelscited by 188
  7. 2017Neural Episodic Controlcited by 148

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2026Echo: KV-Cache-Free Associative Recall with Spectral Koopman Operators
  2. 2026A Hippocampus for Linear Attention: An Exact Memory for What the Recurrent State Forgets
  3. 2025LoLA: Low-Rank Linear Attention With Sparse Caching
  4. 2025OBCache: Optimal Brain KV Cache Pruning for Efficient Long-Context LLM Inference
  5. 2026Memory by Design: Probabilistic Sequence Layers
  6. 2026SchemaMem: Schema-Indexed Recurrent Memory for Delayed State Retrieval
  7. 2025REAL: REtrieval-reAsoning and Logic-constructed Attention Behaviors for Long-Context KV Cache Compression
  8. 2026Anatomy of Associative Recall in Fixed-State Recurrences: A Matched-State Decomposition, an Interference Wall, and a Curriculum That Breaks It