Think While You Generate: Discrete Diffusion with Planned Denoising

Sulin Liu, Juno Nam, Andrew Campbell, Hannes Stärk, Yilun Xu +2 more
10/8/2024
cs.LGcs.AIcs.CL

Official code: liusulin/DDPD (85 stars, MIT, last commit 2025-04-24).

Abstract

Discrete diffusion has achieved state-of-the-art performance, outperforming or approaching autoregressive models on standard benchmarks. In this work, we introduce Discrete Diffusion with Planned Denoising (DDPD), a novel framework that separates the generation process into two models: a planner and a denoiser. At inference time, the planner selects which positions to denoise next by identifying the most corrupted positions in need of denoising, including both initially corrupted and those requiring additional refinement. This plan-and-denoise approach enables more efficient reconstruction during generation by iteratively identifying and denoising corruptions in the optimal order. DDPD outperforms traditional denoiser-only mask diffusion methods, achieving superior results on language modeling benchmarks such as text8, OpenWebText, and token-based image generation on ImageNet $256 \times 256$. Notably, in language modeling, DDPD significantly reduces the performance gap between diffusion-based and autoregressive methods in terms of generative perplexity. Code is available at https://github.com/liusulin/DDPD.

View on arXivView PDF

Code Implementations(1)

liusulin/DDPDOfficial100%
MIT

Official Code for Paper "Think While You Generate: Discrete Diffusion with Planned Denoising" [ICLR 2025]

853Shell, PythonOct 4, 20241 years agoMIT

Cite this paper

@article{liu2024think,
  title  = {Think While You Generate: Discrete Diffusion with Planned Denoising},
  author = {Sulin Liu and Juno Nam and Andrew Campbell and Hannes Stärk and Yilun Xu and Tommi Jaakkola and Rafael Gómez-Bombarelli},
  year   = {2024},
  eprint = {2410.06264},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.06264v2},
  journal = {ICLR 2024 2024}
}

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/2410.06264.svg)](https://codeofpaper.com/paper/2410.06264)

Discussion