cs.AIOct 20, 2026

How Fine-Tuning Objectives Shape Layer-Wise Information in LLM Hallucination Detection

Authors: Kaiyang Wan, Forrest Sheng Bao, Amin Ahmad, Yuxia Wang

Organizations: INSAIT, Sofia University “St. Kliment Ohridski”, Sofia, Bulgaria · PAIR Systems, Inc., Mountain View, California

Abstract

Under matched conditions, classifier-head fine-tuning (cls) paradigm consistently outperforms the LLM-as-Judge sequence-to-sequence (s2s) on binary hallucination detection. We trace this gap to the representations induced by the two objectives. Static analysis shows that cls learns a task-specific discriminative direction, pushing hidden states into a clear two-cluster geometry with stronger class separation and linearly decodable label information. By contrast, s2s relies on the pretrained language-modeling head to make decisions. This minimizes the pressure to reorganize representations, leaving the hidden states much closer to the pretrained backbone. Our analysis also reveals that the cls signal saturates before the final layer, after which upper layers form a plateau of statistically interchangeable and largely redundant representations. However, endpoint redundancy alone does not show whether these layers are dispensable during training. Further training-dynamics analysis reveals 1) a lower pretrained substrate, 2) a narrow upper-middle InfoWindow where task information emerges, and 3) a later-synchronizing upper plateau that mirrors this signal. This mechanism motivates us to remove layers above the InfoWindow. Truncating 31% of the network leaves accuracy unchanged within seed noise on Qwen3-4B and 8B and cuts latency by 1.4×1.4\times. The same depth fraction, fixed before any analysis of the target models, transfers to Llama-3.2-3B and Mistral-7B-v0.3, and the layer structure behind it reappears there and on QNLI and SST-2. We hope this helps guide efficient task-specific LLM design.

Figures & tables

Appendix figures & tables12 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Automatic Layer Selection for Hallucination Detection

    May 25, 2026Xinpeng Wang, William X. Cao, Andrew Gordon Wilson +1Hallucination in Language ModelsLLM Hallucination Detection

  2. TriLens: Per-Layer Logit-Lens Entropy for White-Box Hallucination Detection

    May 31, 2026Bohan Yang, Yijun Gong, Zhi Zhang +3Language Model Error DetectionLLM Reliability

  3. Cross-Layer Attention Probing for Fine-Grained Hallucination Detection

    Sep 4, 2025Malavika Suresh, Rahaf Aljundi, Ikechukwu Nkisi-Orji +1LLM Hallucination DetectionLLM Reliability