atlas

Research map / Large language models / Language, safety and interpretability

Overthinking the Truth: Understanding how Language Models Process False Demonstrations

ICLR 2024 · Large language models › Language, safety and interpretability · approach: Reasoning mechanisms and failure modes · 6 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.

Shows that LLMs given incorrect few-shot demonstrations 'overthink': intermediate-layer (logit lens) predictions beat final-layer ones after a critical layer, and ablating a few late 'false induction heads' reduces the accuracy gap.

Problem

Language models imitate incorrect labels in few-shot demonstrations, reducing classification accuracy even though they often answer correctly zero-shot; the internal mechanism behind this harmful context-following is unclear.

Approach

Decode predictions from intermediate layers with the logit lens to find a critical layer where correct and incorrect demonstrations diverge (overthinking), then identify late attention heads that attend to and promote false labels from earlier demonstrations (false induction heads) and ablate them.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Zero out late attention heads (ablation)GPT-J · 14-task average, permuted labelscalibrated accuracy: 37.42_{1.47} -> 47.58_{1.47}Helped
Zero out late attention heads (ablation)GPT2-XL · 14-task average, permuted labelscalibrated accuracy: 41.97_{1.49} -> 46.09_{1.49}Helped
Zero out late attention heads (ablation)GPT-NeoX · 14-task average, permuted labelscalibrated accuracy: 45.19_{1.47} -> 44.44_{1.47}Hurt
Zero out late MLPs (ablation)GPT-J · 14-task average, permuted labelscalibrated accuracy: 37.42_{1.47} -> 37.97_{1.49}No clear effect
Zero out late layers (ablation)GPT-J · 14-task average, permuted labelscalibrated accuracy: 37.42_{1.47} -> 47.72_{1.46}Helped
Zero out late attention heads (ablation)GPT2-XL · 14-task average, correct labelscalibrated accuracy: 54.19_{1.51} -> 54.09_{1.49}No clear effect
Zero out late attention heads (ablation)GPT-J · 14-task average, correct labelscalibrated accuracy: 65.54_{1.42} -> 64.46_{1.39}Hurt
Zero out late attention heads (ablation)GPT-NeoX · 14-task average, correct labelscalibrated accuracy: 61.68_{1.41} -> 60.86_{1.43}Hurt
Ablate the 5 heads with highest prefix-matching scores (ablation)GPT-J · 14-task average, permuted labelsaccuracy gap reduction: 38.98_{0.16}Helped
Ablate 5 randomly selected heads (ablation)GPT-J · 14-task average, permuted labelsaccuracy gap reduction: 3.97_{0.03}No clear effect
Use random demonstration labels instead of correct labelsGPT-J · k=40 demonstrationsaccuracy gap: 0.15Hurt
Use half correct and half permuted demonstration labels instead of correct labelsGPT-J · k=40 demonstrationsaccuracy gap: 0.12Hurt

Surprising findings

Limitations

Experimental setup

Datasets: SST-2 Poem-Sentiment Financial-Phrasebank Ethos TweetEval-Hate TweetEval-Atheism TweetEval-Feminist MedQ-Pairs MRPC SICK RTE AGNews

Benchmarks: SST-2 Poem-Sentiment Financial-Phrasebank Ethos TweetEval-Hate TweetEval-Atheism TweetEval-Feminist MedQ-Pairs MRPC SICK RTE AGNews

Metrics: calibrated accuracy accuracy gap permuted score prefix-matching score false label promoting score

Baselines: full model (no ablation) random head ablation late layer ablation late MLP ablation

Builds on: induction heads logit lens early exiting calibration (contextual calibration)

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