RAPTOR:面向树结构检索的递归生成式处理方法
RAPTOR: Recursive Abstractive Processing for Tree-Organized Retrieval
AI总结:
针对传统检索增强语言模型仅检索短文本块、缺乏文档全局理解的问题,提出RAPTOR方法,通过递归构建多摘要层级的树结构实现长文档跨层级检索,在多步推理问答任务上取得SOTA,结合GPT-4可将QuALITY基准准确率提升20%。
摘要:
检索增强语言模型能更好地适应世界状态变化并融入长尾知识,但现有方法大多仅从检索语料库中获取短的连续文本块,限制了对文档整体上下文的全局理解。本文提出一种新方法:递归地对文本块进行嵌入、聚类和摘要生成,自底向上构建一棵包含不同层级摘要的树。推理阶段,我们的RAPTOR模型从该树中进行检索,在不同抽象层级上整合长文档的信息。对照实验表明,在多项任务上,结合递归摘要的检索方法相比传统检索增强语言模型有显著提升;在涉及复杂多步推理的问答任务中取得了当前最优结果,例如将RAPTOR检索与GPT-4结合,可将QuALITY基准的最佳性能绝对准确率提升20%。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。