arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2601.07054cs.CLcs.LG
收藏

基于新知识的多跳问答中微调与RAG的比较

Fine-Tuning vs. RAG for Multi-Hop Question Answering with Novel Knowledge

Zhuoyi Yang, Yurun Song, Iftekhar Ahmed, Ian Harris

AI总结:

本文比较了微调与RAG在多跳问答中处理新颖知识的效果,发现RAG在时间新颖信息问答中表现更优,而有监督微调整体准确率最高。

摘要:

多跳问答被广泛用于评估大型语言模型(LLM)的推理能力,因为它需要整合多个支持性知识来得出正确答案。尽管先前的研究已经探索了为LLM提供知识的不同机制,如微调和检索增强生成(RAG),但它们在多跳问答中的相对有效性仍不够清楚,特别是当所需知识是时间上新颖的。在本文中,我们系统地比较了参数化和非参数化知识注入方法,用于开放域的多跳问答。我们评估了无监督微调(持续预训练)、有监督微调和检索增强生成,跨三个70亿参数的开源LLM。实验在两个基准上进行:QASC,一个标准的多跳科学问答数据集,以及一个新构建的包含超过10,000个多跳问题的数据集,这些问题来源于2024年维基百科事件,旨在测试模型预训练截止点之外的知识。我们的结果表明,无监督微调仅在基础模型上提供有限的提升,表明持续预训练单独不足以提高多跳推理的准确性。相比之下,检索增强生成在回答依赖时间上新颖信息的问题时产生了显著且一致的改进。有监督微调在所有模型和数据集上实现了最高的整体准确率。这些发现突显了知识注入机制如何支持多跳问答的根本差异,并强调了在需要外部或组合知识时检索方法的重要性。

英文摘要:

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.

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

↑