atlas

Research map / Large language models / Retrieval and knowledge

ClashEval: Quantifying the tug-of-war between an LLM’s internal prior and external evidence

NeurIPS 2024 · Large language models › Retrieval and knowledge · approach: RAG robustness and evaluation · 4 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Introduces ClashEval, a 1,294-question RAG benchmark with perturbed context across six domains, measuring how six LLMs arbitrate between their priors and incorrect or correct retrieved evidence, and proposes token-probability-based correction.

Problem

RAG systems can pass incorrect retrieved content into the answer, and LLMs can cling to wrong priors when correct context is available; existing work does not measure both directions or how prior confidence and context deviation drive this choice.

Approach

Builds a benchmark where each question has both a correct and a systematically perturbed context (multipliers, year shifts, or categorical name/location changes), so both prior-bias and context-bias can be measured, then relates context preference to deviation magnitude and prior token probability and uses calibrated token-probability comparison to choose between prior and context answers.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Apply Token Probability Correction using mean token probabilities (ablation)GPT-4o · ClashEvalaccuracy: 0.615 -> 0.693Helped
Apply Token Probability Correction using mean token probabilities (ablation)GPT-3.5 · ClashEvalaccuracy: 0.539 -> 0.596Helped
Apply Token Probability Correction using mean token probabilities (ablation)Llama-3 · ClashEvalaccuracy: 0.500 -> 0.556Helped
Compare percentiles rather than raw token probabilities (ablation)GPT-4o with token probability correction · ClashEvalaccuracy: 0.693 -> 0.754Helped
Compare percentiles rather than raw token probabilities (ablation)GPT-3.5 with token probability correction · ClashEvalaccuracy: 0.596 -> 0.701Helped
Compare percentiles rather than raw token probabilities (ablation)Llama-3 with token probability correction · ClashEvalaccuracy: 0.556 -> 0.649Helped
Add four retrieved documents (k=5 instead of k=1) (ablation)GPT-4o · ClashEval, all datasetsaccuracy: 0.941 -> 0.922Hurt
Add four retrieved documents (k=5 instead of k=1) (ablation)Claude Opus · ClashEval, all datasetsaccuracy: 0.939 -> 0.843Hurt
Use a loose prompt rather than a strict prompt (ablation)GPT-4 · ClashEvalcontext preference rateMixed
Increase the degree of retrieved-context modification (ablation)ClashEval models · ClashEvalcontext preference rateHurt
Increase prior-response token probabilityClashEval models · ClashEvalcontext preference rate: -0.1 to -0.45Hurt

Surprising findings

Limitations

Experimental setup

Datasets: UpToDate drug information pages Wikipedia Olympic records pages Associated Press RSS news headlines Hugging Face Wikipedia 20220301.en

Benchmarks: ClashEval

Metrics: accuracy context bias prior bias context preference rate

Baselines: GPT-3.5 Llama-3-8B-Instruct Claude Sonnet Gemini 1.5 Flash random prior replacement

Builds on: LangChain RAG prompts LlamaIndex RAG prompts

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy