[논문 리뷰] Investigating the Factual Knowledge Boundary of Large Language Models with Retrieval Augmentation
이 논문은 대형 언어 모델이 자신이 보유한 사실 지식의 경계를 어떻게 인식하는지와 검색 보강이 개방 도메인 QA 성능 및 자기 평가에 미치는 영향을 분석하여, 자기 평가에서의 과신과 검색이 판단을 실제 정확도와 일치시키는 데 도움을 준다는 것을 보여준다.
Large language models (LLMs) have shown impressive prowess in solving a wide range of tasks with world knowledge. However, it remains unclear how well LLMs are able to perceive their factual knowledge boundaries, particularly under retrieval augmentation settings. In this study, we present the first analysis on the factual knowledge boundaries of LLMs and how retrieval augmentation affects LLMs on open-domain question answering (QA), with a bunch of important findings. Specifically, we focus on three research questions and analyze them by examining QA, priori judgement and posteriori judgement capabilities of LLMs. We show evidence that LLMs possess unwavering confidence in their knowledge and cannot handle the conflict between internal and external knowledge well. Furthermore, retrieval augmentation proves to be an effective approach in enhancing LLMs' awareness of knowledge boundaries. We further conduct thorough experiments to examine how different factors affect LLMs and propose a simple method to dynamically utilize supporting documents with our judgement strategy. Additionally, we find that the relevance between the supporting documents and the questions significantly impacts LLMs' QA and judgemental capabilities. The code to reproduce this work is available at https://github.com/RUCAIBox/LLM-Knowledge-Boundary.
연구 동기 및 목표
- LLMs가 사실 지식의 경계를 어떻게 인식하는지(사전 판단과 사후 판단) 평가.
- LLM QA 성능 및 경계 인식에 대한 검색 보강의 영향 평가.
- 지원 문서의 서로 다른 특성이 LLM의 의존도와 정확도에 어떤 영향을 미치는지 examine.
제안 방법
- QA 프롬프트와 판단 프롬프트(사전 판단 및 사후 판단)의 두 가지 프롬프트 체계를 사용한다.
- 정상 설정(검색 없음)과 밀집형, 희소형, 혼합 리트리버를 포함한 채GPT 생성 문서를 포함한 검색 보강 설정을 비교한다.
- QA에 대해 EM 및 F1로 Natural Questions, TriviaQA, 및 HotpotQA에서 평가한다; Give-up rate, Right/G, Right/¬G, Eval-Right, Eval-Acc를 판단에 도입한다.
- 질문당 검색 소스에서 10개의 지원 문서를 첨부하고, 문서 품질(Golden, Highly-related, Weakly-related, Random)의 효과를 분석한다.
- GPT-3.5-turbo(ChatGPT)와 text-davinci-003를 OpenAI API를 통해 구현한다; 판단 및 QA 작업에 대한 프롬프트와 파싱 규칙을 고정한다.
실험 결과
연구 질문
- RQ1LLMs가 사실 지식의 경계를 어느 정도까지 인식할 수 있는가?
- RQ2검색 보강이 LLM에 어떤 효과를 주는가?
- RQ3다양한 특성을 가진 지원 문서가 LLM에 어떤 영향을 미치는가?
주요 결과
- LLMs는 개방 도메인 QA에서 자신의 사실 지식 경계를 과신하고 불완전하게 인식한다.
- 검색 보강은 LLM이 지식 경계를 더 잘 인식하도록 개선하고 판단 정확도(사전 및 사후)를 향상시킨다.
- LLMs는 제공된 지원 문서에 크게 의존하는 경향이 있으며, 문서 품질이 높을수록 QA 성능과 신뢰도가 증가한다.
- 밀집 및 희소 리트레이벌의 결합은 일반적으로 데이터셋 간에 최고의 검색 보강 QA 성능을 내는 경향이 있다.
- ChatGPT와 Davinci003은 검색 보강이 미치는 영향이 다르며, Davinci003은 보강으로부터 더 큰 이점을 얻는 반면 ChatGPT는 프롬프트 길이와 문서 노이즈에 민감하다.
- 지지 문서의 수를 늘리면 어느 정도 성능이 향상되며, 문서 품질에 따라 Give-up 비율과 Eval-Acc에 영향이 있다.
이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.