Duke and Tsinghua Researchers Build Diffusion Model That Writes Code in One Step

Researchers from Duke University and Tsinghua University published a paper on September 3, 2026, introducing PlaidQ, a continuous latent-diffusion language model designed for code generation. Unlike traditional autoregressive models that produce tokens sequentially, PlaidQ can generate entire code sequences in parallel using a bidirectional Qwen3-0.6B backbone operating in a 16-dimensional latent space. The team applied distillation to reduce the model's denoising steps from 512 down to 16 or even a single step, with the 16-step student model actually outperforming its teacher on the HumanEval pass@10 benchmark. A one-step variant was also demonstrated, though it achieved only a 7.07 pass@1 score on HumanEval, indicating it is not yet reliable for production-quality code. The research signals that diffusion models, previously dominant in image generation, hold meaningful potential for faster and more efficient AI-driven programming.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.



Discussion (0)
Log in to join the discussion and vote.
Log in