Reproduce “RAPTOR: Recursive Abstractive Processing for Tree-Organized Retrieval” on OpenResearch
Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Parth Sarthi, Salman Abdullah, Aditi Tuli, Shubh Khanna, Anna Goldie, Christopher D. Manning
RAPTOR builds a hierarchical index of document passages and language-model summaries, enabling retrieval at multiple levels of detail. It clusters embedded text semantically, summarizes groups recursively, and retains original chunks as leaves. On QuALITY, RAPTOR with GPT-4 reached 82.6% accuracy versus 62.3% for CoLISA, but this compares complete systems rather than isolating RAPTOR’s effect.
Key insights
- Hierarchical organization enables retrieval of information at multiple levels of abstraction, from specific details at leaf nodes to high-level summaries at upper layers.
- The clustering of text chunks based on semantic similarity allows RAPTOR to capture relationships between non-adjacent sections of a document.
- The 'Collapsed Tree' retrieval strategy, which considers all tree nodes simultaneously, generally outperforms layer-by-layer tree traversal.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.