[논문 리뷰] Fine-Tuning vs. RAG for Multi-Hop Question Answering with Novel Knowledge
이 논문은 파라매트릭(비감독 미세조정 및 감독 미세조정)과 비파라매트릭(RAG) 지식 주입을 오픈 도메인 다중호 QA에 체계적으로 비교하여, 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)을 평가한다.
- 사전 학습 컷오프를 넘는 시간적으로 새롭거나 정보에 대한 데이터셋에서의 성능을 분석한다.
- 다중호 QA 작업에 대한 지식 주입 방식 선택에 대한 지침을 제공한다.
제안 방법
- 세 가지 지식 주입 메커니즘의 체계적 비교: 비감독 미세조정(지속적 사전학습), 감독 미세조정, 그리고 검색-강화 생성(RAG).
- 통합된 다지선다형 구성 아래 세 가지 오픈 소스 7B 규모의 LLM(Mistral-7B, LLaMA-7B, LLaMA-7B-Instruct)을 사용하여 평가한다.
- QASC(8-option 다지선다형)와 2024년의 이벤트 데이터셋(4-option), 2024년 위키피디아의 이벤트에서 파생)
- RAG의 경우 위키피디아 기반의 지식 베이스를 구축하고, 텍스트를 청크(chunk)하고 BGE로 임베딩하며 FAISS로 인덱싱하고 교차 인코더 재랭커를 사용한다.
- RAG에 대해 MMLU-스타일 점수 체계를 사용하고, 감독 미세조정에는 표준 크로스 엔트로피 손실(loss)을 사용하며, 정확도(accuracy)를 지표로 평가한다.
실험 결과
연구 질문
- RQ1지식 주입 방식(비감독 미세조정, 감독 미세조정, 또는 RAG)이 오픈 도메인 다중호 QA 성능에 영향을 미치는가?
- RQ2사전 학습 중 보지 못한 시간적으로 새롭거나 정보가 필요한 질문에 대해 이 방법들이 어떻게 작동하는가?
- RQ3데이터셋 전반에 걸친 다중호 추론에서 검색 기반 지식 주입과 매개변수 기반 지식 주입의 상대적 효과는 무엇인가?
- RQ4작업 특화 감독 데이터가 이용 가능할 때 어떤 접근 방식이 전반적인 정확도 측면에서 가장 우수한가?
주요 결과
- 비감독 미세조정은 다중호 QA에서 기반 모델 대비 매우 작은 이득만을 준다.
- RAG는 정확도를 크게 향상시키며, 특히 시간적으로 새롭고 2024 Events 데이터에서 성능이 약 두 배에 달한다.
- 감독 미세조정이 모델과 데이터셋 전반에서 가장 높은 전반적인 정확도를 달성한다.
- 기본 모델은 RAG 및 감독 미세조정에 비해 뒤처지며, 외부 지식 접근성과 작업 특화 감독의 가치가 있음을 시사한다.
이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.