Can Diffusion Model Achieve Better Performance in Text Generation? Bridging the Gap between Training and Inference!
About
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.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Machine Translation | WMT Ro-En '16 | BLEU Score31.13 | 37 | |
| Text Simplification | WikiAuto | BLEU35.26 | 29 | |
| Machine Translation | WMT14 DE-EN | SacreBLEU28.71 | 24 | |
| Paraphrase Generation | QQP (test) | BLEU-241.74 | 22 | |
| Machine Translation | IWSLT En-De 14 | SacreBLEU24.34 | 22 | |
| Machine Translation | WMT En-De '14 | SacreBLEU23.22 | 22 | |
| Paraphrase Generation | QQP | BLEU21.78 | 19 | |
| Seq2Seq generation | QQP | BLEU0.2619 | 17 | |
| Directed Text Generation | WIKI-AUTO (test) | BLEU-245.26 | 12 | |
| Machine Translation | IWSLT De-En 14 | SacreBLEU29.41 | 12 |