paper-with-me

홈 › Papers

Detecting Hallucinations in Large Language Models via Internal Attention Divergence Signals

2026-05-06 · Gijs van Dijk arxiv

We propose a lightweight and single-pass uncertainty quantification method for detecting hallucinations in Large Language Models. The method uses attention matrices to estimate uncertainty without requiring repeated sampling or external models. Specifically, we measure the Kullback-Leibler divergence between each attention head's distribution and a uniform reference distribution, and use these features in a logistic regression probe. Across multiple datasets, task types, and model families, attention divergence is highly predictive of answer correctness and performs competitively with existing uncertainty estimation methods. We find that this signal is concentrated in middle layers and on factual tokens such as named entities and numbers, suggesting that attention dynamics provides an efficient and interpretable white-box signal of model uncertainty.

📄 PDF Abstract BibTeX arXiv:2605.05025

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Detecting Hallucinations in Retrieval-Augmented Generation via Semantic-level Internal Reasoning Graph

2026-01-06 · Jianpeng Hu, Yanzeng Li, Jialun Zhong, Wenfa Qi 외 arxiv

The Retrieval-augmented generation (RAG) system based on Large language model (LLM) has made significant progress. It can effectively reduce factuality hallucinations, but faithfulness hallucinations still exist. Previou…

The HalluRAG Dataset: Detecting Closed-Domain Hallucinations in RAG Applications Using an LLM's Internal States

2024-12-22 · Fabian Ridder, Malte Schilling

Detecting hallucinations in large language models (LLMs) is critical for enhancing their reliability and trustworthiness. Most research focuses on hallucinations as deviations from information seen during training. Howev…

QuantizationRAG

Retrieve Only When It Needs: Adaptive Retrieval Augmentation for Hallucination Mitigation in Large Language Models

2024-02-16 · Hanxing Ding, Liang Pang, Zihao Wei, HuaWei Shen 외

Hallucinations pose a significant challenge for the practical implementation of large language models (LLMs). The utilization of parametric knowledge in generating factual content is constrained by the limited knowledge …

HallucinationRetrieval

DHCP: Detecting Hallucinations by Cross-modal Attention Pattern in Large Vision-Language Models

2024-11-27 · Yudong Zhang, Ruobing Xie, Jiansheng Chen, Xingwu Sun 외

Large vision-language models (LVLMs) have demonstrated exceptional performance on complex multimodal tasks. However, they continue to suffer from significant hallucination issues, including object, attribute, and relatio…

AttributeHallucination

ReDeEP: Detecting Hallucination in Retrieval-Augmented Generation via Mechanistic Interpretability

2024-10-15 · Zhongxiang Sun, Xiaoxue Zang, Kai Zheng, Jun Xu 외

Retrieval-Augmented Generation (RAG) models are designed to incorporate external knowledge, reducing hallucinations caused by insufficient parametric (internal) knowledge. However, even with accurate and relevant retriev…

HallucinationRAGRetrievalRetrieval-augmented Generation