LongRAG
https://arxiv.org/abs/2406.15319
Groups related Wikipedia documents into 4K-token units. Reduces NQ corpus 22M→600K units, HotpotQA 5M→500K. Hands longer passages to a long-context reader (GPT-4o).
At a glance
- Type
- Long retrieval-unit grouping
- Tier
- T4
- Section
- Retrieval-as-memory hybrids
- Created
- 2024-06
- Latest release
- no-release no-release
- License
- MIT
- GitHub
- 248★ Python
- Pricing
- searched not found
- Funding
- not applicable — not commercial
Taxonomy
- storage
- vector
- retrieval
- similarity
- persistence
- long-term
- 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
Long-document RAG with explicit segment-level indexing.
Cons
Preprint; segment-quality bounds recall.
Claims & capabilities
Recall@1 NQ 52→71%; Recall@2 HotpotQA 47→72%. EM 62.7% NQ, 64.3% HotpotQA. Jun 2024.
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.