CLMay 8, 2023

Can Diffusion Model Achieve Better Performance in Text Generation? Bridging the Gap between Training and Inference!

arXiv:2305.04465v1228 citations
AI Analysis

This addresses efficiency and accuracy issues in text generation for AI applications, representing an incremental improvement.

The paper tackles the training-inference gap in diffusion models for text generation, proposing two methods that achieve 100x to 200x speedup with improved performance across six tasks.

Diffusion models have been successfully adapted to text generation tasks by mapping the discrete text into the continuous space. However, there exist nonnegligible gaps between training and inference, owing to the absence of the forward process during inference. Thus, the model only predicts based on the previously generated reverse noise rather than the noise computed by the forward process. Besides, the widely-used downsampling strategy in speeding up the inference will cause the mismatch of diffusion trajectories between training and inference. To understand and mitigate the above two types of training-inference discrepancies, we launch a thorough preliminary study. Based on our observations, we propose two simple yet effective methods to bridge the gaps mentioned above, named Distance Penalty and Adaptive Decay Sampling. Extensive experiments on \textbf{6} generation tasks confirm the superiority of our methods, which can achieve $100\times \rightarrow 200\times$ speedup with better performance.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes