[KongchangAI]
· 2 min read· 1,073 words

CrossDLM: Cross-Generation-Process Distillation to Inject Autoregressive Knowledge into Diffusion Language Models

CrossDLM: Cross-Generation-Process Distillation to Inject Autoregressive Knowledge into Diffusion Language Models

CrossDLM uses sequence-level scoring to provide bidirectional reconstruction supervision, effectively distilling AR knowledge into diffusion language models.

The CrossDLM framework addresses the mismatch between causal prefix supervision and the bidirectional reconstruction process of diffusion language models (DLMs) when distilling from autoregressive (AR) models. It uses the teacher model's sequence-level scoring to evaluate candidate tokens in full context, providing bidirectional supervision that accounts for unresolved content uncertainty. Two designs—shared teacher computation and aggregation of a few student completions—make this feasible. Experiments convert pretrained AR checkpoints into DLMs via on-policy self-distillation with about 0.10B rollout tokens per model, outperforming causal prefix distillation across benchmarks and model families.

Diffusion Language Models (DLMs) support parallel text generation and have the potential to break through the word-by-word generation efficiency bottleneck of autoregressive (AR) models. However, enabling DLMs to achieve language capabilities comparable to AR models has remained a research challenge. Prior work attempted to distill knowledge from pretrained AR models, but the causal prefix supervision it used is fundamentally mismatched with the bidirectional reconstruction process of DLMs. The recently proposed CrossDLM framework effectively narrows this gap by redesigning the distillation supervision signal.

CrossDLM distillation framework illustration

Generation Process Mismatch: Limitations of Causal Prefix Supervision

Autoregressive models predict the next word based on the left-side prefix, whereas diffusion language models use context from both sides to reconstruct missing text. This difference in generation process causes the causal prefix supervision used in prior work to fall short. Specifically, the AR teacher model only sees the left-side context, while the DLM student model needs to simultaneously leverage visible information from both left and right sides to fill in the middle portion. If the student is directly supervised by the causal prefix outputs, it receives signals that do not match its own task, thereby limiting the distillation effect.

The authors of CrossDLM point out that this mismatch is one of the key factors hindering DLMs from effectively learning from AR models. To solve this problem, a distillation method capable of providing bidirectional reconstruction supervision is needed.

Diffusion Language Model (DLM) is a class of text generation models inspired by image diffusion models. Unlike autoregressive models that generate word by word from left to right, DLMs are trained to learn a denoising process: during training, some tokens in the sequence are randomly masked (or noised), and the model is then asked to reconstruct the masked tokens based on the remaining visible context (including both sides); during inference, the model starts from a fully noisy or masked state and progressively recovers the complete text in parallel through multiple iterations. This bidirectional reconstruction mechanism enables DLMs to generate multiple positions at once and offers the potential for parallel decoding, but it also means that their training signal is inherently bidirectional and non-causal.

CrossDLM's Core Mechanism: Sequence-Level Scoring and Bidirectional Supervision

The CrossDLM framework uses the teacher model's sequence-level scoring to evaluate the plausibility of candidate tokens within the subsequent text context, thereby providing supervision signals for bidirectional reconstruction. This supervision incorporates both the visible evidence (i.e., the context on both sides) and the uncertainty of unresolved content. In other words, the teacher model no longer scores solely based on the left-side prefix but instead evaluates the coherence of the entire sequence, enabling the student model to better learn how to reconstruct text based on bidirectional context.

To make this supervision practical, CrossDLM adopts two key designs: first, shared teacher computation, which reuses the teacher model's computation results when evaluating different token candidates to reduce overhead; second, aggregating a small number of student model completions to reduce variance and improve supervision quality.

On-policy self-distillation is a knowledge distillation strategy in which the student model generates samples (rollouts) according to its own current policy, and the teacher model then scores these samples or provides supervision signals. Here, "online" and "on-policy" emphasize that the training data does not come from a fixed offline dataset but is generated in real time by the student model, so the supervision signal can adapt to the student's current capability distribution. In CrossDLM, the student DLM generates a small number of completions, and the teacher AR model performs sequence-level scoring on these student-generated sequences, thereby transferring the teacher's knowledge to the student during distillation while avoiding severe divergence between the student and teacher distributions.

Experimental Results: Significantly Outperforming Causal Prefix Distillation

In experiments, CrossDLM converts pretrained AR checkpoints into DLMs through on-policy self-distillation. According to the paper, each model uses approximately 0.10B generated rollout tokens. Across multiple benchmarks and different model families, CrossDLM outperforms causal prefix distillation methods. This shows that a cross-generation-process distillation framework can more effectively transfer the language knowledge of AR models to DLMs, providing a new direction for training diffusion language models.

The significance of CrossDLM lies in the fact that it directly confronts the essential difference between AR and DLM generation processes and designs a targeted supervision mechanism. As diffusion models continue to develop in the field of text generation, this type of cross-generation-process distillation technique is expected to become an important means of enhancing DLM capabilities.

Rollout token refers to the number of tokens actually generated by the student model according to its current policy during the on-policy self-distillation process. It is an important indicator of the computational cost of distillation training: the more rollout tokens, the larger the number of samples the student model must generate and have scored by the teacher, and the higher the training cost. CrossDLM reports that each model uses approximately 0.10B (i.e., about one hundred million) rollout tokens. This order of magnitude is very small relative to the number of tokens consumed in model pretraining, indicating that the distillation method is computationally efficient and can convert pretrained AR checkpoints into competitive DLMs at low cost.

Key Takeaways

  • CrossDLM provides bidirectional reconstruction supervision through sequence-level scoring, solving the mismatch between causal prefix supervision and the diffusion generation process.
  • The designs of shared teacher computation and aggregating a small number of student completions make this supervision computationally feasible.
  • The on-policy self-distillation strategy converts AR checkpoints into DLMs, using approximately 0.10B rollout tokens per model.
  • Across multiple benchmarks and model families, CrossDLM outperforms causal prefix distillation methods.

One-line Summary

CrossDLM provides bidirectional reconstruction supervision through sequence-level scoring, effectively distilling AR model knowledge into diffusion language models.

Paragraph Summary

The CrossDLM framework aims to solve the mismatch between causal prefix supervision and the bidirectional reconstruction process of diffusion language models (DLMs) when distilling from autoregressive (AR) models. The framework uses the teacher model's sequence-level scoring to evaluate the plausibility of candidate tokens in the full context, thereby providing supervision signals for bidirectional reconstruction and incorporating the uncertainty of unresolved content. To make supervision feasible, CrossDLM adopts two designs: shared teacher computation and aggregation of a small number of student completions. In experiments, it converts pretrained AR checkpoints into DLMs through on-policy self-distillation, using approximately 0.10B rollout tokens per model, and outperforms causal prefix distillation methods across multiple benchmarks and model families, offering a new direction for training diffusion language models.

#CrossDLM#diffusion language model#autoregressive model#knowledge distillation#on-policy self-distillation
Share:

Related articles