NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Text Diffusion with Reinforced Conditioning

Yuxuan Liu, Tianchi Yang, Shaohan Huang, Zihan Zhang, Haizhen Huang, Furu Wei, Weiwei Deng, Feng Sun, Qi Zhang

Abstract

Diffusion models have revolutionized generative modeling in continuous domains, yet their application to discrete text remains challenging. This paper presents TREC (Text Diffusion with Reinforced Conditioning), a framework that addresses two critical failures in text diffusion: the "laziness" of self-conditioning and the misalignment between training and sampling distributions. By integrating reinforcement learning to reward iterative refinement and employing a time-aware variance schedule, TREC achieves state-of-the-art results across multiple translation and paraphrasing benchmarks, outperforming traditional autoregressive Transformers.

1. Introduction

The success of diffusion models in image and audio synthesis has prompted significant interest in adapting these techniques for Natural Language Generation (NLG). Unlike images, text is discrete, requiring models to operate within a continuous embedding space. Despite recent progress, text diffusion models often lag behind autoregressive (AR) Transformers. This performance gap is largely attributed to two "pitfalls": the degradation of self-conditioning mechanisms and the accumulation of error during the sampling process.

2. The Pitfalls of Text Diffusion

2.1 Degradation of Self-Conditioning

Self-conditioning is a common technique where a model uses its prediction from step $t+1$ as an additional input for step $t$. Ideally, this provides a "hint" that guides the denoising process. However, empirical analysis reveals that as models converge, they often become "lazy." Instead of using the hint to refine the noisy latent $z_t$, the model learns to simply copy the previous prediction. This effectively halts the iterative refinement process, neutralizing the primary advantage of diffusion.

2.2 Training-Sampling Misalignment

A mathematical mismatch exists between how noise is added during training and how it is handled during inference. In training, the model is exposed to ground-truth noise levels. In sampling, however, the model must rely on its own imperfect reconstructions. These small errors accumulate, leading to a "drift" from the training distribution. Without a mechanism to handle this variance, the model's performance degrades as the number of sampling steps increases.

3. The TREC Framework

TREC introduces two primary innovations to resolve these issues:

3.1 Reinforced Conditioning

To prevent the model from falling into the "copying trap," TREC treats the denoising process as a Reinforcement Learning (RL) problem. The framework utilizes two agents: a vanilla agent that denoises based solely on $z_t$, and a self-conditioned agent that utilizes the previous prediction. An advantage signal is calculated based on the improvement in BLEU score. Using the REINFORCE algorithm, the model is rewarded only when the self-conditioning leads to a demonstrably better result than the vanilla prediction. This forces the model to extract meaningful information from the noisy latent variable rather than relying on simple copying.

3.2 Time-Aware Variance Scaling

To address the training-sampling gap, TREC introduces a scaling factor $\lambda(t)$. This factor increases the variance at higher noise levels during the training phase. By exposing the model to higher levels of uncertainty during training, it becomes more robust to the reconstruction errors encountered during real-world inference. The authors provide formal proof that maintaining sampling noise at a level lower than training noise is essential for preventing distribution drift.

4. Experimental Results

TREC was evaluated on four major NLG benchmarks: IWSLT14 (De-En), WMT14 (En-De), QQP (Quora Question Pairs), and Quasar-T.

4.1 Performance vs. Autoregressive Models

On the WMT14 En-De task, TREC achieved a BLEU score of 27.55, surpassing the standard autoregressive Transformer's score of 27.37. This is a significant milestone, as diffusion models have historically struggled to match the performance of AR models on large-scale translation tasks.

4.2 Comparison with Diffusion Baselines

TREC consistently outperformed existing non-autoregressive diffusion models, including DiffuSeq, Difformer, and DiNoiSer. The improvements were consistent across all four datasets, demonstrating the generalizability of the reinforced conditioning approach.

4.3 Generation Efficiency

Qualitative and quantitative analysis showed that TREC is highly efficient. While older diffusion models often required hundreds of steps to reach peak quality, TREC generates high-quality sentences in as few as 20 steps.

5. Conclusion and Future Work

TREC successfully mitigates the "laziness" and "misalignment" issues that have hindered text diffusion models. By leveraging RL as a regularizer and implementing time-aware variance scaling, the model achieves state-of-the-art results. Future research will focus on reducing the computational overhead of the RL training loop and exploring adaptive stepping mechanisms to further improve inference speed and long-form generation capabilities.

Summary updated

BibTeX
@inproceedings{liu2024text,
  author = {Yuxuan Liu and Tianchi Yang and Shaohan Huang and Zihan Zhang and Haizhen Huang and Furu Wei and Weiwei Deng and Feng Sun and Qi Zhang},
  title = {{Text Diffusion with Reinforced Conditioning}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i12.29316},
}
Figure