Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
38 tokens/sec
GPT-4o
59 tokens/sec
Gemini 2.5 Pro Pro
41 tokens/sec
o3 Pro
7 tokens/sec
GPT-4.1 Pro
50 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

A Glitch in the Matrix? Locating and Detecting Language Model Grounding with Fakepedia (2312.02073v3)

Published 4 Dec 2023 in cs.CL

Abstract: LLMs have an impressive ability to draw on novel information supplied in their context. Yet the mechanisms underlying this contextual grounding remain unknown, especially in situations where contextual information contradicts factual knowledge stored in the parameters, which LLMs also excel at recalling. Favoring the contextual information is critical for retrieval-augmented generation methods, which enrich the context with up-to-date information, hoping that grounding can rectify outdated or noisy stored knowledge. We present a novel method to study grounding abilities using Fakepedia, a novel dataset of counterfactual texts constructed to clash with a model's internal parametric knowledge. In this study, we introduce Fakepedia, a counterfactual dataset designed to evaluate grounding abilities when the internal parametric knowledge clashes with the contextual information. We benchmark various LLMs with Fakepedia and conduct a causal mediation analysis of LLM components when answering Fakepedia queries, based on our Masked Grouped Causal Tracing (MGCT) method. Through this analysis, we identify distinct computational patterns between grounded and ungrounded responses. We finally demonstrate that distinguishing grounded from ungrounded responses is achievable through computational analysis alone. Our results, together with existing findings about factual recall mechanisms, provide a coherent narrative of how grounding and factual recall mechanisms interact within LLMs.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (9)
  1. Giovanni Monea (6 papers)
  2. Maxime Peyrard (33 papers)
  3. Martin Josifoski (16 papers)
  4. Vishrav Chaudhary (45 papers)
  5. Jason Eisner (56 papers)
  6. Emre Kıcıman (45 papers)
  7. Hamid Palangi (52 papers)
  8. Barun Patra (23 papers)
  9. Robert West (154 papers)
Citations (9)
X Twitter Logo Streamline Icon: https://streamlinehq.com