RAPTOR
https://github.com/parthsarthi03/raptor
Recursively embeds, clusters, and summarises chunks into a tree of abstractions. Retrieval traverses the tree at query time. ICLR 2024.
At a glance
- Type
- Recursive abstractive summary tree
- Tier
- T3
- Section
- Retrieval-as-memory hybrids
- Created
- 2024-02
- Latest release
- no releases
- License
- MIT
- GitHub
- 1.7k★ Python
- Pricing
- searched not found
- Funding
- not applicable — not commercial
Taxonomy
- storage
- vector
- retrieval
- similarity
- persistence
- long-term
- update
- read-only
- unit
- chunk
- 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
Hierarchical clustering retrieval — multi-resolution recall over long documents; widely adopted in 2024 RAG stacks.
Cons
Indexing cost grows with corpus; cluster quality depends on embedding choice.
Claims & capabilities
+20% absolute accuracy on QuALITY benchmark with GPT-4. Multi-step-reasoning state of the art on QA tasks at publication.
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)
- RETRO cites — S2 isInfluential citation