Understanding the Generalization of Pretrained Diffusion Models on Out-of-Distribution Data

Published: 24 Mar 2024, Last Modified: 06 Mar 2025The Thirty-Eighth AAAI Conference on Artificial IntelligenceEveryoneCC BY 4.0
Abstract: This work tackles the important task of understanding outof-distribution behavior in two prominent types of generative models, i.e., GANs and Diffusion models. Understanding this behavior is crucial in understanding their broader utility and risks as these systems are increasingly deployed in our daily lives. Our frst contribution is demonstrating that diffusion spaces outperform GANs’ latent spaces in inverting highquality OOD images. We also provide a theoretical analysis attributing this to the lack of prior holes in diffusion spaces. Our second signifcant contribution is to provide a theoretical hypothesis that diffusion spaces can be projected onto a bounded hypersphere, enabling image manipulation through geodesic traversal between inverted images. Our analysis shows that different geodesics share common attributes for the same manipulation, which we leverage to perform various image manipulations. We conduct thorough empirical evaluations to support and validate our claims. Finally, our third and fnal contribution introduces a novel approach to the fewshot sampling for out-of-distribution data by inverting a few images to sample from the cluster formed by the inverted latents. The proposed technique achieves state-of-the-art results for the few-shot generation task in terms of image quality. Our research underscores the promise of diffusion spaces in out-of-distribution imaging and offers avenues for further exploration. Please fnd more details about our project at http: //cvit.iiit.ac.in/research/projects/cvit-projects/diffusionOOD
Loading