mlsanityData to 7 Oct 2026

When Classic Cache Policies Fail: Learning-Augmented Replacement for Semantic Retrieval Buffers

arXiv 2607.00394 ↗First posted 1 Jul 2026cs.DB cs.CLcited by 1

On the map: LLM agents and tool use → Agent memory systems

Abstract (arXiv)

LLM agents increasingly rely on retrieval buffers to store and reuse past experience, yet the cache management policies governing these buffers remain largely ad-hoc. We formalize this as an online semantic cache replacement problem with switching costs, where items are matched by embedding similarity and hit quality is continuous rather than binary. Through experiments on two datasets from MemoryBench-Full (LoCoMo, DialSim) with 8 replacement policies, we reveal a surprising finding: classic heuristics (LRU, LFU) consistently underperform the naive FIFO baseline on semantic workloads, due to the absence of temporal locality and frequency concentration. We propose SOLAR, a learning-augmented framework that derives modification timing from regret accumulation (achieving ~17% modification rate) and content selection from Bayesian online learning over implicit retrieval feedback. We prove SOLAR achieves a constant competitive ratio ≤ 3, independent of cache size and horizon (vs. Omega(K) for FIFO), and eviction regret O(√KTlog T), matching the Omega(√KT) lower bound up to logarithmic factors. Experiments demonstrate 5--75% relative improvement over FIFO at tight cache sizes, with a clearly characterized phase transition at the working set boundary. Synthetic experiments with 5000-item pools further reveal an inverted-U relationship between pool size and retrieval quality, justifying capacity constraints as a retrieval noise phenomenon rather than a storage limitation.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Placed in Agent memory systems, one of 16 directions in LLM agents and tool use. Builds on 12 of its 43 references that are in the map. First posted on arXiv 1 Jul 2026.

Builds on

12 of 43 references.

Closest ancestors · 4

Same direction, newest first

  1. 2026Adaptive Memory Admission Control for LLM Agents4 Mar
  2. 2025Beyond Heuristics: A Decision-Theoretic Framework for Agent Memory Management25 Dec
  3. 2024A Survey on the Memory Mechanism of Large Language Model based Agents21 Apr
  4. 2024Evaluating Very Long-Term Conversational Memory of LLM Agents27 Feb

Other references · 8

  1. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
  2. 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,500
  3. 2023MemGPT: Towards LLMs as Operating Systemscited by 1,295
  4. 2018Competitive caching with machine learned advicecited by 194
  5. 2019Near-Optimal Bounds for Online Caching with Machine Learned Advicecited by 73
  6. 2025MemoryBench: A Benchmark for Memory and Continual Learning in LLM Systemscited by 56
  7. 2025KERAG: Knowledge-Enhanced Retrieval-Augmented Generation for Advanced Question Answeringcited by 5
  8. 2025Robustifying Learning-Augmented Caching Efficiently without Compromising 1-Consistencycited by 3

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. 2025Semantic Caching for Low-Cost LLM Serving: From Offline Learning to Online Adaptation
  2. 2026Risk-Constrained Freshness-Aware Semantic Caching for Open-Web Retrieval-Augmented LLMs
  3. 2026Caching for the Future: Scrub Jay Episodic Memory Principles for Agent Memory Systems
  4. 2026Continuous Semantic Caching for Low-Cost LLM Serving
  5. 2026UpliftMem: Learning Set-Level Uplift for Agent Memory Retrieval
  6. 2024Marconi: Prefix Caching for the Era of Hybrid LLMs
  7. 2026KVFetch: Temporal Prefetching for the Missing Half of KV Cache Compression
  8. 2025CacheFocus: Dynamic Cache Re-Positioning for Efficient Retrieval-Augmented Generation