Input Perturbation Reduces Exposure Bias in Diffusion Models
About
Denoising Diffusion Probabilistic Models have shown an impressive generation quality, although their long sampling chain leads to high computational costs. In this paper, we observe that a long sampling chain also leads to an error accumulation phenomenon, which is similar to the exposure bias problem in autoregressive text generation. Specifically, we note that there is a discrepancy between training and testing, since the former is conditioned on the ground truth samples, while the latter is conditioned on the previously generated results. To alleviate this problem, we propose a very simple but effective training regularization, consisting in perturbing the ground truth samples to simulate the inference time prediction errors. We empirically show that, without affecting the recall and precision, the proposed input perturbation leads to a significant improvement in the sample quality while reducing both the training and the inference times. For instance, on CelebA 64$\times$64, we achieve a new state-of-the-art FID score of 1.27, while saving 37.5% of the training time. The code is publicly available at https://github.com/forever208/DDPM-IP
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Image Generation | CelebA 64 x 64 (test) | FID4.43 | 203 | |
| Image Generation | CIFAR10 32x32 (test) | FID4.45 | 154 | |
| Unconditional Image Generation | CIFAR-10 32x32 (test) | FID2.38 | 94 | |
| Image Generation | CelebA-HQ 256x256 (test) | FID5.69 | 34 | |
| Image Generation | CIFAR-10 32x32 (train) | FID3.25 | 20 | |
| Image Generation | ImageNet 32x32 (test) | FID4.67 | 15 | |
| Image Generation | CelebA 64x64 (train) | Precision23.42 | 11 | |
| Class-conditional Image Generation | ImageNet 32x32 | FID2.87 | 7 |