Skip to main content
QUICK REVIEW

[论文解读] MultiHop-RAG: Benchmarking Retrieval-Augmented Generation for Multi-Hop Queries

Yixuan Tang, Yi Yang|arXiv (Cornell University)|Jan 27, 2024
Advanced Data Compression TechniquesComputer Science被引用 13
一句话总结

本文介绍 MultiHop-RAG,这是一个评估基于检索的生成在多跳查询上的数据集和基准,显示当前的 RAG 系统在多文档推理方面存在挑战。同时报告了跨多个模型的基线检索与生成结果。

ABSTRACT

Retrieval-augmented generation (RAG) augments large language models (LLM) by retrieving relevant knowledge, showing promising potential in mitigating LLM hallucinations and enhancing response quality, thereby facilitating the great adoption of LLMs in practice. However, we find that existing RAG systems are inadequate in answering multi-hop queries, which require retrieving and reasoning over multiple pieces of supporting evidence. Furthermore, to our knowledge, no existing RAG benchmarking dataset focuses on multi-hop queries. In this paper, we develop a novel dataset, MultiHop-RAG, which consists of a knowledge base, a large collection of multi-hop queries, their ground-truth answers, and the associated supporting evidence. We detail the procedure of building the dataset, utilizing an English news article dataset as the underlying RAG knowledge base. We demonstrate the benchmarking utility of MultiHop-RAG in two experiments. The first experiment compares different embedding models for retrieving evidence for multi-hop queries. In the second experiment, we examine the capabilities of various state-of-the-art LLMs, including GPT-4, PaLM, and Llama2-70B, in reasoning and answering multi-hop queries given the evidence. Both experiments reveal that existing RAG methods perform unsatisfactorily in retrieving and answering multi-hop queries. We hope MultiHop-RAG will be a valuable resource for the community in developing effective RAG systems, thereby facilitating greater adoption of LLMs in practice. The MultiHop-RAG and implemented RAG system is publicly available at https://github.com/yixuantt/MultiHop-RAG/.

研究动机与目标

  • 促使对需要对多证据进行推理的多跳查询上的 RAG 系统进行评估。
  • 创建一个数据集(MultiHop-RAG),其中包含知识库、多跳查询、真实答案和证据。
  • 提供基线基准测试,以评估多跳问答的检索质量和生成准确性。
  • 展示现有嵌入模型和大语言模型在多跳检索与推理任务上的表现不足。

提出的方法

  • 从 2023 年 9 月 26 日到 2023 年 12 月 26 日之间发表的文章构建基于新闻的知识库。
  • 提取证据句子并生成论断、桥接实体和桥接主题,以使用 GPT-4 并进行质量检查来形成多跳查询。
  • 将多跳查询分类为推理、比较、时间性和空类型;生成真实答案。
  • 使用 MAP@K、MRR@K、Hit@K 对前 K 个检索块的检索进行评估;使用带有检索证据的 LLMs 评估生成。
  • 对多种嵌入模型(如 ada-embeddings、voyage-02、bge-large-en-v1.5 等)在有无重新排序器的情况下进行基准测试;比较 GPT-4、GPT-3.5、Claude-2、PaLM、Mixtral 和 Llama-2-70B 的生成结果。
Figure 1: RAG with multi-hop query.
Figure 1: RAG with multi-hop query.

实验结果

研究问题

  • RQ1当前的嵌入模型在检索证据以支持多跳查询方面的效果如何?
  • RQ2在给定检索证据的情况下,最先进的大语言模型在推理和回答多跳查询方面的能力如何?
  • RQ3重新排序器对多跳问答的检索质量有哪些影响?
  • RQ4提供检索到的证据与真实证据时,生成的准确性如何退化?
  • RQ5现有 RAG 流程在多跳推理方面的局限性有哪些?

主要发现

  • 带有或不带重新排序器的嵌入模型在检索相关多跳证据方面存在显著差距;最佳设置下带排序器的 Hits@10 为 0.7467,Hits@4 为 0.6625。
  • 使用检索证据的生成准确性有限(例如,GPT-4 的准确率为 0.56,其他开源模型落后更远)。
  • 使用真实证据的 GPT-4 的准确率更高(0.89),高于使用检索证据时,表明检索质量限制端到端性能。
  • 开源大语言模型如 Llama-2-70B 和 Mixtral-8x7B 在多跳时序和对否定敏感的查询上,表现不及 GPT-4 和 PaLM。
  • Mixtral 在多跳查询中的逻辑否定和时间顺序方面存在困难,凸显开源模型的推理能力不足。
Figure 2: MultiHop-RAG Construction Pipeline.
Figure 2: MultiHop-RAG Construction Pipeline.

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。