vix.ing · top · new · best · stats · spec

Beyond Token Probes: Hallucination Detection via Activation Tensors with ACT-ViT

2025/09/30 by Guy Bar-Shalom, Fabrizio Frasca, Bar-Shalom, Guy +7
Medicine · Neuroscience · #Advanced Neuroimaging Techniques and Applications #Biofield Effects and Biophysics #FOS: Computer and information sciences #Functional Brain Connectivity Studies #Machine Learning (cs.LG)

paper · pdf · doi:10.48550/arxiv.2510.00296

openalex publication_date 2025/09/30 · openalex created_date 2025/10/10 · openalex updated_date 2026/07/28

Abstract

Detecting hallucinations in Large Language Model-generated text is crucial for their safe deployment. While probing classifiers show promise, they operate on isolated layer-token pairs and are LLM-specific, limiting their effectiveness and hindering cross-LLM applications. In this paper, we introduce a novel approach to address these shortcomings. We build on the natural sequential structure of activation data in both axes (layers × tokens) and advocate treating full activation tensors akin to images. We design ACT-ViT, a Vision Transformer-inspired model that can be effectively and efficiently applied to activation tensors and supports training on data from multiple LLMs simultaneously. Through comprehensive experiments encompassing diverse LLMs and datasets, we demonstrate that ACT-ViT consistently outperforms traditional probing techniques while remaining extremely efficient for deployment. In particular, we show that our architecture benefits substantially from multi-LLM training, achieves strong zero-shot performance on unseen datasets, and can be transferred effectively to new LLMs through fine-tuning. Full code is available at https://github.com/BarSGuy/ACT-ViT.

Citations

Cited by

Related