potentialpaper

SHADE: Spectral Hallucination Detection via Dual Spectral Decompositions

Dominik Dahlem

ICLR 2026 submission

Edit this page

Or clone it with git

The page gets its repository with its first edit, so start in the web editor.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

Abstract. Large language models often produce confident but unsupported statements. Detecting such hallucinations from internal signals is essential for reliable systems. Existing attention-based methods either summarize weights with local statistics or adopt Laplacians (e.g., Dout−AD_{\text{out}}-A) whose guarantees and applicability break outside strictly causal, square attention. We seek a single, rigorous framework that scales across architectures and attention types while yielding interpretable indicators of grounding. We introduce \textsc{SHADE}, a unified spectral approach that models attention with two standard operators: (i) a random-walk operator Lrw=I−AL_{\mathrm{rw}}=I-A that quantifies diffusion/leakiness, and (ii) a degree-normalized cross-operator M=DQ−1/2ADK−1/2M=D_Q^{-1/2}AD_K^{-1/2} that quantifies query--key coupling. The resulting features are mathematically rigorous and physically interpretable, with clear operator semantics that map to failure modes associated with hallucination: \emph{diffusion} (from LrwL_{\mathrm{rw}}) quantifies probability leakiness; \emph{conductance} (via a symmetric/PSD Laplacian, e.g., Chung's) captures expansion/connectedness; and \emph{energy/alignment strength} (from the SVD of MM) quantify total coupling and the dominance or fragmentation of coupling modes. The formulation applies unchanged to encoder, decoder, and encoder--decoder settings, including rectangular cross-attention and masked sub-blocks. Evaluated on GPT-2, FLAN-T5, and Phi-2 across HaluEval and TruthfulQA, \textsc{SHADE} consistently surpasses token-probability and LapEigvals-style baselines, delivering strong discrimination and calibration alongside interpretable spectra. By grounding hallucination detection in standard spectral operators with physically meaningful interpretations, \textsc{SHADE} offers an explanatory basis for \emph{where} and \emph{how} hallucinations originate. This suggests two practical avenues: (i) training-time regularization to suppress emergent hallucinatory patterns, and (ii) a deployable \emph{hallucination risk score} with mode-level rationales (by layer/head and prompt span) that end users and developers can act on.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

add · history

No versions are recorded yet: its preprint, the venues it went to and what they decided, the camera-ready. Missing a version?

We don't know of a submission of this paper to a venue with open reviews. Missing a submission?

Loading the discussion…