AI Paper Atlas

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

Lookback Lens: Detecting and Mitigating Contextual Hallucinations in Large Language Models Using Only Attention Maps

Yung-Sung Chuang, Linlu Qiu, Cheng-Yu Hsieh, Ranjay Krishna, Yoon Kim, James Glass

EMNLP 2024Large language models › Language, safety and interpretabilityapproach: Task vectors and steering239 citations (OpenAlex)

University of Washington · Massachusetts Institute of Technology

Read the paperPlace an idea next to itCheck your own paper ↗

15measured effects
6improved
4no clear effect
4hurt
1mixed

AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
replace hidden-state features with lookback ratio featuresLookback Lens detector · sliding window 8, QA -> Sum. transferAUROC: 57.7 (28th layer) -> 66.1Improved
replace text-based NLI (our impl.) with lookback ratio featuresdetector · predefined span, QA -> Sum. transferAUROC: 55.1 -> 85.3Improved
add Lookback Lens guided decodingLlama-2-7B-Chat · XSumaccuracy: 49.0 -> 58.6Improved
add Lookback Lens guided decodingLlama-2-7B-Chat · NQexact match: 71.2 -> 74.2Improved
add Lookback Lens guided decodingLlama-2-7B-Chat · MT-Bench (hallu.)GPT-4o score: 6.08 -> 6.27Improved
add Lookback Lens guided decodingLlama-2-7B-Chat · MT-Bench (ori.)GPT-4 score: 5.10 -> 5.10No clear effect
guide decoding with hidden-state classifier trained on same dataLlama-2-7B-Chat · XSumaccuracy: 49.0 -> 48.9 (28th layer)No clear effect
guide decoding with NLI (our impl.) classifierLlama-2-7B-Chat · XSumaccuracy: 49.0 -> 44.1Hurt
transfer detector from 7B to 13B without retraining for guided decodingLlama-2-13B-Chat · XSumaccuracy: 52.9 -> 56.1Improved
cross-task and cross-model transfer (CNN/DM 7B to NQ 13B)Lookback Lens guided decoding · NQexact match: 74.0 -> 73.7No clear effect
use only top-10 heads instead of all heads (ablation)Lookback Lens detector · predefined span, QA -> Sum.AUROC: 85.3 -> 71.2Hurt
use only positive or only negative heads (top-100) (ablation)Lookback Lens detector · predefined span, QA -> Sum.AUROC: 85.3 -> 75.4 (positive), 74.4 (negative)Hurt

Later papers that compared with this method

7 later accepted papers report Lookback-lens as a baseline in their results tables; 6 of them report a better number on most of the results they share with it.

Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.

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