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
University of Washington · Massachusetts Institute of Technology
Read the paperPlace an idea next to itCheck your own paper ↗
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 changed | Where | Measured | Effect |
|---|---|---|---|
| replace hidden-state features with lookback ratio features | Lookback Lens detector · sliding window 8, QA -> Sum. transfer | AUROC: 57.7 (28th layer) -> 66.1 | Improved |
| replace text-based NLI (our impl.) with lookback ratio features | detector · predefined span, QA -> Sum. transfer | AUROC: 55.1 -> 85.3 | Improved |
| add Lookback Lens guided decoding | Llama-2-7B-Chat · XSum | accuracy: 49.0 -> 58.6 | Improved |
| add Lookback Lens guided decoding | Llama-2-7B-Chat · NQ | exact match: 71.2 -> 74.2 | Improved |
| add Lookback Lens guided decoding | Llama-2-7B-Chat · MT-Bench (hallu.) | GPT-4o score: 6.08 -> 6.27 | Improved |
| add Lookback Lens guided decoding | Llama-2-7B-Chat · MT-Bench (ori.) | GPT-4 score: 5.10 -> 5.10 | No clear effect |
| guide decoding with hidden-state classifier trained on same data | Llama-2-7B-Chat · XSum | accuracy: 49.0 -> 48.9 (28th layer) | No clear effect |
| guide decoding with NLI (our impl.) classifier | Llama-2-7B-Chat · XSum | accuracy: 49.0 -> 44.1 | Hurt |
| transfer detector from 7B to 13B without retraining for guided decoding | Llama-2-13B-Chat · XSum | accuracy: 52.9 -> 56.1 | Improved |
| cross-task and cross-model transfer (CNN/DM 7B to NQ 13B) | Lookback Lens guided decoding · NQ | exact match: 74.0 -> 73.7 | No clear effect |
| use only top-10 heads instead of all heads (ablation) | Lookback Lens detector · predefined span, QA -> Sum. | AUROC: 85.3 -> 71.2 | Hurt |
| 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.
- Detecting Contextual Hallucinations in Large Language Models with Frequency-Aware Attention (ICML 2026 · better on 10 of 11 shared results)
- Attention Sinks as Internal Signals for Hallucination Detection in Large Language Models (ICML 2026 · better on 3 of 3 shared results)
- INTRYGUE: Induction-Aware Entropy Gating for Reliable RAG Uncertainty Estimation (EMNLP 2026 · better on 2 of 2 shared results)
- RADAM: A Retrieval-Augmented Detection and Mitigation Framework for Faithfulness Hallucinations (EMNLP 2026 · better on 2 of 2 shared results)
- Gradient-Stable Attention Heads Signal LLM Correctness (EMNLP 2026 · better on 0 of 1 shared result)
- A Head to Predict and a Head to Question: Pre-trained Uncertainty Quantification Heads for Hallucination Detection in LLM Outputs (EMNLP 2025 · better on 7 of 8 shared results)
- Unconditional Truthfulness: Learning Unconditional Uncertainty of Large Language Models (EMNLP 2025 · better on 6 of 7 shared results)
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
- LLM-Check: Investigating Detection of Hallucinations in Large Language Models (NeurIPS 2024 · similarity 0.92)
- Seeing Far and Clearly: Mitigating Hallucinations in MLLMs with Attention Causal Decoding (CVPR 2025 · similarity 0.92)
- ANAH-v2: Scaling Analytical Hallucination Annotation of Large Language Models (NeurIPS 2024 · similarity 0.92)
- Scalable Token-Level Hallucination Detection in Large Language Models (NeurIPS 2026 · similarity 0.91)
- HaDeMiF: Hallucination Detection and Mitigation in Large Language Models (ICLR 2025 · similarity 0.91)
- Detecting and Mitigating Hallucination in Large Vision Language Models via Fine-Grained AI Feedback (AAAI 2025 · similarity 0.91)
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.
