cs.CLAug 27, 2026

Prediction of Prediction (PoP): Inter-Layer Activation Fusion for Single-Pass Hallucination Detection in Large Language Models

Authors: Himal Badu

Abstract

Autoregressive large language models (LLMs) routinely generate factually incorrect outputs with high decoding confidence, limiting their deployment in high-stakes workflows. Existing output-stage uncertainty metrics can fail when models are overconfident on false assertions, while multi-sample verification pipelines introduce substantial memory and latency overhead. This work evaluates whether internal hidden-state transition dynamics during generation can signal factual errors without auxiliary decoding calls. We introduce Prediction of Prediction (PoP), a mechanism that captures layer-transition uncertainty by fusing intermediate hidden representations across depth during a single forward pass. Evaluated on the TruthfulQA benchmark using autoregressive transformer backbones, PoP achieves an area under the receiver operating characteristic curve (AUROC) of 75.5% for factual-correctness classification. The mechanism operates within the base forward pass, adding less than 1.2% runtime latency and requiring zero additional generation passes. The numerical results are reported from the author-verified experimental implementation and are bounded by the evaluation scope described below.

Figures & tables

Explore similar work

CardsList
  1. Detecting Errors in Large Language Model Responses: The Incremental Predictive Value of Hidden States

    Oct 20, 2026Ningzhi Li, Xiaojun Ma, Xiaofei WangLanguage Model Error DetectionLLM Hallucination Detection

  2. Look Before You Leap: Factual Decoding with Internal Attribution Signals

    Sep 14, 2026Hayeong Ryu, JungMin Yun, Byeonggeuk Lim +2Language Model DecodingLanguage Model Error Detection

  3. Hallucination as an Anomaly: Dynamic Intervention via Probabilistic Circuits

    May 7, 2026Erik Nielsen, Elia Cunegatti, Marcus Vukojevic +1Probabilistic CircuitsLLM Hallucination Mitigation