Limits of Layer-Wise Friction Delta as an Ex-Ante Hallucination Predictor: A Pilot Study with Permutation Null Testing
Abstract
Abstract Recent work suggests that layer-wise hidden-state variance carries predictive information about hallucinations in large language models. We test a specific instantiation of this principle, the Friction Delta (∆ = Vearly −Vlate, the difference in normalized hidden-state variance between early and late transformer layers), as an ex-ante predictor of hallucination. Across three open-weight models (Qwen2.5-1.5B, Gemma-2B-IT, Llama-3.2-1B-Instruct, n ≈ 45–49 each, TruthfulQA), we conduct a permutation null test correcting for 49 comparisons (7 layer band splits× 7 feature aggregations). No model produced signal surviving correction at α = 0.05. The strongest result was on Llama-3.2-1B-Instruct (AUROC 0.729, p = 0.060 one-sided, directionconsistent with the flatline hypothesis). However, a rerun in which a single label changed shifted p from 0.035 to 0.060, demonstrating fragility at this sample size. The null’s 95th percentile was approximately 0.75, meaning only effects above that AUROC could have been detected; a moderate effect (AUROC 0.60–0.70) would likely have gone unnoticed. No signal was found on Qwen2.5-1.5B (p = 0.90) or Gemma-2B-IT (p = 0.85 one-sided, with the best feature pointing opposite to the predicted direction). These results suggest that the Friction Delta’s predictive power is architecture-dependent and fragile at small sample sizes, requiring larger pre-registered confirmatory studies. 1 Introduction Hallucination detection in large language models (LLMs) is predominantly a post-hoc enterprise. External classifiers, reward models, and API-based guardrails operate on generated text after it has been serialized, introducing a detection lag: by the time an error is flagged, the model’s internal representation has already collapsed into the degenerate state that produced it. This latency is not merely an engineering inconvenience; it means that the geometric structure of the failure is lost bythe time intervention is possible. A growing body of work proposes an alternative: monitor the hidden-state trajectory during the forward pass, before token emission. Layer-wise variance dynamics, inter-layer information deficiency, and attention rank collapse have all been identified as potential leading indicators of semantic degeneration [2, 3, 4, 5]. If these internal signals reliably precede hallucination, they couldenable ex-ante intervention, steering the model away from failure before it manifests in output. One such proposed metric is the Friction Delta (∆), defined as the difference in hidden-state variance between early (routing) and late (projection) transformer layers [6, 7]. Under the “geometric flatline” hypothesis, hallucination is preceded by ∆ → 0: the depth-wise variance differential collapses, indicating that early-layer routing and late-layer projection are no longer functionally differentiated. This framing is appealing because it offers a single scalar that can be monitored in real time and used to trigger inference-time interventions such as KV-cache grafting or activation steering. However, the empirical evidence for this hypothesis remains limited. Prior work has demonstrated that hidden-state geometry changes during generation, but has not established that specific variance differentials predict downstream hallucination with statistically meaningful accuracy. Small-sample studies without correction for multiple comparisons are vulnerable to selection bias, particularly when the feature space (layer bands, aggregations, directions) is explored post-hoc. This paper makes three contributions: We conduct the first permutation-null-corrected study of the Friction Delta as a hallucinationpredictor, controlling for 49 comparisons (7 layer band splits × 7 feature aggregations) acrossthree model architectures We provide a three-architecture comparison (Qwen2.5-1.5B, Gemma-2B-IT, Llama-3.2-1B-Instruct)revealing architecture-dependent signal. We report an honest null result with power analysis, demonstrating that the pilot was underpowered to detect moderate effects and that the marginal signal on Llama is fragile to single-label perturbations. 2 Related Work 2.1 Layer-Wise Information Deficiency Recent work has shown that when models encounter ambiguous or unanswerable prompts, informa-tion transmission across transformer layers suffers from severe deficiency and variance collapse [2].This directly motivates the Friction Delta mechanism: if depth-wise variance differentials carryinformation about the model’s epistemic state, they may serve as leading indicators of failure. 2.2 Geometric Trajectory Analysis Independent work has demonstrated that factual and hallucinated outputs follow geometricallydistinct trajectories across layers [3]. Factual generations maintain monotonic, low-curvature align-ment, whereas hallucinations exhibit systematic geometric drift, curvature instability, and depth-wise variance collapse. This work identifies three failure modes—drift, instability, and collapse—ofwhich the Friction Delta’s flatline (∆ → 0) is one specific instantiation. 2.3 Internal State Covariance Methods The INSIDE framework [4] uses eigenvalues of intermediate layer covariance matrices (EigenScore)to detect semantic degeneration. This is mathematically adjacent to variance-based ∆ but usesthe full covariance structure rather than just the diagonal (variance). The complementary ap-proach suggests that variance-based metrics may capture a subset of the signal available in the fullcovariance spectrum.2.4 Attention Rank Collapse Deeper transformer layers frequently undergo structural degeneration, where attention matricescollapse to near rank-one structures [5]. This “lazy layer” phenomenon provides a mechanisticexplanation for why late-layer variance might differ from early-layer variance: if late layers stopcontributing diverse projections, the variance differential collapses Contunued in attached files (.tex and .pdf): 3 Method 4 Experimental Setup 5 Results 6 Discussion 7 Conclusion The Friction Delta shows architecture-dependent, marginal signal (p = 0.060 one-sided on Llama-3.2-1B-Instruct, direction consistent with the flatline hypothesis) that does not survive permutation correction at α = 0.05 with n ≈ 45. The null does not exclude a moderate effect: the pilot was underpowered to detect AUROC below 0.75. A pre-registered confirmatory study with n ≥ 2,400 prompts per model, deterministic judging, matched-negative length control, and prefix-only feature computation is needed to resolve whether the Friction Delta carries practical predictive value. The pilot provides the feature family, band grid, and power analysis necessary for such a study.