Beyond Next Token Probabilities: Learnable, Fast Detection of Hallucinations and Data Contamination on LLM Output Distributions
Proceedings of the AAAI Conference on Artificial Intelligence · 14.03.2026 · 40 (36) · 30058-30066
DOI: 10.1609/aaai.v40i36.40254 ↗Kurz gefasst
Fachartikel in der Zeitschrift Proceedings of the AAAI Conference on Artificial Intelligence, online erschienen am 14.03.2026. Verfasst von Guy Bar-Shalom und 7 weiteren Autor:innen.
Abstract (Originalsprache)
The automated detection of hallucinations and training data contamination is pivotal to the safe deployment of Large Language Models (LLMs). These tasks are particularly challenging in settings where no access to model internals is available. Current approaches in this setup typically leverage only the probabilities of actual tokens in the text, relying on simple task-specific heuristics. Crucially, they overlook the information contained in the full sequence of next-token probability distributions. We propose to go beyond hand-crafted decision rules by learning directly from the complete observable output of LLMs — consisting not only of next-token probabilities, but also the full sequence of next-token distributions. We refer to this as the LLM Output Signature (LOS), and treat it as a reference data type for detecting hallucinations and data contamination. To that end, we introduce LOS-Net, a lightweight attention-based architecture trained on an efficient encoding of the LOS, which can provably approximate a broad class of existing techniques for both tasks. Empirically, LOS-Net achieves superior performance across diverse benchmarks and LLMs, while maintaining extremely low detection latency. Furthermore, it demonstrates promising transfer capabilities across datasets and LLMs.
Zitieren
APA
Bar-Shalom, G., Frasca, F., Lim, D., Gelberg, Y., Ziser, Y., El-Yaniv, R., Chechik, G., & Maron, H. (2026). Beyond Next Token Probabilities: Learnable, Fast Detection of Hallucinations and Data Contamination on LLM Output Distributions. Proceedings of the AAAI Conference on Artificial Intelligence, 40(36), 30058-30066. https://doi.org/10.1609/aaai.v40i36.40254
Vancouver
Bar-Shalom G, Frasca F, Lim D, Gelberg Y, Ziser Y, El-Yaniv R, et al. Beyond Next Token Probabilities: Learnable, Fast Detection of Hallucinations and Data Contamination on LLM Output Distributions. Proceedings of the AAAI Conference on Artificial Intelligence. 2026;40(36):30058-30066. doi:10.1609/aaai.v40i36.40254
BibTeX
@article{BarShalom2026,
author = {Bar-Shalom, Guy and Frasca, Fabrizio and Lim, Derek and Gelberg, Yoav and Ziser, Yftah and El-Yaniv, Ran and Chechik, Gal and Maron, Haggai},
title = {Beyond Next Token Probabilities: Learnable, Fast Detection of Hallucinations and Data Contamination on LLM Output Distributions},
journal = {Proceedings of the AAAI Conference on Artificial Intelligence},
year = {2026},
volume = {40},
number = {36},
pages = {30058--30066},
doi = {10.1609/aaai.v40i36.40254}
}
EUVIMED