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

面向检索增强生成的查询分解

Question Decomposition for Retrieval-Augmented Generation

Humboldt-Universität zu Berlin(柏林洪堡大学)

Paul J. L. Ammann, Jonas Golde, Alan Akbik

AI总结:

本文提出在检索增强生成中引入查询分解,将多跳问题拆分为子问题后分别检索并重排序,从而在无需额外训练的情况下提升检索覆盖率和答案准确率。

摘要:

将大型语言模型(LLMs)建立在可验证的外部来源之上,是生成可靠答案的一种成熟策略。检索增强生成(RAG)就是这样一种方法,在问答等任务中尤其有效:它检索与问题语义相关的段落,然后以这些证据为条件来约束模型。然而,多跳问题(例如“在 NVIDIA、Apple 和 Google 中,哪家公司在 2023 年利润最高?”)对 RAG 构成挑战,因为相关事实通常分散在多个文档中,而不是共同出现在单一来源中,这使得标准 RAG 难以检索到足够的信息。为了解决这一问题,我们提出了一种引入查询分解的 RAG 流水线:(i)由 LLM 将原始查询分解为若干子问题,(ii)为每个子问题检索段落,(iii)对合并后的候选池进行重排序,以提高所检索证据的覆盖率和精确度。我们表明,查询分解能够有效地汇集互补文档,而重排序则能减少噪声,并在答案生成之前提升最相关段落的优先级。尽管重排序本身是一种标准技术,但我们证明,将现成的交叉编码器重排序器与由 LLM 驱动的查询分解相结合,能够弥合多跳问题上的检索差距,并提供一种实用的即插即用增强方案,无需任何额外训练或专门索引。我们在 MultiHop-RAG 和 HotpotQA 上评估了所提出的方法,结果显示,与标准 RAG 基线相比,检索指标(MRR@10:+36.7%)和答案准确率(F1:+11.6%)均有所提升。

英文摘要:

Grounding large language models (LLMs) in verifiable external sources is a well-established strategy for generating reliable answers. Retrieval-augmented generation (RAG) is one such approach, particularly effective for tasks like question answering: it retrieves passages that are semantically related to the question and then conditions the model on this evidence. However, multi-hop questions, such as "Which company among NVIDIA, Apple, and Google made the biggest profit in 2023?," challenge RAG because relevant facts are often distributed across multiple documents rather than co-occurring in one source, making it difficult for standard RAG to retrieve sufficient information. To address this, we propose a RAG pipeline that incorporates question decomposition: (i) an LLM decomposes the original query into sub-questions, (ii) passages are retrieved for each sub-question, and (iii) the merged candidate pool is reranked to improve the coverage and precision of the retrieved evidence. We show that question decomposition effectively assembles complementary documents, while reranking reduces noise and promotes the most relevant passages before answer generation. Although reranking itself is standard, we show that pairing an off-the-shelf cross-encoder reranker with LLM-driven question decomposition bridges the retrieval gap on multi-hop questions and provides a practical, drop-in enhancement, without any extra training or specialized indexing. We evaluate our approach on the MultiHop-RAG and HotpotQA, showing gains in retrieval (MRR@10: +36.7%) and answer accuracy (F1: +11.6%) over standard RAG baselines.

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

↑