Skip to content
Book Open access

Training a Generalist Hallucination Detector across Multiple Domains via Adaptive Layer Aggregation

Aug 2026 · Proceedings of the 32nd ACM SIGKDD Conference on Knowledge Discovery and Data Mining V.2 · pp. 2802-2813 · 0 citations · 32 references

TL;DR

Stability-Aware Adaptive Layer Aggregation (SALA) defines a layer-wise instability index computed from the training data, which measures how separability varies across domains and provides an upper bound on the possible separability drop from training to test.

Abstract

Hallucination detection is essential for the reliable deployment of large language models (LLMs) in safety-critical applications, yet existing detectors often degrade under real-world domain shifts. To formalize this challenge, we introduce Multi-Domain Generalizable Hallucination Detection (MGHD), where a detector is trained on multiple labeled domains and evaluated on unseen domains without any test-domain supervision. The central challenge of MGHD stems from a previously underexplored phenomenon, termed layer-index shift, in which the most informative internal layer varies substantially across domains, causing detectors that rely on a fixed layer to generalize poorly. To mitigate this phenomenon, we propose a novel method Stability-Aware Adaptive Layer Aggregation (SALA). SALA defines a layer-wise instability index computed from the training data, which measures how separability varies across domains. For an unseen test domain, it provides an upper bound on the possible separability drop from training to test. Guided by this bound, SALA designs a per-layer projector that balances discriminability and stability. Then using these projectors, SALA learns invariant subspaces across layers and aggregates them into a robust detector. Experiments across four widely used QA benchmarks and four LLM backbones from the LLaMA and Qwen families (7B-14B) show that SALA achieves the best average performance compared with existing hallucination detection baselines.

Read PDF

Similar papers

#small language model Preprint Aug 2026

When Do Supervised UQ Ensembles Improve LLM Hallucination Detection? A Robustness Study

Uncertainty quantification (UQ) methods are widely used for hallucination detection in large language models (LLMs) in closed-book settings where ground-truth evidence is unavailable at inference time. Prior work has proposed combining UQ signals via learned ensembles, but empirical investigations into the robustness of these ensembles are limited. We study a supervised ensembling framework that trains a classifier over heterogeneous UQ-based scorer outputs on a small, domain-specific dataset of labeled LLM responses, then applies it to out-of-sample hallucination classification without retrieval, tools, or reference documents. Across four LLMs, nine datasets, and three generation regimes (short-form QA, long-form generation, and code generation), we provide a systematic robustness analysis along three axes: sample efficiency, in-domain dataset transfer, and generation regime dependence. We find that supervised ensembles outperform the best individual scorer in 30 of 32 settings, with gains realized from as few as 100 labeled instances. Ensembles retain most of their advantage in cases of in-domain transfer under distribution shift, outperforming the best non-ensemble scorer in 23 of 28 transfer settings. Sampling-based black-box ensembles are nearly as effective as full ensembles, while single-generation white-box ensembles offer limited benefit.

Mohit Singh Chauhan, Vipin Gyanchandani, Dylan Bouchard · 0 citations
Preprint Jul 2026

Unified Hallucination Fuzzing for Multimodal Large Language Models

This work introduces UniHall, a fine-grained dataset grounded in a unified taxonomy spanning Object, Instruction, and Knowledge dimensions, and proposes Self-Adaptive Multimodal Fuzzing (SAMF), a self-adaptive framework that employs evolutionary mutation strategies to explore the boundaries of model hallucinations.

P. Zhou, Jiajun Song, Zhiwei Tang et al. · 1 citation
Preprint Aug 2026

Beyond Global Editing: Per-Instance Disentangled Subspaces for Training-Free Hallucination Mitigation in LVLMs

This work proposes a training-free hallucination mitigation framework for dynamic, per-instance suppression at test time, and proposes a dynamically combined projection that selectively suppresses the most probable hallucination directions while preserving image-grounded semantics.

Ali Cheraghian, Hamidreza Dastmalchi, Hamed Barzamini et al. · 0 citations

RIVS: Mitigating Hallucination in Large Vision-Language Models via Representation Intervention on Visual Grounding Shift

This work studies hallucination from the perspective of dynamic representation shift during generation and proposes an online projection-based intervention on intermediate hidden states to suppress the hallucination-related directions, mitigating hallucinations while preserving language quality.

Xuanyu Yin, Xiaoye Qu, ∗. WeiWei · 0 citations
Preprint Aug 2026

Decomposed Entailment for Factuality Checking and Hallucination Detection

HallDetect, a lightweight, reference-free, and black-box framework for hallucination detection, is presented, a lightweight, reference-free, and black-box framework for hallucination detection that is evaluated not only on summarization but across a broader range of source-grounded generation settings.

Achir Oukelmoun, N. Semmar, Gäel de Chalendar · 0 citations