Summary (Overview)
- Diffusion Language Models (DLMs) internally encode a latent signal related to denoising progress (the fraction of unmasked tokens, ), despite not being explicitly conditioned on timestep.
- This signal can be reliably decoded using simple MLP probes from individual token hidden states across all layers, achieving for both LLaDA and Dream.
- Steering the model's internal representation of by swapping mean activation vectors produces predictable changes in model confidence, entropy, and KL divergence, demonstrating causal relevance.
- The representation lives in a low-dimensional subspace (≈2 principal components) that follows a parabolic manifold structure, shared across layers in LLaDA and organized into blocks in Dream.
- Models can partially correct early-layer perturbations to the signal, indicating the representation is repeatedly recomputed throughout the depth.
Introduction and Theoretical Foundation
Large Language Models (LLMs) have driven a paradigm shift, and understanding their internal representations is an active research area. Recently, Masked Diffusion Language Models (DLMs) have emerged as an alternative to autoregressive models. Instead of left-to-right generation, they progressively denoise [MASK] tokens in a BERT-style manner. While prior work has focused on improving efficiency and generation quality, the internal mechanisms of DLMs remain largely unexplored. In particular, it is unclear whether DLMs internally represent denoising progress during generation.
Theoretical work suggests that the strong performance of absorbing-state DLMs may be attributed to the special role of the [MASK] token. The reverse process only needs to denoise masked positions, and the score can be expressed as a clean-data conditional distribution up to an analytic time-dependent factor (Ou et al., 2024). The fraction of masked tokens is a natural proxy for denoising progress, but it is unknown whether and how such a signal is internally represented.
The paper investigates three research questions:
- RQ1: Do DLMs internally represent a signal related to the denoising step?
- RQ2: Is the identified signal important for generation? How does modifying it affect downstream computations?
- RQ3: What characteristics does the signal exhibit? Is there a unified model-level representation?
The analysis is conducted on two representative large-scale masked diffusion language models: LLaDA-1.5 (Zhu et al., 2026) and Dream (Ye et al., 2025).
Methodology
Background on DLMs
DLMs are trained to recover a clean sequence from a corrupted version , where corruption replaces a subset of positions with the [MASK] token. The corruption level controls the fraction of masked tokens. The training loss is:
where is the set of masked positions. Inference proceeds through denoising steps. At each step , the fraction of unmasked tokens is:
where is the sequence length. serves as a proxy for denoising progress.
Probing for
To test whether is recoverable from hidden states, MLP probes are trained for each layer to predict from a single residual-stream hidden state . The loss is:
Probes are trained separately for [MASK] tokens, non-[MASK] tokens, and all tokens.
Mean Activation Vectors and Steering
To characterize the internal representation, mean activation vectors are computed for each denoising step and layer :
The denoising process is discretized into 100 bins. Steering is performed by replacing the mean vector of the current step with that of a target step :
As a control, random perturbations of matched norm are sampled from the empirical covariance matrix:
Effects are measured via entropy change , confidence change , and KL divergence between clean and steered distributions.
Subspace Analysis
Principal Component Analysis (PCA) is applied to the mean vectors per layer. Steering is repeated using only the projection onto the top principal components and the orthogonal complement, rescaled to match the original norm:
Empirical Validation / Results
Probing Results (RQ1)
Figure 2 shows the coefficients for MLP probes across layers of LLaDA. Probes maintain across all layers, with slight degradation at early and late layers. Both [MASK] and non-[MASK] tokens support accurate recovery, indicating the signal is distributed across the residual stream.
| Layer | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| [MASK] | 0.68 | 0.75 | 0.86 | 0.89 | 0.87 | 0.85 | 0.91 | 0.92 | 0.93 | 0.93 | 0.93 | 0.95 | 0.94 | 0.92 | 0.94 | 0.94 | 0.95 | 0.92 | 0.92 | 0.92 | 0.93 | 0.91 | 0.91 | 0.91 | 0.90 | 0.87 | 0.87 | 0.84 | 0.83 | 0.80 | 0.72 | 0.60 |
| no-[MASK] | 0.59 | 0.76 | 0.86 | 0.85 | 0.86 | 0.85 | 0.88 | 0.88 | 0.88 | 0.89 | 0.89 | 0.89 | 0.90 | 0.89 | 0.90 | 0.90 | 0.89 | 0.89 | 0.88 | 0.87 | 0.88 | 0.87 | 0.87 | 0.86 | 0.85 | 0.82 | 0.80 | 0.77 | 0.75 | 0.74 | 0.73 | 0.70 |
| ALL | 0.74 | 0.80 | 0.87 | 0.87 | 0.87 | 0.87 | 0.91 | 0.92 | 0.93 | 0.94 | 0.93 | 0.94 | 0.94 | 0.93 | 0.94 | 0.94 | 0.94 | 0.93 | 0.92 | 0.92 | 0.92 | 0.92 | 0.92 | 0.92 | 0.92 | 0.90 | 0.89 | 0.87 | 0.85 | 0.83 | 0.81 | 0.75 |
Table: MLP probe coefficients for LLaDA (higher is better). Probes maintain high accuracy across layers and token types.
The correlation between probe predictions on mean vectors and normalized timestep is very high: Pearson , Spearman for LLaDA; and for Dream.
Steering Results (RQ2)
Steering layer 29 of LLaDA (Figure 4) shows systematic effects: steering towards larger (more denoised) increases confidence and decreases entropy; steering towards smaller has the opposite effect. KL divergence grows proportionally to . Random perturbations of matched norm produce weaker and incoherent effects.
When steering early layers (e.g., layer 6), the model is able to correct the perturbation in deeper layers, as measured by probe-predicted drifting back towards clean values (Figure 5). Extreme targets () are harder to compensate for.
Characterization of the Signal (RQ3)
Low-dimensional structure: PCA on mean vectors per layer shows that a single principal component explains >90% of variance on average (Figure 6a). Projections reveal a parabolic manifold (Figure 6b, Figure 1). Steering within the top 2 principal components recovers the full steering effect, while the orthogonal component produces incoherent effects (Figure 7).
Shared representation across layers: Standardizing 2D projections across layers reveals a common parabolic trajectory (Figure 8 for LLaDA), with error bars within ~0.1, indicating a unified model-level geometry.
Cross-layer alignment: Cosine similarity of same-indexed mean vectors across layers (Figure 9) shows high alignment for most layers in LLaDA, except layer 32 which is nearly orthogonal. Dream shows block-wise alignment.
Internal layer representation: Within a layer, self-attention and MLP outputs have opposite representations (highly anti-correlated), suggesting a mechanism for correction (Figure 10, Figure 11).
Theoretical and Practical Implications
- Theoretical significance: The paper provides the first mechanistic evidence that DLMs internally track denoising progress via a structured, low-dimensional representation. This connects DLM behavior to broader findings in LLM interpretability (e.g., "clock" or "time" representations in transformers).
- Practical implications: The ability to steer denoising progress via mean vectors offers a new tool for controlling generation dynamics (e.g., adjusting confidence/entropy at inference). The low-dimensional subspace suggests efficient steering is possible with minimal computation.
- Causal relevance: The signal is not merely correlational; steering it produces predictable changes in output distributions, confirming its functional role.
- Architecture insights: The repeated recomputation and correction of the signal across layers suggests that DLMs have built-in mechanisms to maintain and refine this representation, which could inform future model designs.
Conclusion
The paper demonstrates that Diffusion Language Models encode a latent representation of denoising progress () in their residual streams. This signal is:
- Decodable via simple probes across layers and token types.
- Causally steerable via mean activation vectors, producing predictable changes in entropy, confidence, and KL divergence.
- Low-dimensional (≈2D parabolic manifold) and shared across layers.
- Repeatedly recomputed across depth, allowing correction of early perturbations.
Future directions include identifying the circuit that computes this signal, exploring its use for efficient decoding/remasking strategies, and extending the analysis to other DLM architectures (e.g., block-diffusion models). Limitations include the restriction to LLaDA and Dream, and the focus on sequence-level statistics rather than token-level effects of steering.
Related papers
- Scaling Mixture-of-Experts Video Pretraining for Embodied Intelligence
LingBot-Video is the first open-source MoE video foundation model achieving state-of-the-art embodied video generation via robot-augmented data and multi-dimensional RL.
- ABot-World-0: Infinite Interactive World Rollout on a Single Desktop GPU
ABot-World-0 achieves real-time interactive video world modeling on a single desktop GPU with long-horizon stability via full-stack co-design.
- GigaChat Audio: Time-aware Large Audio Language Model
Periodic temporal anchors are essential for long-form audio grounding, as removing them collapses mIoU from 53.8 to 14.2 on 20-40 minute recordings.