From Flat Facts to Sharp Hallucinations: Detecting Stubborn Errors via Gradient Sensitivity

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Liew, Yee Zhing, Tan, Andrew Huey Ping, Majeed, Anwar P. P. Abdul
Format: Preprint
Veröffentlicht: 2026
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866911672719900672
author Liew, Yee Zhing
Tan, Andrew Huey Ping
Majeed, Anwar P. P. Abdul
author_facet Liew, Yee Zhing
Tan, Andrew Huey Ping
Majeed, Anwar P. P. Abdul
contents Traditional hallucination detection fails on "Stubborn Hallucinations" - errors where LLMs are confidently wrong. We propose a geometric solution: Embedding-Perturbed Gradient Sensitivity (EPGS). We hypothesize that while robust facts reside in flat minima, stubborn hallucinations sit in sharp minima, supported by brittle memorization. EPGS detects this sharpness by perturbing input embeddings with Gaussian noise and measuring the resulting spike in gradient magnitude. This acts as an efficient proxy for the Hessian spectrum, differentiating stable knowledge from unstable memorization. Our experiments show that EPGS significantly outperforms entropy-based and representation-based baselines, providing a robust signal for detecting high-confidence factual errors.
format Preprint
id arxiv_https___arxiv_org_abs_2605_00939
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle From Flat Facts to Sharp Hallucinations: Detecting Stubborn Errors via Gradient Sensitivity
Liew, Yee Zhing
Tan, Andrew Huey Ping
Majeed, Anwar P. P. Abdul
Machine Learning
Artificial Intelligence
Traditional hallucination detection fails on "Stubborn Hallucinations" - errors where LLMs are confidently wrong. We propose a geometric solution: Embedding-Perturbed Gradient Sensitivity (EPGS). We hypothesize that while robust facts reside in flat minima, stubborn hallucinations sit in sharp minima, supported by brittle memorization. EPGS detects this sharpness by perturbing input embeddings with Gaussian noise and measuring the resulting spike in gradient magnitude. This acts as an efficient proxy for the Hessian spectrum, differentiating stable knowledge from unstable memorization. Our experiments show that EPGS significantly outperforms entropy-based and representation-based baselines, providing a robust signal for detecting high-confidence factual errors.
title From Flat Facts to Sharp Hallucinations: Detecting Stubborn Errors via Gradient Sensitivity
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2605.00939