Sparsely Supervised Diffusion
Wenshuai Zhao, Zhiyuan Li, Yi Zhao, Mohammad Hassan Vali, Martin Trapp, Joni Pajarinen, Juho Kannala, Arno Solin
TL;DR
Diffusion models often exhibit spatial inconsistencies due to locality in denoising. Sparsely Supervised Diffusion (SSD) introduces a simple masking mechanism in the regression loss, training on unmasked pixels while encouraging generalization over masked regions. Analytically, SSD alters the data covariance spectrum, changing learning dynamics and reducing memorization on small datasets. Empirically, SSD achieves competitive FID across datasets, improves spatial consistency, strengthens population score estimation, and remains stable under heavy masking, making it a practical, architecture-agnostic improvement for diffusion-based generation.
Abstract
Diffusion models have shown remarkable success across a wide range of generative tasks. However, they often suffer from spatially inconsistent generation, arguably due to the inherent locality of their denoising mechanisms. This can yield samples that are locally plausible but globally inconsistent. To mitigate this issue, we propose sparsely supervised learning for diffusion models, a simple yet effective masking strategy that can be implemented with only a few lines of code. Interestingly, the experiments show that it is safe to mask up to 98\% of pixels during diffusion model training. Our method delivers competitive FID scores across experiments and, most importantly, avoids training instability on small datasets. Moreover, the masking strategy reduces memorization and promotes the use of essential contextual information during generation.
