The LongFact++ Real-Hallucination Probe
Research Team
Synthetic hallucination benchmarks are convenient but their probes do not transfer to real model outputs. A direct test confirmed this. A probe trained on V3 synthetic mutations achieved Area Under the Receiver Operating Characteristic curve (AUROC) 0.79 to 0.82 on synthetic data but produced null Pearson correlation against Natural Language Inference (NLI) factuality on real generations. The V3 training distribution did not match real failure modes. This triggered a full pipeline rebuild on real hallucinations using the LongFact++ benchmark.
The pipeline operates in six steps. First, a multi-resolution Gaussian manifold is built on 200 English Wikipedia articles (wikimedia/wikipedia, 20231101.en config) after projecting hidden states into the Hidden Activation Reasoning Projection (HARP) reasoning subspace (Hu et al. 2025, arXiv 2509.11536). Second, LongFact++ training responses are extracted with span-level Supported or Not Supported annotations. Third, span-level Mahalanobis features are computed at three resolution kinds (token, sentence, paragraph) with six statistics per kind, giving 18-dimensional feature slices per layer. Fourth, a per-layer supervised sweep identifies factuality-informative layers. Fifth, the best-K layers are selected by cross-validation AUROC. Sixth, the probe is tested on a held-out split with no information overlap.
The per-layer sweep revealed mid-layer factuality bands. Qwen peaks at layers 12 to 16. Llama has two clusters at early-mid layers 7 to 8 and mid layers 19 to 24. Gemma concentrates at layers 10 to 15. All three avoid the early layers that the V3 synthetic sweep had selected, confirming that layer selection from synthetic data was wrong for real hallucinations.
The best-K Mahalanobis-only probe achieves held-out test AUROC 0.72, 0.70, and 0.71 on Qwen 2.5 7B Instruct, Llama 3.1 8B Instruct, and Gemma 2 9B Instruct, with train-to-test delta at most 0.016. An expanded probe adds per-span negative-log-probability statistics and reaches held-out test AUROC 0.810 (Qwen, K = 14), 0.825 (Llama, K = 16), and 0.827 (Gemma, K = 16). Bootstrap CIs on the lift are strictly above zero. A domain-signal ablation confirmed that domain drift adds nothing within Wikipedia (delta at most +0.001, CIs spanning zero).
