PreDiff-LM: Pretrained Discrete Masked Diffusion Language Modeling with Hybrid Attention

Zhengtao Yao, Runhao Li, Xupeng Chen, Jiayi Cheng, Chenqian Le +10 more
7/28/2026
cs.AI
diffusion-flow

No confident code implementation found for this paper.

Abstract

Discrete masked diffusion language models support bidirectional generation and infilling, but adapting pretrained autoregressive (AR) transformers requires reconciling causal pretraining with bidirectional denoising. We study this problem at the level of attention rather than claiming AR-weight reuse itself as novel.

Show full abstract

PreDiff-LM preserves causal attention within the observed prompt while allowing full bidirectional attention within the masked target. Under a matched GPT-2 Medium, WikiText-103, 90K-step setup, this hybrid mask improves unconditional perplexity from 34.1 to 28.7 and MAUVE from 0.71 to 0.78 over uniform bidirectional attention with the same AR initialization. Attention adaptation also composes with a DiffuGPT-style objective adaptation, reaching 26.9 perplexity. Pretrained initialization reduces the steps required to reach perplexity below 50 from about 350K to 8K, although a compute-matched fine-tuned AR model remains stronger at equal scale (18.9 versus 28.7). Beyond perplexity, PreDiff-LM improves repetition, distributional quality, four zero-shot downstream tasks, and human preference over prior diffusion baselines. The results position hybrid attention as a complementary mechanism for adapting pretrained causal backbones, while making explicit the remaining quality and inference-efficiency gaps to optimized AR models.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{yao2026predifflm,
  title  = {PreDiff-LM: Pretrained Discrete Masked Diffusion Language Modeling with Hybrid Attention},
  author = {Zhengtao Yao and Runhao Li and Xupeng Chen and Jiayi Cheng and Chenqian Le and Michael Yue and Jesson Wang and Siheng Wang and Guang Yang and Haoyan Xu and Chenhao Wei and Zhengqing Yuan and Youran Shen and Yanfang Ye and Junhao Dong},
  year   = {2026},
  eprint = {2607.25157},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2607.25157v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2607.25157.svg)](https://codeofpaper.com/paper/2607.25157)

Discussion