[논문 리뷰] Chain-of-Note: Enhancing Robustness in Retrieval-Augmented Language Models
Chain-of-Note (CoN) 은 retrieval-augmented language models에서 검색된 문서에 대한 순차 읽기 노트를 추가하여 노이즈와 미지의 쿼리에 대한 강건성을 개선하고 오픈 도메인 벤치마크 전반에서 QA 성능을 향상시킵니다.
Retrieval-augmented language models (RALMs) represent a substantial advancement in the capabilities of large language models, notably in reducing factual hallucination by leveraging external knowledge sources. However, the reliability of the retrieved information is not always guaranteed. The retrieval of irrelevant data can lead to misguided responses, and potentially causing the model to overlook its inherent knowledge, even when it possesses adequate information to address the query. Moreover, standard RALMs often struggle to assess whether they possess adequate knowledge, both intrinsic and retrieved, to provide an accurate answer. In situations where knowledge is lacking, these systems should ideally respond with "unknown" when the answer is unattainable. In response to these challenges, we introduces Chain-of-Noting (CoN), a novel approach aimed at improving the robustness of RALMs in facing noisy, irrelevant documents and in handling unknown scenarios. The core idea of CoN is to generate sequential reading notes for retrieved documents, enabling a thorough evaluation of their relevance to the given question and integrating this information to formulate the final answer. We employed ChatGPT to create training data for CoN, which was subsequently trained on an LLaMa-2 7B model. Our experiments across four open-domain QA benchmarks show that RALMs equipped with CoN significantly outperform standard RALMs. Notably, CoN achieves an average improvement of +7.9 in EM score given entirely noisy retrieved documents and +10.5 in rejection rates for real-time questions that fall outside the pre-training knowledge scope.
연구 동기 및 목표
- 노이즈가 있거나 관련성이 낮은 검색된 문서와 미지의 정보로 인해 retrieval-augmented language models (RALMs)의 강건성 문제를 제기합니다.
- Chain-of-Note (CoN)를 제안하여 각 검색된 문서에 대해 순차 읽기 노트를 생성하고 관련성을 평가하고 콘텐츠를 필터링합니다.
- 실험을 통해 CoN이 오픈 도메인 벤치마크(NQ, TriviaQA, WebQ, RealTimeQA)에서 QA 성능과 강건성을 향상시킨다는 것을 입증합니다.
- ChatGPT가 생성한 노트를 통한 데이터 수집과 Weighted loss로 노트와 최종 답변에 가중치를 두고 LLaMa-2 7B 모델을 학습하는 과정을 보여줍니다.
제안 방법
- 각 검색된 문서에 대해 순차 읽기 노트를 생성하는 Chain-of-Note(CoN) 프레임워크를 도입합니다.
- 세 가지 노트 유형을 설계합니다: 직접-대답 노트(direct-answer notes), 맥락 노트(contextual notes), 그리고 모르는 노트(unknown notes)로, 적절할 때 'unknown' 응답으로 이어집니다.
- 10k NQ-derived questions에 대해 ChatGPT를 프롬프트하여 훈련 데이터를 만들고 LLaMa-2 7B 모델을 미세 조정하여 노트와 최종 답변을 생성합니다.
- 노트와 최종 답변 사이에서 정보의 풍부함과 답변 정확성의 균형을 맞추기 위해 가중 손실 전략으로 학습합니다.

실험 결과
연구 질문
- RQ1CoN이 오픈 도메인 벤치마크에서 DPR로 검색된 RALMs의 전반적인 QA 성능을 향상시킬 수 있는가?
- RQ2CoN이 관련 없거나 오도하는 검색 콘텐츠를 필터링함으로써 노이즈에 대한 강건성을 향상시키는가?
- RQ3CoN이 모델이 지식 범위 밖의 질문을 거부하는 능력(unknown robustness)을 향상시키는가?
- RQ4CoN이 도메인 내 데이터와 도메인 외 데이터(NQ, TriviaQA, WebQ, RealTimeQA)에서 어떻게 작동하는가?
주요 결과
- CoN은 세 가지 오픈 도메인 QA 데이터셋에서 표준 RALMs를 능가하며, baseline DPR+LLaMa-2 대비 평균 EM이 +1.97 증가했습니다.
- CoN은 완전히 노이즈가 많은 검색 문서 하에서 NQ, TriviaQA, WebQ에서 평균 EM이 +7.9 증가시켰습니다.
- CoN은 RealTimeQA에서 거부율(RR)을 +10.5 증가시켜 unknown 강건성이 크게 향상되었음을 보여줍니다.
- 절단(ablations)에서 DPR가 관련 없거나 노이즈가 많은 문서를 검색할 때 CoN이 더 큰 이득을 보이며(예: NQ에서 관련 문서가 누락될 때 EM +2.3).
- 사례 연구는 교차 문서 증거를 합성하는 CoN의 능력을 보여주어 표면 힌트가 표준 RALMs를 오도하는 질문에서 정답 정확도를 향상시킵니다.

이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.