FLaG: Fine-Grained Latent Grouping for Hallucination Detection

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Ye, Wentao, Li, Liyao, Xiao, Zhiqing, Zhu, Muzhi, Hu, Jiaqi, Shen, Zhanming, Hu, Xiaomeng, Du, Sean, Wang, Haobo
Natura: Preprint
Pubblicazione: 2026
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866914619576025088
author Ye, Wentao
Li, Liyao
Xiao, Zhiqing
Zhu, Muzhi
Hu, Jiaqi
Shen, Zhanming
Hu, Xiaomeng
Du, Sean
Wang, Haobo
author_facet Ye, Wentao
Li, Liyao
Xiao, Zhiqing
Zhu, Muzhi
Hu, Jiaqi
Shen, Zhanming
Hu, Xiaomeng
Du, Sean
Wang, Haobo
contents Hallucinations in large language models (LLMs) arise from heterogeneous failure mechanisms, making reliable detection difficult for any single global uncertainty score. In this work, we formulate hallucination detection as a mechanism-aware evidence aggregation problem, where diverse representation- and token-level signals must be interpreted under multiple latent explanations. We propose FLaG, a lightweight hallucination detection framework that models correctness through a set of latent evidence groups. Each instance is softly associated with multiple groups via an energy-based routing mechanism, and group-conditional reliability signals are combined through a principled log-marginal aggregation. This design enables FLaG to capture heterogeneous hallucination patterns while remaining invariant to decision thresholds and evaluation metrics. The framework operates as a frozen-model head, requires no modification to the underlying language model, and incurs minimal computational overhead. We further provide a theoretical perspective that connects FLaG to optimal evidence aggregation under heterogeneous error mechanisms, showing that the Bayes-optimal test statistic necessarily admits a log-marginal form and that FLaG constitutes a tractable approximation with a controllable error bound. Extensive experiments across multiple benchmarks and LLM backbones demonstrate that FLaG consistently achieves SOTA performance, while exhibiting robust transfer across datasets and models, and remaining effective under limited supervision.
format Preprint
id arxiv_https___arxiv_org_abs_2606_00301
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle FLaG: Fine-Grained Latent Grouping for Hallucination Detection
Ye, Wentao
Li, Liyao
Xiao, Zhiqing
Zhu, Muzhi
Hu, Jiaqi
Shen, Zhanming
Hu, Xiaomeng
Du, Sean
Wang, Haobo
Machine Learning
Hallucinations in large language models (LLMs) arise from heterogeneous failure mechanisms, making reliable detection difficult for any single global uncertainty score. In this work, we formulate hallucination detection as a mechanism-aware evidence aggregation problem, where diverse representation- and token-level signals must be interpreted under multiple latent explanations. We propose FLaG, a lightweight hallucination detection framework that models correctness through a set of latent evidence groups. Each instance is softly associated with multiple groups via an energy-based routing mechanism, and group-conditional reliability signals are combined through a principled log-marginal aggregation. This design enables FLaG to capture heterogeneous hallucination patterns while remaining invariant to decision thresholds and evaluation metrics. The framework operates as a frozen-model head, requires no modification to the underlying language model, and incurs minimal computational overhead. We further provide a theoretical perspective that connects FLaG to optimal evidence aggregation under heterogeneous error mechanisms, showing that the Bayes-optimal test statistic necessarily admits a log-marginal form and that FLaG constitutes a tractable approximation with a controllable error bound. Extensive experiments across multiple benchmarks and LLM backbones demonstrate that FLaG consistently achieves SOTA performance, while exhibiting robust transfer across datasets and models, and remaining effective under limited supervision.
title FLaG: Fine-Grained Latent Grouping for Hallucination Detection
topic Machine Learning
url https://arxiv.org/abs/2606.00301