SD-Cache: Learnable Memory Consolidation with State-Guided Dynamic Caching
On the map: Retrieval-augmented generation → Generation and context integration
Abstract (arXiv)
Large language models (LLMs) are increasingly deployed as persistent services that must reason over large volumes of external knowledge. Retrieval-augmented generation (RAG) grounds model responses in relevant documents, but the retrieved content must still be encoded and stored in the key-value (KV) cache. As this content accumulates, the cache grows linearly, increasing memory consumption and inference cost. Existing memory-compression methods address this problem either by retaining a subset of cached states or by learning context compressors that map documents to compact latent representations. Despite these advances, consolidating information under tight memory budgets while preserving its usefulness for future queries remains challenging. We investigate how the model's native KV states can be selectively consolidated into a fixed-size working memory without access to future queries. To this end, we introduce SD-Cache (State-guided and Dynamically updated Cache), a query-agnostic KV-memory consolidation framework that operates alongside a frozen generator LLM. SD-Cache learns to consolidate layer-wise KV states into fixed-size memory through selective anchor-based pooling and state-guided refinement, processing new contexts in a single forward pass without context-specific optimisation. Experiments on retrieval-augmented question answering and synthetic long-context benchmarks show that SD-Cache maintains competitive downstream performance under constrained memory budgets.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Generation and context integration, one of 15 directions in Retrieval-augmented generation. Submitted 21 Oct 2026, announced 25 Nov 2026.
Builds on
No reference list yet.
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2024RazorAttention: Efficient KV Cache Compression Through Retrieval Heads
- 2024CacheBlend: Fast Large Language Model Serving for RAG with Cached Knowledge Fusion
- 2026From Long Context to Selective Memory:A Survey of Memory-Centric Compression for Large Language Models
- 2024ClusterKV: Manipulating LLM KV Cache in Semantic Space for Recallable Compression
- 2025CacheFocus: Dynamic Cache Re-Positioning for Efficient Retrieval-Augmented Generation
- 2025CompressKV: Semantic Retrieval Heads Know What Tokens are Not Important Before Generation
- 2024Training-Free Exponential Context Extension via Cascading KV Cache
- 2025Beyond RAG: Task-Aware KV Cache Compression for Comprehensive Knowledge Reasoning