paper-with-me

홈 › Papers

Distilled Continuous Diffusion Language Models Can Write Code in Few Steps---or One

2026-09-03 · Fred Zhangzhi Peng, Kaiwen Zheng, Anru R. Zhang arxiv

Language generation is almost universally treated as a sequential process: autoregressive models emit one token at a time, while diffusion language models replace token-level seriality with a long trajectory of iterative refinement. In this work, we introduce PlaidQ, a 0.7B continuous diffusion language model for code generation, and show that its trajectory can be aggressively distilled into only a few denoising steps---or even one, enabling efficient code generation. PlaidQ repurposes a pretrained autoregressive model as a bidirectional denoiser over continuous token embeddings. We distill PlaidQ with distribution matching for few-step generation and paired-trajectory supervision for one-step generation. At matched model scale, PlaidQ is competitive with discrete diffusion language models on code generation. Distillation then shifts the quality--compute frontier: a 16-step student reaches 31.78 and 40.49 pass@10 on HumanEval and MBPP+, surpassing the same PlaidQ teacher sampled for 512 steps. At the extreme, paired-trajectory distillation achieves 7.07 pass@1 on HumanEval with a single denoising step, producing functionally correct programs. Together, these results establish continuous diffusion as a viable path to few-step and one-step code generation. Broadly, continuous diffusion is not merely another representation for language: it provides an interface through which language models can inherit the acceleration and distillation machinery of continuous diffusion modeling. Training and inference code and model checkpoints are available at https://github.com/pengzhangzhi/plaidq.

📄 PDF Abstract BibTeX arXiv:2609.04531

Code (0)

등록된 구현이 없습니다.

Tasks

Code Generation

Similar Papers 제목 키워드 기반

DiLaDiff: Distilled Latent-Augmented Diffusion for Language Modeling

2026-05-22 · Jean-Marie Lemercier, Tomas Geffner, Karsten Kreis, Morteza Mardani 외 arxiv

Diffusion language models intrinsically fail to capture correlations between decoded tokens, which leads to a harsh trade-off between sampling quality and throughput. To solve this issue, we propose DiLaDiff, a variant o…

IDLM: Inverse-distilled Diffusion Language Models

2026-02-22 · David Li, Nikita Gushchin, Dmitry Abulkhanov, Eric Moulines 외 arxiv

Diffusion Language Models (DLMs) have recently achieved strong results in text generation. However, their multi-step sampling leads to slow inference, limiting practical use. To address this, we extend Inverse Distillati…

Text Generation

Scaling and Distilling Text Embeddings for Better Diffusibility

2026-10-01 · Zekai Zhang, Yunjie Tian, Yanjin He, Xiaoyan Zhang 외 hf

Diffusion language models (DLMs) offer a promising alternative to autoregressive (AR) language generation. Recent advances in continuous DLMs, which apply latent diffusion to continuous text embeddings, raise a practical…

D-OPSD: On-Policy Self-Distillation for Continuously Tuning Step-Distilled Diffusion Models

2026-05-06 · Dengyang Jiang, Xin Jin, Dongyang Liu, Zanyi Wang 외 arxiv

The landscape of high-performance image generation models is currently shifting from the inefficient multi-step ones to the efficient few-step counterparts (e.g, Z-Image-Turbo and FLUX.2-klein). However, these models pre…

Image Generation

Token Time Continuous Diffusion for Language Modeling

2026-05-07 · Parikshit Bansal, Sujay Sanghavi hf

In this paper we introduce token time continuous diffusion (TTCD), a new diffusion language model which (a) operates in continuous space, deterministically mapping Gaussian noise to a final token canvas with no further s…