Diffusion Model Conditioning on Gaussian Mixture Model and Negative Gaussian Mixture Gradient
Weiguo Lu, Xuan Wu, Deng Ding, Jinqiao Duan, Jirong Zhuang, Gangnan Yuan
TL;DR
This work advances diffusion modeling by conditioning on Gaussian Mixture Model–constructed latent distributions, treating conditioning inputs as distributions rather than fixed values. The authors provide a set-theoretic motivation showing feature-based conditioning yields fewer defects than class-based conditioning, and they introduce a classifier with a novel Negative Gaussian Mixture Gradient (NGMG) to stabilize training. They connect NGMG to the Wasserstein distance, proving similar convergence properties while enabling entropy-aware training that outperforms standard BCE in selective tasks. Experiments on CelebA demonstrate that GMM-conditioned latent spaces can produce high-quality, attribute-consistent generations, and the approach offers a principled path to robust, distributional conditioning in diffusion-based generation.
Abstract
Diffusion models (DMs) are a type of generative model that has a huge impact on image synthesis and beyond. They achieve state-of-the-art generation results in various generative tasks. A great diversity of conditioning inputs, such as text or bounding boxes, are accessible to control the generation. In this work, we propose a conditioning mechanism utilizing Gaussian mixture models (GMMs) as feature conditioning to guide the denoising process. Based on set theory, we provide a comprehensive theoretical analysis that shows that conditional latent distribution based on features and classes is significantly different, so that conditional latent distribution on features produces fewer defect generations than conditioning on classes. Two diffusion models conditioned on the Gaussian mixture model are trained separately for comparison. Experiments support our findings. A novel gradient function called the negative Gaussian mixture gradient (NGMG) is proposed and applied in diffusion model training with an additional classifier. Training stability has improved. We also theoretically prove that NGMG shares the same benefit as the Earth Mover distance (Wasserstein) as a more sensible cost function when learning distributions supported by low-dimensional manifolds.
