Skip to main content
QUICK REVIEW

[論文レビュー] Blinded by Generated Contexts: How Language Models Merge Generated and Retrieved Contexts When Knowledge Conflicts?

Hexiang Tan, Fei Sun|arXiv (Cornell University)|Jan 22, 2024
Natural Language Processing TechniquesComputer Science被引用数 3
ひとこと要約

この論文は、大規模言語モデル(LLMs)がオープンドメインの質問応答において生成された文脈と取得された文脈をどのように統合するかを調査し、誤った情報を含んでも生成された文脈を好む強いバイアスが存在することを明らかにしている。矛盾を意図的に設計したデータセットを用いて、著者たちはLLMsが生成された文脈を好む理由が、質問との類似度の高さと、取得された証拠の意味的不完全性に起因することを示している。これは、ハイブリッド取得・生成システムにおけるリスクを示している。

ABSTRACT

While auxiliary information has become a key to enhancing Large Language Models (LLMs), relatively little is known about how LLMs merge these contexts, specifically contexts generated by LLMs and those retrieved from external sources. To investigate this, we formulate a systematic framework to identify whether LLMs' responses are attributed to either generated or retrieved contexts. To easily trace the origin of the response, we construct datasets with conflicting contexts, i.e., each question is paired with both generated and retrieved contexts, yet only one of them contains the correct answer. Our experiments reveal a significant bias in several LLMs (GPT-4/3.5 and Llama2) to favor generated contexts, even when they provide incorrect information. We further identify two key factors contributing to this bias: i) contexts generated by LLMs typically show greater similarity to the questions, increasing their likelihood of being selected; ii) the segmentation process used in retrieved contexts disrupts their completeness, thereby hindering their full utilization in LLMs. Our analysis enhances the understanding of how LLMs merge diverse contexts, offers valuable insights for advancing current LLM augmentation methods, and highlights the risk of generated misinformation for retrieval-augmented LLMs.

研究の動機と目的

  • 知識集約的タスクにおいて、生成された文脈と取得された文脈が矛盾する場合にLLMsがどのように統合するかを調査すること。
  • 生成された文脈に誤りがあるにもかかわらず、なぜLLMsがそれらを好むのかを特定すること。
  • 取得補強型および生成補強型LLMsにおける文脈選択バイアスに影響を与える要因を分析すること。
  • 文脈の類似度と意味的完全性が、ハイブリッドQAシステムにおけるLLM意思決定に与える影響を評価すること。

提案手法

  • 各質問が正しい文脈(生成または取得)と誤った文脈(生成または取得)のペアで構成される、矛盾を解消したデータセットを構築。正解は1つのソースにのみ存在するように保証。
  • GPT-3.5、GPT-4、Llama2-7b/13bを用いて、矛盾する文脈条件下でのモデルの応答を評価する制御実験を設計。
  • 生成された文脈の完全性を切り詰めや文単位での切り詰めによって変化させ、意味的・文法的整合性の影響を分離。
  • DiffGR(生成応答の差分)という指標を用いて、モデルが生成された文脈と取得された文脈のどちらに依存しているかを測定。
  • 生成された文脈と取得された文脈の類似度(質問とのコサイン類似度)と完全性を比較し、関連要因を同定。
  • 確認バイアスまたは類似度そのものだけが観察された好みを引き起こすかをテストするアブレーションスタディを実施。
Figure 1: Blue bars show the success number on the NQ test set with only retrieved contexts, while orange bars depict the decline in success for the same questions when generated contexts are additionally incorporated.
Figure 1: Blue bars show the success number on the NQ test set with only retrieved contexts, while orange bars depict the decline in success for the same questions when generated contexts are additionally incorporated.

実験結果

リサーチクエスチョン

  • RQ1生成された文脈と取得された文脈が共に存在するが、正解は1つのみの場合、LLMsは生成された文脈を取得された文脈よりも好むか?
  • RQ2矛盾する情報が存在する状況で、LLMsが生成された文脈にバイアスを示す要因は何か?
  • RQ3生成された文脈が誤りであっても、質問との類似度が高いと、モデルの好みに影響を与えるか?
  • RQ4取得された文脈の意味的完全性が、生成された文脈と比較してLLMsにおける利用度に与える影響は何か?
  • RQ5バイアスは確認バイアスに起因するのか、それとも類似度や完全性といった他の要因がより影響を与えているのか?

主な発見

  • GPT-3.5、GPT-4、Llama2-13bなどのLLMsは、誤った情報を含んでも生成された文脈を強く好む傾向を示し、NQテストセットでDiffGRが0.6562に達する。
  • 生成された文脈が同じモデルか別のLLMによって生成されたかに関わらず、バイアスは維持されるため、モデル固有の行動ではなく、システム的な傾向であることが示唆される。
  • 誤りであっても、生成された文脈は取得された文脈よりも質問との類似度が顕著に高く、これがモデルの依存度の増加と相関している。
  • パassage分割に起因する取得文脈の意味的不完全性は、LLMsが意味的整合性の高い文脈を好むため、その有用性を低下させる。
  • 生成された文脈が意味的に完全な場合、そのバイアスはさらに強まり、意味的に不完全なバージョンと比較して20%高い好まれ方を示す。
  • 文の完全性よりも意味的完全性の影響が大きいことから、LLMsは文法的な文境界よりも一貫した意味を優先していることが示唆される。
(a) Retrieval-Augmented Approach
(a) Retrieval-Augmented Approach

この論文を読む

Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。

Nubintでこの論文を読む

このレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。