AttentionRetriever: 注意力层其实是秘密的长文档检索器
AttentionRetriever: Attention Layers are Secretly Long Document Retrievers
AI总结:
AttentionRetriever通过结合注意力机制和实体检索,实现高效长文档检索,优于现有方法并保持高效性能。
摘要:
检索增强生成(RAG)已被广泛采用,以帮助大语言模型(LLMs)处理涉及长文档的任务。然而,现有的检索模型并非为长文档检索而设计,未能解决长文档检索中的几个关键挑战,包括上下文意识、因果依赖性和检索范围。在本文中,我们提出了AttentionRetriever,一种新颖的长文档检索模型,利用注意力机制和基于实体的检索来为长文档构建上下文感知的嵌入,并确定检索范围。通过广泛的实验,我们发现AttentionRetriever在长文档检索数据集上能够大幅优于现有检索模型,同时保持与密集检索模型同等的效率。
英文摘要:
Retrieval augmented generation (RAG) has been widely adopted to help Large Language Models (LLMs) to process tasks involving long documents. However, existing retrieval models are not designed for long document retrieval and fail to address several key challenges of long document retrieval, including context-awareness, causal dependence, and scope of retrieval. In this paper, we proposed AttentionRetriever, a novel long document retrieval model that leverages attention mechanism and entity-based retrieval to build context-aware embeddings for long document and determine the scope of retrieval. With extensive experiments, we found AttentionRetriever is able to outperform existing retrieval models on long document retrieval datasets by a large margin while remaining as efficient as dense retrieval models.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。