Drifting Objectives for Refining Discrete Diffusion Language Models

Daisuke Oba, Hiroki Furuta, Naoaki OkazakiarXiv 2026 · arXiv

TL;DR

The authors introduce TOKENDRIFT, a novel training-time refinement objective that adapts the concept of continuous "drifting" to discrete diffusion language models (DDLMs). By using a differentiable "soft-token lift" to bridge categorical predictions with a continuous semantic feature space, TOKENDRIFT dramatically improves text generation quality under tight inference budgets (low Number of Function Evaluations, or NFEs) without changing the underlying model architecture or sampler.

What Problem Does This Paper Address?

Discrete Diffusion Language Models (DDLMs) generate text non-autoregressively by iteratively denoising corrupted token sequences. While they offer a promising alternative to standard left-to-right autoregressive models, their generation quality heavily depends on the number of denoising steps (NFEs) allowed during inference. Running many steps is computationally expensive, but reducing steps often leads to fragmented phrases and poor local coherence.

In continuous generative modeling (like image diffusion), a technique called drifting helps fix this. Drifting introduces an attraction-repulsion training objective: it nudges generated samples toward real data and away from bad model samples.

However, you can't directly apply drifting to text. DDLMs output categorical distributions over discrete tokens. If you sample hard tokens during training, the gradient path breaks (it becomes non-differentiable). If you try to drift the raw categorical probabilities directly, you violate the mathematical constraints of the probability simplex. This paper tackles the challenge of building a differentiable bridge between discrete text predictions and continuous drift fields.

Methods

The authors propose TOKENDRIFT, a refinement objective applied via continual training on top of pretrained DDLMs. The pipeline consists of three main steps:

  1. Soft-Token Feature Lift: Instead of collapsing the model's categorical distribution into hard tokens (via argmax or sampling), TOKENDRIFT computes the expected token embeddings ($p_t E$). These soft embeddings are passed into a frozen semantic encoder ($\phi$) to extract continuous sequence-level features ($h$). This maintains a fully differentiable path back to the model's logits.
  2. Anti-Symmetric Drift Estimation: In this continuous feature space, the method calculates a drift vector ($V$). It uses queues of real data features (positives) to pull the generated feature toward the true data distribution, and queues of previously generated features (negatives) to push it away from model errors.
  3. Feature-Space Fixed-Point Objective: The model is trained to minimize the distance between its current feature representation and a stop-gradient drifted target: $h^* = \text{sg}(h + \alpha V)$.

The authors also experiment with an alternative formulation called a Mirror Teacher, which maps the feature-space drift back into logit space using a simplex-constrained update, though direct feature-space matching proved to be the most stable.

Figure 1: Overview of our drifting formulation for discrete diffusion language models. Original drifting constructs a stop-gradient target h⋆by moving the generated feature h along a drift field V . For discrete text, hard token sampling blocks gradients, so we lift token probabilities to soft embeddings, compute the drift target in feature space, and backpropagate the loss to logits.

Datasets

The method was evaluated using controlled continual-training experiments on the OpenWebText (OWT) corpus, a standard large-scale text dataset. The authors initialized their training from released public checkpoints of two distinct DDLM architectures:

  • MDLM: A masked diffusion language model (170M parameters).
  • DUO: A uniform-state discrete diffusion backbone.

Key Insights and Ideas

  • Differentiability Alone is Not Enough: The authors tried replacing the soft-token lift with a hard straight-through estimator (using argmax in the forward pass but passing gradients through). This variant failed catastrophically and collapsed entropy. This reveals that preserving predictive uncertainty within the semantic feature space is essential for effective drifting.
  • The Attraction-Repulsion Balance is Critical: Testing variants that were attraction-only or repulsion-only showed that the anti-symmetric balance inherited from continuous drifting is necessary. Repulsion-heavy configurations completely destabilized training, leading to massive perplexity spikes.
  • Refinement, Not Just Regularization: When combining TOKENDRIFT with the original DDLM denoising loss, performance actually degraded compared to training on the drift objective alone. This indicates that drifting functions best as a primary training signal for model refinement rather than a secondary regularizer.

Key Results

TOKENDRIFT achieved massive improvements in text quality under low-step regimes (4, 8, and 16 NFEs) compared to ordinary continuation training:

  • Perplexity Reduction: At 4 NFEs, TOKENDRIFT reduced generative perplexity (Gen.-PPL, evaluated via GPT-2 Large) by 89% on MDLM (from ~1942 down to ~208) and by 86% on DUO (from ~508 down to ~76).
  • Outperforming Distillation: Even though TOKENDRIFT keeps the original sampler intact (unlike specialized distillation methods like SDTT or Di4C which train low-step student models), it achieved lower generative perplexity across all evaluated few-step budgets.
Figure 2: Training dynamics from released MDLM [3] and DUO [5] checkpoints. As drifting training progresses, Gen.-PPL decreases across the NFEs, showing that our drifting objective progres- sively improves fixed-budget generation quality rather than merely selecting a better final checkpoint.

Qualitatively, while the baseline models at 16 steps produced fragmented text with abrupt topic shifts, TOKENDRIFT generated fluent, document-like text with coherent syntax.

Limitations and Future Work

  • Dependency on the Feature Space: The effectiveness of TOKENDRIFT relies heavily on the quality of the frozen semantic encoder used to define the feature space. If the encoder cannot capture fine-grained text nuances, the drift estimates will be noisy.
  • Unconditional Focus: The current study focuses strictly on unconditional text generation. The authors note that extending this objective to conditional generation tasks (like text summarization) and instruction-following datasets is an important next step.

Summary updated

Abstract

Discrete diffusion language models (DDLMs) generate text by iteratively denoising categorical token sequences, while recent drifting methods for continuous generators suggest that part of this sampling-time correction can instead be absorbed into training through an anti-symmetric fixed-point objective. We study how to transfer this principle to DDLMs, where the main challenge is the interface with discrete text: hard token samples are non-differentiable, and categorical predictions do not directly provide continuous samples to drift. We formulate TokenDrift, a drifting objective that lifts categorical predictions to soft-token features, applies anti-symmetric drifting in a frozen semantic space, and backpropagates the resulting stop-gradient feature target to DDLM logits. In controlled continual-training experiments with masked and uniform-state diffusion backbones, TokenDrift improves fixed-NFE generation quality over matched continuation baselines, reducing Gen.-PPL at 4 NFEs by 89% on MDLM and 86% on DUO. These results suggest that drifting can provide a practical refinement objective for DDLMs.
BibTeX
@misc{oba2026drifting,
  author = {Daisuke Oba and Hiroki Furuta and Naoaki Okazaki},
  title = {{Drifting Objectives for Refining Discrete Diffusion Language Models}},
  year = {2026},
  eprint = {2605.19470},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.19470},
}

Loading related content...

Figure