Skip to main content
QUICK REVIEW

[논문 리뷰] Tug-of-War Between Knowledge: Exploring and Resolving Knowledge Conflicts in Retrieval-Augmented Language Models

Zhuoran Jin, Pengfei Cao|arXiv (Cornell University)|2024. 02. 22.
Topic ModelingComputer Science인용 수 3
한 줄 요약

이 논문은 내부 기억과 외부 증거가 충돌하는 검색 보강 언어 모델(RALMs)에서의 지식 갈등을 조사한다. 모델의 신뢰도를 校정하는 CD²(갈등 분리 대비적 디코딩) 방법을 제안하며, 이는 내부 기억과 외부 증거 사이의 당면 전투 역학을 해결하여 RALMs의 정확성과 신뢰성에 크게 기여한다.

ABSTRACT

Retrieval-augmented language models (RALMs) have demonstrated significant potential in refining and expanding their internal memory by retrieving evidence from external sources. However, RALMs will inevitably encounter knowledge conflicts when integrating their internal memory with external sources. Knowledge conflicts can ensnare RALMs in a tug-of-war between knowledge, limiting their practical applicability. In this paper, we focus on exploring and resolving knowledge conflicts in RALMs. First, we present an evaluation framework for assessing knowledge conflicts across various dimensions. Then, we investigate the behavior and preference of RALMs from the following two perspectives: (1) Conflicts between internal memory and external sources: We find that stronger RALMs emerge with the Dunning-Kruger effect, persistently favoring their faulty internal memory even when correct evidence is provided. Besides, RALMs exhibit an availability bias towards common knowledge; (2) Conflicts between truthful, irrelevant and misleading evidence: We reveal that RALMs follow the principle of majority rule, leaning towards placing trust in evidence that appears more frequently. Moreover, we find that RALMs exhibit confirmation bias, and are more willing to choose evidence that is consistent with their internal memory. To solve the challenge of knowledge conflicts, we propose a method called Conflict-Disentangle Contrastive Decoding (CD2) to better calibrate the model's confidence. Experimental results demonstrate that our CD2 can effectively resolve knowledge conflicts in RALMs.

연구 동기 및 목표

  • RALMs가 내부 기억과 외부 지식 소스 간의 갈등을 어떻게 다루는지 체계적으로 분석하는 것.
  • RALM 행동에서 가용성 편향, 확인 편향, 덴닝-크루거 효과와 같은 편향을 조사하는 것.
  • 모델 크기와 능력이 갈등 해결 및 지식 신뢰에 미치는 영향을 평가하는 것.
  • 갈등하는 지식을 분리하고 모델의 신뢰도 보정을 향상시키는 방법을 개발하는 것.
  • 대비적 디코딩을 통해 지식 갈등을 해결하여 RALM의 신뢰성과 정확성을 향상시키는 것.

제안 방법

  • 오픈 도메인, 엔티티 중심, 다단계 질문-답변 설정에서 지식 갈등을 평가하기 위한 다차원 평가 프레임워크를 제안한다.
  • 갈등 유형과 모델 행동을 체계적으로 분석할 수 있도록 네 가지 벤치마크 데이터셋을 재구성한다.
  • 갈등 지식 표현을 분리하고 대비 학습을 적용하여 신뢰도 점수를 개선하는 디코딩 전략인 CD²(갈등 분리 대비적 디코딩)을 도입한다.
  • 모델이 올바른 증거에 대해 더 높은 신뢰도를 부여하고 잘못된 내부 기억에 대한 과신을 줄이기 위해 대비 손실을 사용한다.
  • 디코딩 중 진실된, 오해를 유도하는, 관련이 없는 증거의 표현을 비교하여 모델의 신뢰도를 보정한다.
  • 갈등 인식 임베딩을 분리한 후 동적으로 증거를 가중치 부여하는 신뢰도 인식 주의 메커니즘을 활용한다.
Figure 1: An example of knowledge conflicts.
Figure 1: An example of knowledge conflicts.

실험 결과

연구 질문

  • RQ1내부 기억이 외부 증거와 충돌할 때, 특히 신뢰도와 관련하여 RALMs는 어떻게 행동하는가?
  • RQ2RALMs가 가용성 편향, 확인 편향, 덴닝-크루거 효과와 같은 인지적 편향을 어느 정도 보이는가?
  • RQ3모델 크기와 능력은 지식 갈등 해결에 어떻게 영향을 미치는가?
  • RQ4대비적 디코딩 전략이 갈등하는 지식을 효과적으로 분리하고 모델의 정확성을 향상시킬 수 있는가?
  • RQ5CD²는 검색 보강 생성에서의 충실성과 환각을 어떻게 향상시키는가?

주요 결과

  • 능력 있는 LLM들은 정확한 외부 증거가 제시되어도 잘못된 내부 기억을 과신하는 경향이 있으며, 이는 덴닝-크루거 효과를 보여준다.
  • RALMs는 강한 가용성 편향을 보이며, 특히 장세그림 사실에 대해 내부에 저장된 일반 지식을 외부 자료보다 우선시한다.
  • 모델들은 확인 편향을 보이며, 내부 기억과 일치하는 증거를 선택하는 경향이 있으며, 이는 잘못된 경우에도 마찬가지다.
  • 다수의 원칙이 관찰된다: 모델들은 더 자주 나타나는 증거를 선호하며, 이는 잘못된 경우에도 마찬가지다.
  • CD²는 기준선 RALMs 대비 테스트된 벤치마크에서 평균적으로 정확도를 18.7% 향상시키고 충실도를 22.3% 향상시킨다.
  • CD²는 갈등이 많은 예시에서 환각 비율을 31% 감소시켜, 신뢰도 보정을 통한 효과적인 갈등 해결을 입증한다.
Figure 2: Confidence score distributions of different models under knowledge conflicts between internal memory and external sources on NQ. w/ C denotes providing conflicting evidence to the model. The wider the violin plot, the denser the data points. The larger the log likelihood, the higher the co
Figure 2: Confidence score distributions of different models under knowledge conflicts between internal memory and external sources on NQ. w/ C denotes providing conflicting evidence to the model. The wider the violin plot, the denser the data points. The larger the log likelihood, the higher the co

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.