PreDiff-LM Improves Diffusion Models with Hybrid Attention

Zhengtao Yao, Runhao Li, Xupeng Chen, Jiayi Cheng, Chenqian Le, Michael Yue, Jesson Wang, Siheng Wang, Guang Yang, Haoyan Xu, Chenhao Wei, Zhengqing Yuan, Youran Shen, Yanfang Ye, Junhao Dong· July 29, 2026 View original

Summary

Researchers introduce PreDiff-LM, a discrete masked diffusion language model that uses hybrid attention to reconcile causal pretraining with bidirectional denoising, significantly improving perplexity, repetition, and downstream task performance over prior diffusion baselines. This approach preserves causal attention in prompts while allowing full bidirectional attention in masked targets.

Discrete masked diffusion language models offer capabilities like bidirectional generation and infilling, but adapting them from pretrained autoregressive (AR) transformers presents a challenge: reconciling the causal nature of AR pretraining with the bidirectional requirements of denoising. This research addresses this by introducing PreDiff-LM, which employs a novel hybrid attention mechanism. This mechanism maintains causal attention within the observed prompt while enabling full bidirectional attention within the masked target segments. When compared to uniform bidirectional attention using the same AR initialization (a matched GPT-2 Medium setup), PreDiff-LM's hybrid mask significantly improved unconditional perplexity from 34.1 to 28.7 and MAUVE from 0.71 to 0.78. This attention adaptation also complements a DiffuGPT-style objective adaptation, further reducing perplexity to 26.9. While pretrained initialization drastically cut the steps needed to reach a perplexity below 50 (from 350K to 8K), optimized AR models still outperform at equal scale. Beyond perplexity, PreDiff-LM showed improvements in repetition, distributional quality, four zero-shot downstream tasks, and human preference over previous diffusion baselines, positioning hybrid attention as a valuable method for adapting pretrained causal backbones.

Why it matters

This advancement makes diffusion models more effective for language tasks requiring bidirectional context, such as text infilling and generation, potentially leading to more coherent and contextually relevant AI-generated content.

How to implement this in your domain

  1. 1Investigate integrating hybrid attention mechanisms into existing or new diffusion-based language models for tasks requiring bidirectional context.
  2. 2Leverage pretrained autoregressive models as initialization for diffusion models to significantly reduce training steps.
  3. 3For text generation and infilling applications, prioritize models that can effectively utilize both causal and bidirectional attention.
  4. 4Evaluate the trade-offs between diffusion models with hybrid attention and highly optimized autoregressive models for specific use cases, considering quality and inference efficiency.
  5. 5Explore how hybrid attention can improve metrics like perplexity, repetition, and distributional quality in your generative AI applications.

Who benefits

Content CreationNatural Language ProcessingAI/ML DevelopmentSearch & Information Retrieval

Key takeaways

  • PreDiff-LM uses hybrid attention to improve discrete masked diffusion language models.
  • It reconciles causal pretraining with bidirectional denoising for better performance.
  • Hybrid attention significantly improves perplexity, repetition, and downstream tasks.
  • Pretrained initialization drastically reduces training steps for diffusion models.

Original post by Zhengtao Yao, Runhao Li, Xupeng Chen, Jiayi Cheng, Chenqian Le, Michael Yue, Jesson Wang, Siheng Wang, Guang Yang, Haoyan Xu, Chenhao Wei, Zhengqing Yuan, Youran Shen, Yanfang Ye, Junhao Dong

"arXiv:2607.25157v1 Announce Type: new 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 p…"

View on X

Originally posted by Zhengtao Yao, Runhao Li, Xupeng Chen, Jiayi Cheng, Chenqian Le, Michael Yue, Jesson Wang, Siheng Wang, Guang Yang, Haoyan Xu, Chenhao Wei, Zhengqing Yuan, Youran Shen, Yanfang Ye, Junhao Dong on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses