mlsanityData to 26 Nov 2026

Retrieval as Traversal: Value-Indexed Memory for Stateful Long-Context Agents

arXiv 2610.40545 ↗Submitted 29 Oct 2026cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Long-context models repeatedly solve closely related retrieval problems. Attention or global retrieval can retain large stores, but each forward pass again searches for what matters. Recurrent compression avoids this search only by deciding earlier what information to preserve. Neither mechanism directly exploits that useful memories at neighbouring retrieval steps may substantially overlap. We propose an alternative in which retrieval is a persistent local traversal through an address space. We separate a memory's content from its address. Utility is defined by the information revealed by retrieving the content, while geometry determines only how cheaply that information can be reached. This leads to a cost-regularised indexing objective that preserves information value inside local neighbourhoods while charging for every memory made locally accessible. Its marginal-value form gives both attractive and exclusion pressures. Thus, complementary memories should be co-retrievable when the additional value exceeds retrieval cost, whereas redundant memories should not occupy the same retrieval set solely because they are individually useful. As a proof of principle, we test only the simplest fixed-geometry instance on MiniGrid Memory. A persistent local traversal head reaches 0.95 mean return after 0.59M training steps with a five-token context, compared with 0.94M for Gaussian absolute addressing and more than 2M for categorical absolute addressing. The experiment does not test learned geometry or repeated retrieval. Instead, it motivates the hypothesis that stateful retrieval may be easier to learn than stateless. To test the full proposed method further experimentation is necessary.

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

Builds on

4 of 20 references.

References · 4

  1. 2022An Empirical Analysis of SMS Scam Detection Systemscited by 3
  2. 2025Leveraging Large Language Models for Cybersecurity: Enhancing SMS Spam Detection with Robust and Context-Aware Text Classificationcited by 3
  3. 2025An Overview of 7726 User Reports: Uncovering SMS Scams and Scammer Strategiescited by 3
  4. 2025Using Machine Learning to Detect Fraudulent SMSs in Chichewacited by 1

Built on by

Not cited yet.