Researchers trim hallucination-detection overhead with max-pooling network
An arXiv paper argues a simple token-feature classifier can match a heavier sampling-based detector's accuracy while adding little latency.
In plain words
Large language models sometimes state things that are not true, and detecting these hallucinations usually requires extra computation. The paper's authors replace a detector that repeatedly samples and compares outputs with a small network that scores a response from its tokens directly. They report similar detection quality at a fraction of the runtime.
What was announced
The authors analyze HaMI, a hybrid detector that combines semantic consistency with a model's internal states through multiple instance learning, and find that its repeated sampling and semantic comparisons create substantial computational overhead. Their analysis of HaMI's decision margins identifies conditions where semantic-probability scaling enlarges the average logit margin. Motivated by this, they revisit classical sentence classification: a shared MLP extracts token-level features, max pooling aggregates them, and a linear head scores the response, with no additional sampling or semantic-consistency computation needed.
On four QA benchmarks across three LLMs, the simpler detector is reported as competitive with semantically weighted HaMI in detection AUC while adding a median of 0.5% to end-to-end response time; the authors state that semantically weighted HaMI takes 7-34 times as long. On LongFact++, long-form answers with web-verified entity labels across two LLMs, its larger gains over fixed-position probes are presented as support for aggregating evidence across token positions. Code is available on GitHub.
What it does not show
- Evidence is limited to the paper's abstract; the full article was not reviewed, and the reported benchmarks and timing figures are the authors' own claims, not independently confirmed.
Sources
Source-support review completed 5 Dec 2026. This story was drafted with AI assistance and checked against retained source passages. Automated checking is not independent verification.
Coverage: arXiv: abstract.
Updates and corrections
No corrections so far.
First published 5 Dec 2026
New to the subject? AI from the Ground Up starts from the beginning.