arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.01240cs.CL
收藏

基于意图感知检索与语义保持分块的高效RAG

Efficient RAG with Intent-Aware Retrieval and Semantics-Preserving Chunking

School of Computer Science and Engineering, University of Electronic Science and Technology of China(电子科技大学计算机科学与工程学院);Massachusetts General Hospital, Harvard University(哈佛大学马萨诸塞州总医院);Nota AI

Fachrina Dewi Puspitasari, Chaoning Zhang, Jiaquan Zhang, Zhicheng Wang, Hafiz Shakeel Ahmad Awan, Rizwan Qureshi, Jewon Lee, Tae-Ho Kim, Yang Yang

AI总结:

提出InSemRAG框架,通过意图感知检索器和语义保持分块模块,结合迭代检索-检查机制,解决传统RAG的信息不足问题,在多跳和证据敏感任务上取得显著提升。

摘要:

对大型语言模型(LLM)强大指令遵循和推理能力的需求推动了检索增强生成(RAG)的快速发展。RAG系统通过从外部数据库检索与查询匹配的补充知识块来辅助LLM生成。然而,传统RAG系统由于意图无关的检索和信息碎片化两个因素,存在信息不足的问题。我们的工作提出了一个名为InSemRAG的RAG框架,通过迭代检索-检查机制以及两个支持模块——意图感知检索器(IAR)和语义保持分块(SPC)来解决这些挑战。IAR实现了一种动态混合检索方法,根据查询意图自适应地加权检索通道,而SPC对受损的证据块进行检测和修复以保持语义完整性。为了减轻迭代机制带来的计算延迟,我们利用了小型语言模型(SLM)。在多个基准数据集上的大量实验一致表明,我们的方法相对于最近最先进的RAG机制具有竞争力。特别是在多跳和证据敏感任务上,我们的方法取得了显著提升,在HotPotQA上F1提高了2.65个百分点,在FEVER上准确率提高了1.5个百分点。我们的方法还利用SLM实现了与Multi-Hop RAG相当的性能,同时延迟降低了4.32倍。

英文摘要:

The demand for powerful instruction following and reasoning capability of large language models (LLMs) has promoted rapid development of retrieval-augmented generation (RAG). The RAG system assists LLM generation by retrieving chunks of query-fit supplementary knowledge from an external database. Conventional RAG systems, however, suffer from information insufficiency due to two factors, which are intent-agnostic retrieval and information fragmentation. Our work proposes a RAG framework, termed InSemRAG, that addresses these challenges via an iterative retrieve-and-check mechanism with two supporting modules, an intention-aware retriever (IAR) and semantics-preserving chunking (SPC). IAR implements a dynamic hybrid retrieval method that adaptively weights the retrieval channels based on the query intent, while SPC performs detection and reparation to the damaged evidence chunks to preserve the semantic integrity. To alleviate the computational latency brought by our iterative mechanism, we leverage small language models (SLMs). Extensive experiments across several benchmark datasets consistently demonstrate the competitiveness of our method against recent state-of-the-art RAG mechanisms. Particularly, our method achieves significant gains on multi-hop and evidence-sensitive tasks, with a 2.65-point improvement in F1 on HotPotQA and a 1.5-point increase in accuracy on FEVER. Our method also achieves competitive performance to Multi-Hop RAG with 4.32$\times$ lower latency with the utilization of SLM.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑