mlsanityData to 7 Oct 2026

Context by Distinct Information: An Auditable Dirichlet-Process Working Memory for Long, Redundant Context Streams

arXiv 2607.10441 ↗First posted 11 Jul 2026cs.LG cs.AI cs.CLcited by 0

Not on the map. Why?

Abstract (arXiv)

Context engineering decides what information a model carries forward, and current designs meter it in tokens: compressing the past into a bounded recurrent state, keeping a key-value entry for every token, or imposing a fixed budget through a window or eviction rule. All three make the token the unit of memory even when the stream is redundant and the task depends on the distinct information it carries. Building on a companion mechanism paper that opens a cache slot only when an incoming key is novel, so memory scales with the number of distinct items rather than tokens, we develop that allocate-on-novelty cache as a working-memory component and organize context by how a task depends on the past: recall-carried information belongs in a content-addressed novelty cache, summary-carried information in a recurrent state, and locality-carried information in a recency window. The claim is empirical and bounded. On a matched character-level control, novelty-gated attention reaches full-attention performance while attending to about half the tokens, and coupling the cache with a state-space summary matches full-attention coupling at that reduced cost; the advantage grows as context lengthens, while a sliding window is preferable on short, locality-dominated spans. On next-code prediction over synthetic Medicare claims the coupled component leads full attention and every fixed-budget eviction policy at a thousand-event horizon, whereas cost forecasting over the same stream is summary-carried and the cache is neutral. The retained memory is an inspectable table of templates, codes, drugs, or places rather than an opaque state. The experiments are small-scale and use only public data; they establish the primitive that context can scale with distinct information rather than tokens, in a working memory that is content-addressable and auditable.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 12 of its 21 references that are in the map. First posted on arXiv 11 Jul 2026.

Builds on

12 of 21 references.

References · 12

  1. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
  2. 2017FiLM: Visual Reasoning with a General Conditioning Layercited by 2,286
  3. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,115
  4. 2015ORB-SLAM: a Versatile and Accurate Monocular SLAM Systemcited by 983
  5. 2024SnapKV: LLM Knows What You are Looking for Before Generationcited by 848
  6. 2023H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Modelscited by 805
  7. 2022On the Parameterization and Initialization of Diagonal State Space Modelscited by 418
  8. 2024Repeat After Me: Transformers are Better than State Space Models at Copyingcited by 208
  9. 2023Zoology: Measuring and Improving Recall in Efficient Language Modelscited by 188
  10. 2020Loghub: A Large Collection of System Log Datasets for AI-driven Log Analyticscited by 68
  11. 2026LingBot-Map: Geometric Context Transformer for Streaming 3D Reconstructioncited by 32
  12. 2026Remembering Distinct Items, Not Tokens: A Learnable Dirichlet-Process Cache Between State-Space Models and Attentioncited by 1

Built on by

Not cited yet.