CAG (Cache-Augmented Generation)
https://arxiv.org/abs/2412.15605
"Don't Do RAG." Preloads all relevant documents into context, caches the resulting KV state; at inference the model answers from cache with no retrieval step — eliminates retrieval latency + retrieval-error failure modes.
At a glance
- Type
- KV-cache preloading replaces retrieval
- Tier
- T3
- Section
- Retrieval-as-memory hybrids
- Created
- 2024-12
- Latest release
- no-release no-release
- License
- MIT
- GitHub
- 1.5k★ +5/mo Python
- Pricing
- searched not found
- Funding
- not applicable — not commercial
Taxonomy
- storage
- kv-cache
- retrieval
- cache-lookup
- persistence
- session
- update
- read-only
- unit
- document
- governance
- inspectable
- conflict
- n/a
When to use
Optimised for: retrieval quality / accuracy on long-context QA
Anti-fit: most are research papers; production fitness varies by maintainer
Pros & cons
Pros
Prefill-cache reuse — when the corpus fits in context, retrieval can be replaced with cache lookup.
Cons
Requires the corpus to fit in context; doesn't scale to large knowledge bases.
Claims & capabilities
Matches or beats RAG accuracy on knowledge tasks while removing retrieval overhead. Best for bounded, static corpora. ACM Web Conf 2025.
Technical surface
- API surface
- not applicable — research paper
- Backend storage
- not applicable — research paper
- Deployment
- searched not found
- Embedding model
- not applicable — research paper
- Multi-tenancy
- not applicable — research paper
- MCP
- not applicable — research paper, no deployed product
- A2A
- not applicable — research paper, no deployed product
- OpenTelemetry
- not applicable — research paper, no deployed product
Similar systems
Other retrieval-as-memory hybrids in the catalog, ranked by inbound references.
- GraphRAG (Microsoft) T1
Modular graph-based RAG. Leiden community detection over knowledge graph; community summaries at multiple levels. DRIFT Search hybrid (Oct 2024).
- RETRO T3
DeepMind. Retrieval-Enhanced Transformer with chunked cross-attention over a 2T-token retrieval database. Frozen BERT retriever + differentiable encoder.
- Atlas T3
Meta AI. Jointly fine-tunes retriever + LM for few-shot tasks.
- RAPTOR T3
Stanford recursive-summarisation tree over the corpus — clusters and summarises documents into a hierarchical index; retrieves at multiple levels. ICLR 2024.
- Self-RAG T4
Trains an LLM end-to-end to emit reflection tokens that decide whether to retrieve, assess passage relevance, and critique output quality — all within a single model.
- HippoRAG / HippoRAG2 T3
Hippocampus-inspired RAG. LLMs + knowledge graphs + Personalized PageRank to mimic neocortex/hippocampus roles. NeurIPS 2024.
Related systems
References (1)
- RULER cites — S2 isInfluential citation