[论文解读] Fine-Tuning vs. RAG for Multi-Hop Question Answering with Novel Knowledge
论文系统地比较了参数化知识注入(无监督微调和有监督微调)与非参数化知识注入(RAG)在开放领域多跳问答中的表现,结果显示RAG和有监督微调优于无监督微调,特别是在具时间性的新信息上。
Multi-hop question answering is widely used to evaluate the reasoning capabilities of large language models (LLMs), as it requires integrating multiple pieces of supporting knowledge to arrive at a correct answer. While prior work has explored different mechanisms for providing knowledge to LLMs, such as finetuning and retrieval-augmented generation (RAG), their relative effectiveness for multi-hop question answering remains insufficiently understood, particularly when the required knowledge is temporally novel. In this paper, we systematically compare parametric and non-parametric knowledge injection methods for open-domain multi-hop question answering. We evaluate unsupervised fine-tuning (continual pretraining), supervised fine-tuning, and retrieval-augmented generation across three 7B-parameter open-source LLMs. Experiments are conducted on two benchmarks: QASC, a standard multi-hop science question answering dataset, and a newly constructed dataset of over 10,000 multi-hop questions derived from Wikipedia events in 2024, designed to test knowledge beyond the models' pretraining cutoff. Our results show that unsupervised fine-tuning provides only limited gains over base models, suggesting that continual pretraining alone is insufficient for improving multi-hop reasoning accuracy. In contrast, retrieval-augmented generation yields substantial and consistent improvements, particularly when answering questions that rely on temporally novel information. Supervised fine-tuning achieves the highest overall accuracy across models and datasets. These findings highlight fundamental differences in how knowledge injection mechanisms support multi-hop question answering and underscore the importance of retrieval-based methods when external or compositional knowledge is required.
研究动机与目标
- 评估不同知识注入机制对开放领域多跳问答性能的影响。
- 在统一框架下评估无监督微调、有监督微调和检索增强生成。
- 分析在超出预训练截断时间的新信息的数据集上的表现。
- 为多跳问答任务选择知识注入方法提供指南。
提出的方法
- 对三种知识注入机制进行系统比较:无监督微调(持续预训练)、有监督微调,以及检索增强生成(RAG)。
- 在统一的多选题设置下,使用三种开源的7B规模语言模型(Mistral-7B、LLaMA-7B、LLaMA-7B-Instruct)进行评估。
- 构建两组基准:QASC(8选项多项选择题)和一个来自2024年维基百科事件的4选项的2024 Events数据集。
- 对于RAG,构建一个维基百科派生的知识库,分块文本、用BGE嵌入、用FAISS索引,并使用跨编码器再排序器。
- 对RAG使用MMLU风格的评分,对有监督微调使用标准的交叉熵损失;以准确率作为评估指标。
实验结果
研究问题
- RQ1知识注入的方法(无监督微调、有监督微调或RAG)是否会影响开放领域多跳问答的性能?
- RQ2当回答需要在预训练阶段未见的时间性新信息时,这些方法的表现如何?
- RQ3在跨数据集的多跳推理中,基于检索的知识注入与基于参数的知识注入的相对有效性如何?
- RQ4当任务特定的监督数据可用时,哪种方法在整体准确性方面表现最好?
主要发现
- 无监督微调对多跳问答的增益相对有限,与基础模型相比提升很小。
- RAG显著提升准确性,尤其在时间性新颖的2024 Events数据上(性能几乎翻倍)。
- 有监督微调在所有模型和数据集上实现了最高的整体准确性。
- 基础模型落后于RAG和有监督微调,体现了外部知识获取和任务特定监督的价值。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。