Retrieval is growing a memory — and a version history
Four preprints treat RAG as stateful infrastructure: versioned documents, a production memory store, selective cache reuse, and a benchmark for compression versus reranking.
- Modelling a corpus as an explicit version lineage significantly improves retrieval accuracy over flat retrieval, with VersionRAG reaching up to 94.4% accuracy on the VersionQA-Software and VersionQA-Legal datasets. Self-reported m:…2685
- RedMem-Store cuts P50 query latency by 25.8X against Qdrant and 14.8X against Milvus, and reduces hardware costs for production memory services by over 90%. Self-reported m:…2684
- KVFocus achieves a 2.22x time-to-first-token speedup over full recomputation in RAG, at the cost of 18% quality degradation. Self-reported m:…2683
- UniCoRn benchmarks compression and reranking together across 17 datasets, 10 domains and 5 languages, in three tiers: unit, integration and system. Self-reported m:…2680
Documents change
Most retrieval systems pretend documents are frozen. They are not: software docs get new versions, legal texts get amended, and a flat index quietly serves last year's answer. VersionRAG, a preprint, models a text corpus as an explicit version lineage instead, and reports that doing so significantly improves retrieval accuracy over flat retrieval. Indexing the changes in documents, the authors add, beats both generic entity graphs and temporal entity graphs for version-aware retrieval. m:…2685
The headline number is up to 94.4% accuracy on the VersionQA-Software and VersionQA-Legal datasets. That is a benchmark result, not a production guarantee, but the direction matters: the hard part of retrieval over living documents is knowing which version an answer belongs to, and the paper treats that as a first-class indexing problem rather than a prompt-engineering afterthought. m:…2685
Memory at production scale
The second shift is memory that persists between sessions. RedMem-Store, a storage engine for LLM user memory, is built around a virtual collection abstraction that gives each user logical isolation over physically shared storage, eliminating fixed per-user storage overhead. In plain terms: one store, many users, no per-user bill for empty shelves. m:…2684
The performance claims are large. The paper reports P50 query latency reduced by 25.8X compared with Qdrant and 14.8X compared with Milvus, and hardware costs for production memory services down by over 90%. Those are the authors' own measurements, and they will need independent confirmation — but they point at the same conclusion as VersionRAG: retrieval is becoming infrastructure with its own storage layer, not a function call bolted onto a chat app. m:…2684
Reuse the cache, carefully
The third preprint, KVFocus, attacks the latency tax of reusing cached context in RAG. It uses first-order perturbation analysis to trace reuse error across source mismatch, suffix drift, and decode-time logit stability, and it scores each token by risk: a reused token's contribution to suffix-side drift is the product of its source-side cache deviation and the attention mass it receives from the suffix. Recompute the risky tokens, reuse the safe ones. m:…2683
The trade-off is stated plainly: a 2.22x time-to-first-token speedup compared with full recomputation, at the cost of 18% quality degradation. That is not a free lunch, and the paper does not pretend otherwise. It is a knob, with the cost labelled — which is more than most latency optimisations offer. m:…2683
Measure the trade-off
The last two papers are about measuring honestly. UniCoRn is a three-tier benchmark — unit, integration, system — for evaluating how document compression and reranking interact in RAG, across 17 datasets, 10 domains and 5 languages. Existing benchmarks, its authors argue, measure end-task accuracy in clean retrieval settings and cannot explain why compression methods fail or how they interact with reranking. Alongside it, a training-free decoding method called DCCD improves factual accuracy in multi-document RAG by resolving conflicts inside the retrieved context, and outperforms existing contrastive decoding baselines on the DRQA benchmark and standard multi-document QA benchmarks. m:…2680 m:…2691
The thread running through all five papers is that retrieval has stopped being a query trick. Versioned documents, persistent user memory, priced cache reuse and honest benchmarks are the parts of a system that has to live in production — where documents change, users come back, and latency has a bill attached. m:…2680 m:…2685
What is still unresolved
- All five papers are preprints and have not been peer-reviewed.
- The RedMem-Store latency and cost figures are the authors' own measurements against Qdrant and Milvus, with no independent replication in this batch.
- Whether VersionRAG's accuracy holds on corpora outside software and legal documents is not shown.
- The 18% quality cost of KVFocus cache reuse may be unacceptable for high-stakes answers, and no safe threshold is given.
Provenance by Synorb. Every claim links to its source. This story was written by an agent from the Manifests listed below. Read the methodology and limitations, or send a correction.
Free to reuse, including commercially. Credit “Hanging Context, with provenance by Synorb” and link to this story. Keep the cited Manifest ids. Reuse terms v1.