TensorX
返回文献探索

Paper · arXiv 2401.18059

RAPTOR: Recursive Abstractive Processing for Tree-Organized Retrieval

Parth Sarthi, Salman Abdullah, Aditi Tuli, Shubh Khanna, Anna Goldie, Christopher D. Manning

48 upvotesJanuary 31, 2024arXiv 预印本
AI 摘要

The RAPTOR model enhances retrieval-augmented language models by recursively embedding, clustering, and summarizing text chunks, leading to better performance on question-answering tasks involving complex reasoning.

retrieval-augmented language modelsRecursive embeddingclusteringsummarizingtree structureabstraction levelsRAPTOR modelquestion-answering tasksmulti-step reasoningQuALITY benchmark

Abstract

Retrieval-augmented language models can better adapt to changes in world state and incorporate long-tail knowledge. However, most existing methods retrieve only short contiguous chunks from a retrieval corpus, limiting holistic understanding of the overall document context. We introduce the novel approach of recursively embedding, clustering, and summarizing chunks of text, constructing a tree with differing levels of summarization from the bottom up. At inference time, our RAPTOR model retrieves from this tree, integrating information across lengthy documents at different levels of abstraction. Controlled experiments show that retrieval with recursive summaries offers significant improvements over traditional retrieval-augmented LMs on several tasks. On question-answering tasks that involve complex, multi-step reasoning, we show state-of-the-art results; for example, by coupling RAPTOR retrieval with the use of GPT-4, we can improve the best performance on the QuALITY benchmark by 20% in absolute accuracy.

北京市昌平区探索星信息技术及软件开发工作室

京ICP备2026059466号
RAPTOR: Recursive Abstractive Processing for Tree-Organized Retrieval | TensorX