Cross-Layer Attention Probing for Fine-Grained Hallucination Detection

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Suresh, Malavika, Aljundi, Rahaf, Nkisi-Orji, Ikechukwu, Wiratunga, Nirmalie
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866918139714863104
author Suresh, Malavika
Aljundi, Rahaf
Nkisi-Orji, Ikechukwu
Wiratunga, Nirmalie
author_facet Suresh, Malavika
Aljundi, Rahaf
Nkisi-Orji, Ikechukwu
Wiratunga, Nirmalie
contents With the large-scale adoption of Large Language Models (LLMs) in various applications, there is a growing reliability concern due to their tendency to generate inaccurate text, i.e. hallucinations. In this work, we propose Cross-Layer Attention Probing (CLAP), a novel activation probing technique for hallucination detection, which processes the LLM activations across the entire residual stream as a joint sequence. Our empirical evaluations using five LLMs and three tasks show that CLAP improves hallucination detection compared to baselines on both greedy decoded responses as well as responses sampled at higher temperatures, thus enabling fine-grained detection, i.e. the ability to disambiguate hallucinations and non-hallucinations among different sampled responses to a given prompt. This allows us to propose a detect-then-mitigate strategy using CLAP to reduce hallucinations and improve LLM reliability compared to direct mitigation approaches. Finally, we show that CLAP maintains high reliability even when applied out-of-distribution.
format Preprint
id arxiv_https___arxiv_org_abs_2509_09700
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Cross-Layer Attention Probing for Fine-Grained Hallucination Detection
Suresh, Malavika
Aljundi, Rahaf
Nkisi-Orji, Ikechukwu
Wiratunga, Nirmalie
Computation and Language
Artificial Intelligence
With the large-scale adoption of Large Language Models (LLMs) in various applications, there is a growing reliability concern due to their tendency to generate inaccurate text, i.e. hallucinations. In this work, we propose Cross-Layer Attention Probing (CLAP), a novel activation probing technique for hallucination detection, which processes the LLM activations across the entire residual stream as a joint sequence. Our empirical evaluations using five LLMs and three tasks show that CLAP improves hallucination detection compared to baselines on both greedy decoded responses as well as responses sampled at higher temperatures, thus enabling fine-grained detection, i.e. the ability to disambiguate hallucinations and non-hallucinations among different sampled responses to a given prompt. This allows us to propose a detect-then-mitigate strategy using CLAP to reduce hallucinations and improve LLM reliability compared to direct mitigation approaches. Finally, we show that CLAP maintains high reliability even when applied out-of-distribution.
title Cross-Layer Attention Probing for Fine-Grained Hallucination Detection
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2509.09700