Introduction
Diffusion models have revolutionized generative tasks in continuous domains, such as image synthesis. However, their application to discrete text generation has been hindered by the categorical nature of language. Current approaches typically either map text into continuous spaces—introducing potential information loss—or train discrete diffusion models from scratch, which is computationally expensive and ignores the extensive knowledge embedded in pre-trained language models (PLMs).
DiffusionBERT addresses these limitations by repurposing BERT as a generative backbone within a discrete diffusion framework. By combining the denoising power of BERT with a novel "spindle" noise schedule and time-agnostic decoding, the authors achieve state-of-the-art results in text generation quality and diversity with significantly faster convergence.
Methodology: Discrete Diffusion with BERT
DiffusionBERT conceptualizes text generation as a reverse diffusion process in a discrete state space. In this setup, the "noise" is represented by the [MASK] token.
Non-Markovian Forward Process
In the forward process, tokens are gradually replaced by masks until the entire sequence is obscured. Unlike standard Markovian diffusion, where each step depends only on the previous one, DiffusionBERT utilizes a non-Markovian process. This allows the state at any time step $t$ to depend directly on the original clean text $x_0$, enabling more complex and effective noise schedules.
The Spindle Noise Schedule
The primary innovation of DiffusionBERT is the Spindle noise schedule. Standard diffusion models often treat all tokens equally during the masking process. In contrast, the Spindle schedule leverages the entropy (informativeness) of tokens. Highly informative words (e.g., "Einstein") are masked early in the forward process, while common, low-entropy words (e.g., "the") are masked later. This forces the model to learn an "easy-first" strategy during the reverse process: filling in structural context first to provide a foundation for generating complex content words.
Time-Agnostic Decoding (TAD)
While most diffusion models require an explicit time-step input $t$ to calibrate the denoising process, the authors found that BERT performs better without it. Since the number of [MASK] tokens in a sequence implicitly signals the diffusion step, BERT can effectively denoise corrupted text without explicit time-step information.
Experimental Results
The model was evaluated on the One Billion Word dataset (LM1B) for unconditional generation and benchmarks like Quasar-T and QQP for conditional tasks.
Superior Quality and Diversity
DiffusionBERT achieves significant performance gains over existing discrete diffusion models. On the LM1B dataset, it reached a Perplexity (PPL) of 63.78, substantially lower than the previous state-of-the-art model, D3PM (82.34). In conditional tasks such as paraphrasing, DiffusionBERT demonstrated higher diversity (measured by Div-4), avoiding the repetitive outputs often seen in autoregressive models.
Efficiency Gains
By initializing with a pre-trained BERT, the model benefits from a "warm start," leading to an 80% acceleration in convergence compared to training a diffusion model from scratch. While iterative sampling remains slower than single-pass models like GPT, DiffusionBERT offers a highly competitive efficiency-performance tradeoff.
Conclusion
DiffusionBERT successfully bridges the gap between discrete diffusion and pre-trained language models. By leveraging BERT's denoising capabilities and introducing the Spindle noise schedule, it provides a powerful framework for high-quality text generation. Future research will focus on reducing inference latency through advanced ODE solvers and extending the Spindle logic to other data modalities.
Summary updated