arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.17866cs.CLcs.AI
收藏

检索增强生成的潜在抽象

Latent Abstraction for Retrieval-Augmented Generation

Center for AI Research, VinUniversity, Vietnam(越南Vin大学人工智能研究中心)

Ha Lan N. T, Minh-Anh Nguyen, Dung D. Le

AI总结:

LAnR通过在潜在空间中联合执行编码、检索和生成,提升检索增强生成的效率与效果,减少检索调用次数并增强模型整合。

摘要:

检索增强生成(RAG)已成为增强大型语言模型(LLMs)以获取外部知识、缓解幻觉并提高事实性的一种标准方法。然而,现有系统依赖于在每个步骤生成自然语言查询并保持检索器和生成器之间的严格架构分离,从而无法充分利用LLM的全部表示能力。我们提出LAnR(检索增强生成的潜在抽象),这是一个统一的框架,其中单个LLM在自身的潜在空间中联合执行编码、检索和生成。而不是生成文本查询,LAnR从指定[PRED]标记的隐藏状态中生成密集检索向量,并使用这些向量与同一模型的编码文档表示进行匹配。此外,LAnR通过轻量级MLP控制头在这些隐藏状态上自适应地决定何时已检索到足够的证据,消除了单独的检索器和显式的令牌级停止推理。这种设计受到我们实验证实的结论的启发,即答案令牌熵可靠地信号检索充分性。在六个涵盖单跳和多跳设置的QA基准测试中,广泛实验表明LAnR在现有RAG方法上表现更优,同时通过减少检索调用次数和更紧密的模型整合提高了推理效率。

英文摘要:

Retrieval-Augmented Generation (RAG) has become a standard approach for enhancing large language models (LLMs) with external knowledge, mitigating hallucinations, and improving factuality. However, existing systems rely on generating natural language queries at each hop and maintaining a strict architectural separation between retriever and generator, preventing them from leveraging the full representational capacity of the LLM. We propose \textbf{LAnR} (Latent Abstraction for RAG), a unified framework in which a single LLM jointly performs encoding, retrieval, and generation entirely within its own latent space. Rather than generating textual queries, LAnR produces dense retrieval vectors from the hidden states of a designated \texttt{[PRED]} token and uses them to match against encoded document representations from the same model. Furthermore, LAnR adaptively decides when sufficient evidence has been retrieved using a lightweight MLP control head over those same hidden states, eliminating both the separate retriever and explicit token-level stopping reasoning. This design is motivated by our empirical observation that answer token entropy reliably signals retrieval sufficiency. Extensive experiments on six QA benchmarks spanning single-hop and multi-hop settings demonstrate that LAnR outperforms existing RAG methods, while achieving improved inference efficiency through reduced number of retrieval calls and tighter model integration.

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

↑