Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Hu, Junjie, Tu, Gang, Cheng, ShengYu, Li, Jinxin, Wang, Jinting, Chen, Rui, Zhou, Zhilong, Shan, Dongbo
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:https://arxiv.org/abs/2509.11536
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866915903795363840
author Hu, Junjie
Tu, Gang
Cheng, ShengYu
Li, Jinxin
Wang, Jinting
Chen, Rui
Zhou, Zhilong
Shan, Dongbo
author_facet Hu, Junjie
Tu, Gang
Cheng, ShengYu
Li, Jinxin
Wang, Jinting
Chen, Rui
Zhou, Zhilong
Shan, Dongbo
contents Hallucinations in Large Language Models (LLMs) pose a major barrier to their reliable use in critical decision-making. Although existing hallucination detection methods have improved accuracy, they still struggle with disentangling semantic and reasoning information and maintaining robustness. To address these challenges, we propose HARP (Hallucination detection via reasoning subspace projection), a novel hallucination detection framework. HARP establishes that the hidden state space of LLMs can be decomposed into a direct sum of a semantic subspace and a reasoning subspace, where the former encodes linguistic expression and the latter captures internal reasoning processes. Moreover, we demonstrate that the Unembedding layer can disentangle these subspaces, and by applying Singular Value Decomposition (SVD) to its parameters, the basis vectors spanning the semantic and reasoning subspaces are obtained. Finally, HARP projects hidden states onto the basis vectors of the reasoning subspace, and the resulting projections are then used as input features for hallucination detection in LLMs. By using these projections, HARP reduces the dimension of the feature to approximately 5% of the original, filters out most noise, and achieves enhanced robustness. Experiments across multiple datasets show that HARP achieves state-of-the-art hallucination detection performance; in particular, it achieves an AUROC of 92.8% on TriviaQA, outperforming the previous best method by 7.5%.
format Preprint
id arxiv_https___arxiv_org_abs_2509_11536
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle HARP: Hallucination Detection via Reasoning Subspace Projection
Hu, Junjie
Tu, Gang
Cheng, ShengYu
Li, Jinxin
Wang, Jinting
Chen, Rui
Zhou, Zhilong
Shan, Dongbo
Computation and Language
Artificial Intelligence
Hallucinations in Large Language Models (LLMs) pose a major barrier to their reliable use in critical decision-making. Although existing hallucination detection methods have improved accuracy, they still struggle with disentangling semantic and reasoning information and maintaining robustness. To address these challenges, we propose HARP (Hallucination detection via reasoning subspace projection), a novel hallucination detection framework. HARP establishes that the hidden state space of LLMs can be decomposed into a direct sum of a semantic subspace and a reasoning subspace, where the former encodes linguistic expression and the latter captures internal reasoning processes. Moreover, we demonstrate that the Unembedding layer can disentangle these subspaces, and by applying Singular Value Decomposition (SVD) to its parameters, the basis vectors spanning the semantic and reasoning subspaces are obtained. Finally, HARP projects hidden states onto the basis vectors of the reasoning subspace, and the resulting projections are then used as input features for hallucination detection in LLMs. By using these projections, HARP reduces the dimension of the feature to approximately 5% of the original, filters out most noise, and achieves enhanced robustness. Experiments across multiple datasets show that HARP achieves state-of-the-art hallucination detection performance; in particular, it achieves an AUROC of 92.8% on TriviaQA, outperforming the previous best method by 7.5%.
title HARP: Hallucination Detection via Reasoning Subspace Projection
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2509.11536