arXiv:2610.01177cs.CLOct 2026

Manuscript Offprint

arXiv:2610.01177

Temporally-Resolved Token Attribution Reveals the Generation Dynamics of Diffusion Language Models

Darpan Aswal, Céline Hudelot

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

Abstract

This work presents Diffusion Layer Integrated Gradients (DLIG), a token attribution method for diffusion language models (DLMs) that extends Integrated Gradients (IG [1]) to arbitrary layers and denoising steps. DLIG attributes a DLM's progressive commitment to a self-generated or fixed completion for an input prompt. We establish direct correspondences between DLIG and the IG axioms of completeness, implementation invariance, linearity, and symmetry preservation. As a lightweight complement to interventional analysis, DLIG provides an inexpensive first check of mechanistic hypotheses across the denoising trajectory. We demonstrate this on word-sense disambiguation, multi-hop graph reasoning, and sentence infilling, revealing how DLMs draw on inputs across positions, layers, and denoising steps.

1 Introduction

Diffusion language models (DLMs) generate by iterative refinement rather than left-to-right prediction, unmasking a sequence over a trajectory of denoising steps [2, 3]. This changes what it means to explain a generation: the same output token is arrived at gradually and the computation supporting it is distributed over both network depth and denoising time. Explaining a DLM's output therefore requires locating support not only where in the network it lives but when along the trajectory it forms.

Yet post-hoc attribution for DLMs remains largely unaddressed. A recent taxonomy formalizes what an attribution contract for iterative generation should provide [4], but no concrete method instantiates one: existing token-attribution tools carry no notion of a denoising step, while DLM interpretability has primarily adapted expensive interventional analyses such as causal tracing [5].

We close this gap with Diffusion Layer Integrated Gradients (DLIG). DLIG scores the model's commitment to its self-generated completion at a chosen layer and denoising step, and attributes that score to the prompt by integrating gradients along a path from a prompt-free baseline to the prompt-present state. Resolved over a grid of layers and steps, it yields a per-token attribution field exposing how output-driving support evolves through denoising. The construction admits an exact correspondence to Integrated Gradients [1] applied at a fixed (layer, step), which lets us carry the IG axioms over to DLIG. Crucially, this correspondence holds at a single coordinate; DLIG's value comes from assembling these axiom-preserving scores across the layer-step grid to expose trajectory structure that single-pass attribution cannot reveal. This temporal resolution parallels recent causal-tracing approaches for DLMs [5], while providing a relatively light-weight first-pass analysis.

We demonstrate DLIG on word-sense disambiguation, multi-hop reasoning, and sentence infilling with DiffuGPT-M [2], using it to test concrete hypotheses about where and when output-driving evidence emerges. § 3 defines DLIG and extends the IG axioms to it (§ 3.1); § 5, § 6, and § 7 report the three tasks, with implementation checks and full statistics in Appendices A.1 and B. This positions DLIG as a lightweight first check that can identify or rule out candidate mechanisms before more expensive causal interventional analyses.

Preprint.

References (45)