Manuscript Offprint

arXiv:2610.18173

TRACESTEER: Trace Driven Activation Steering for Hallucination Mitigation in Diffusion Language Models

Xin Zhang, Yili Wang, Yue Tan, Xin He, Rui Miao, Yixin Liu, Yi Chang, Xin Wang

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Diffusion large language models (dLLMs) have emerged as a promising alternative to autoregressive LLMs, yet remain susceptible to hallucination. Activation steering offers a promising mitigation approach by guiding parallel token predictions through internal representations. However, existing steering methods largely overlook two characteristics of dLLMs: dynamic denoising states and temporal hallucination risks, which challenge predefined steering vectors and uniform intervention strengths. We propose TRACESTEER, a trace-driven activation steering framework that uses preceding denoising predictions as feedback to jointly adapt steering direction and strength. Specifically, Denoising Feedback Steering (DF-Steering) constructs step-specific steering vectors from preceding predictions and current hidden states. Trajectory-Guided Steering Gate (TS-Gate) regulates their strength using prediction uncertainty and the denoising timestep. With the backbone frozen, factual supervision and magnitude regularization jointly guide the learning of adaptive steering interventions, promoting factual reliability and stability throughout denoising. Experiments on two dLLMs show improved factual reliability on TruthfulQA and generalization across five downstream benchmarks. Our code is available at https://github.com/zhangxincode/TRACESTEER.

1 Introduction

Diffusion large language models (dLLMs) have recently emerged as a promising alternative to autoregressive large language models (LLMs), demonstrating strong potential in a wide range of language understanding and generation tasks (Nie et al., 2026; Bie et al., 2025; Ye et al., 2025). Unlike the predominant autoregressive paradigm that

Figure

Figure 1: Motivation for trace-driven activation steering in dLLMs. Existing methods in LLMs suffer from (a) reliance on external knowledge, (b) incompatibility with dLLMs' iterative denoising process, and (c) inability to adapt fixed steering vectors to evolving generation states. In contrast, (d) our approach enables dynamic, trace-aware activation steering.

generates text sequentially from left to right (Liu et al., 2024; Achiam et al., 2023), dLLMs generate text through iterative denoising. In dLLMs, generation starts from a masked sequence, with the model predicting masked tokens in parallel at each step and remasking selected tokens for subsequent prediction. Such a generation paradigm enables bidirectional context interaction and joint token refinement, facilitating global dependency modeling and efficient parallel generation (Sahoo et al., 2024; Zhong et al., 2026b). Despite their merits, dLLMs, like conventional LLMs, remain susceptible to the hallucination issue, posing the risk of generating incorrect or unsupported content that appears plausible. The hallucination issue undermines the reliability and trustworthiness of dLLMs, leading to potentially misleading outputs in real-world applications (Qian et al., 2026; Zhang et al., 2026).

To alleviate this issue, hallucination mitigation seeks to reduce hallucinated content and improve model reliability by intervening in genera-

∗^{*}Equal contribution.

†^{\dagger}Corresponding authors.

tion. Nevertheless, most existing methods are developed for autoregressive LLMs and cannot be broadly applied to dLLMs (You et al., 2026; Su et al., 2025). Specifically, retrieval augmentation (Fig. 1a) leverages external knowledge to ground generation (Gao, 2023; Zhuang et al., 2026); despite its effectiveness, maintaining external knowledge sources incurs additional costs and may not suit diverse scenarios. Decoding intervention (Fig. 1b) represents another line of methods that adjust token logits during generation (Zhang et al., 2025; Shi et al., 2024); however, they are designed for a single next-token decision and thus cannot directly accommodate dLLMs, where multiple token distributions are produced simultaneously and only a subset is selected for update. In contrast, activation steering (Fig. 1c), which modulates model behavior by manipulating internal representations during inference, shows promising potential for hallucination mitigation in dLLMs (Li et al., 2023; Zhang et al., 2024). By directly manipulating internal representations, activation steering can guide multiple token predictions simultaneously, making it naturally compatible with diffusion-based parallel generation process.

Despite its promise, most activation steering techniques for hallucination mitigation are tailored to autoregressive LLMs, overlooking several unique characteristics of dLLM generation (Rimsky et al., 2024; Li et al., 2025). Characteristic ①: Dynamic denoising states. dLLM generation evolves along a continuous denoising trajectory: at different denoising steps, the model not only exhibits varying generation states, but also continuously forms and revises its generation hypotheses. (Wang et al., 2026a; Zhong et al., 2026a) For example, when answering “Why did the Roman Empire fall”, some denoising steps may need to emphasize military pressure, while others shift toward political fragmentation. Facing such dynamic generation states, existing steering methods typically reuse a predefined steering vector throughout inference, which may fail to provide context-adaptive guidance along the evolving denoising trajectory. Characteristic ②: Temporal hallucination risks. Different stages of dLLM generation play distinct roles and exhibit different sources of hallucination. Early denoising steps establish coarse generation hypotheses and are more prone to semantic errors, while later steps refine generated content, where excessive intervention may disrupt reliable predictions. (Chang et al., 2026; Weng et al., 2026) In this case, applying a uniform intervention strength throughout generation, as in existing steering methods, may fail to meet the varying steering needs at different generation stages, leading to over-steering or under-steering for hallucination mitigation.

Targeting the above characteristics, we propose TRACESTEER (Fig. 1d), a trace-driven activation steering framework for hallucination mitigation in dLLMs. TRACESTEER uses the trajectory information as feedback to jointly adapt the steering direction and intervention strength. To capture Characteristic ①, we introduce a Denoising Feedback Steering (DF-Steering) mechanism, which learns adaptive steering signals for different denoising states. Specifically, TRACESTEER encodes the preceding tentative response and relates its representations to the current hidden states. Trained under factual supervision, this mechanism learns a step-specific steering vector conditioned on both the generation hypotheses and the current generation state. To model Characteristic ②, we further introduce a Trajectory-Guided Steering Gate (TS-Gate) mechanism that adjusts the intervention strength according to prediction uncertainty and generation stage. To be concrete, TRACESTEER learns a gating function conditioned on the uncertainty of the preceding prediction and the current denoising timestep, allowing the steering strength to adapt throughout the generation trajectory. The two mechanisms are trained jointly with factual target responses and magnitude regularization while keeping the dLLM backbone frozen. Experiments on LLaDA-8B-Instruct and Dream-7B-Instruct demonstrate improved factual reliability on TruthfulQA and generalization across five downstream benchmarks.

References (21)