Streaming Hallucination Detection in Long Chain-of-Thought Reasoning
Haolang Lu, Minghui Pan, Ripeng Li, Guoshun Nan, Jialin Zhuang, Zijie Zhao, Zhongxiang Sun, Kun Wang, Yang Liu
TL;DR
The paper reframes hallucination in long chain-of-thought reasoning as a temporally evolving latent state, and proposes streaming detection using two signals: a per-step step-level cue $c_t^{\mathrm{step}}$ and a prefix-level state $c_t^{\mathrm{prefix}}$. It introduces step-level probes with time-aware aggregation and a prefix-level estimator trained with an end-state anchor and step-guided synchronization, enabling online detection with minimal inference cost. A large-scale dataset of over 10k long-CoT trajectories across multiple models (e.g., LLaMA, Qwen, DeepSeek) supports 200k reasoning steps, including 40k hallucinated steps, with detailed annotations and validations. Empirically, the method achieves high accuracy in detecting prefix-level states (over 87% in some settings) and provides dynamic, interpretable signals through eight metrics that characterize onset, recovery, and false alarms, highlighting the potential for real-time monitoring and future mitigation strategies in complex reasoning tasks.
Abstract
Long chain-of-thought (CoT) reasoning improves the performance of large language models, yet hallucinations in such settings often emerge subtly and propagate across reasoning steps. We suggest that hallucination in long CoT reasoning is better understood as an evolving latent state rather than a one-off erroneous event. Accordingly, we treat step-level hallucination judgments as local observations and introduce a cumulative prefix-level hallucination signal that tracks the global evolution of the reasoning state over the entire trajectory. Overall, our approach enables streaming hallucination detection in long CoT reasoning, providing real-time, interpretable evidence.
