Back to search

Nanyang Technological University

Inter-layer dynamics for reasoning hallucination detection across decoding strategies and domains

Abstract

dc:description.abstract

Large language models can produce fluent multi-step solutions whose intermediate claims are unsupported or whose final answers are incorrect. Although internal-state signals offer a promising basis for detecting such failures, their robustness across generation conditions and their independence from simple response-length effects remain unclear. This dissertation evaluates whether inter-layer dynamics identify incorrect reasoning trajectories across model scales, problem domains, and decoding strategies. Experiments use ReTruthQA with Qwen3-2B and Qwen3-4B under Greedy, Beam-4, and Sampling-5 generation. Reasoning Hallucination Detection (RHD) is applied post-hoc in a label-blind, teacher-forced pass and is compared with a token- and reasoning-step- count baseline. Final-answer correctness serves as a pragmatic trajectory-level proxy rather than step-level hallucination ground truth. Feature directions, model parameters, and decision thresholds are selected on 60 development questions and then frozen before evaluation on a sealed 180-question set spanning mathematics, science, and multi-hop question answering. On the held-out set, RHD-only AUROC ranges from 0.574 to 0.642. Adding RHD features to the length/step baseline improves AUROC under Greedy decoding by 0.111 (95% CI 0.016–0.208) for Qwen3-2B and 0.097 (0.027–0.174) for Qwen3-4B. In contrast, the gain intervals for Beam-4 and Sampling-5 include zero. Sampling truncation also differs substantially by scale, reaching 32.7% for Qwen3-2B and 5.2% for Qwen3-4B. The principal contribution is a controlled, confound-aware, held-out validation of RHD across six model–decoder conditions. The results show that inter-layer dynamics provide additional detection value under Greedy decoding but do not constitute a decoding- invariant diagnostic. They therefore support RHD as a conditional white-box signal and establish response length, step count, and truncation as necessary controls when evaluating reasoning-hallucination detectors.

Degree

thesis:*
College dc:contributor.school
School of Electrical and Electronic Engineering
Grantor dc:publisher
Nanyang Technological University
Year dc:date.issued
2026

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Xu, Ke
Advisor dc:contributor.supervisor
  • Jiang Xudong

Subjects

dc:subject × 1

Rights

Language dc:language.iso
en

Identifiers

dc:identifier.*
Handle dc:identifier.uri
https://hdl.handle.net/10356/232784

Chain of custody

source
Harvested from
Nanyang Technological University
Base URL
dr.ntu.edu.sg/oai/request
Last updated
2026-11-27
Source record
OAI-PMH GetRecord
citation

Xu, Ke. Inter-layer dynamics for reasoning hallucination detection across decoding strategies and domains. Nanyang Technological University, 2026. https://hdl.handle.net/10356/232784