Smooth Diffusion: Crafting Smooth Latent Spaces in Diffusion Models
Authors:
- 16 June 2024
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 7548-7558
Abstract
Recently, diffusion models have made remarkable progress in text-to-image (T2I) generation, synthesizing images with highfidelity and diverse contents. Despite this advancement, latent space smoothness within diffusion models remains largely unexplored. Smooth latent spaces en-sure that a perturbation on an input latent corresponds to a steady change in the output image. This property proves beneficial in downstream tasks, including image interpolation, inversion, and editing. In this work, we expose the non-smoothness of diffusion latent spaces by observing noticeable visual fluctuations resulting from minor latent variations. To tackle this issue, we propose Smooth Diffusion, a new category of diffusion models that can be simultaneously high-performing and smooth. Specifically, we introduce Step-wise Variation Regularization to enforce the proportion between the variations of an arbitrary input latent and that of the output image is a constant at any diffusion training step. In addition, we devise an interpolation standard deviation (ISTD) metric to effectively assess the latent space smoothness of a diffusion model. Extensive quantitative and qualitative experiments demonstrate that Smooth Diffusion stands out as a more desirable solution not only in T2I generation but also across various downstream tasks. Smooth Diffusion is implemented as a plug-and-play Smooth-LoRA to work with various community models. Code is available at https://github.com/SHI-Labs/Smooth-Diffusion.Keywords
All Related Versions
Funding Information
- NSFC (62321005,42327901)
This publication has 38 references indexed in Scilit:
- High-Resolution Image Synthesis with Latent Diffusion Models2022
- Encoding in Style: a StyleGAN Encoder for Image-to-Image Translation2021
- pi-GAN: Periodic Implicit Generative Adversarial Networks for 3D-Aware Image Synthesis2021
- In-Domain GAN Inversion for Real Image Editing2020
- Analyzing and Improving the Image Quality of StyleGAN2020
- Image2StyleGAN++: How to Edit the Embedded Images?2020
- A Style-Based Generator Architecture for Generative Adversarial Networks2019
- The Unreasonable Effectiveness of Deep Features as a Perceptual Metric2018
- Microsoft COCO: Common Objects in Context2014
- Scope of validity of PSNR in image/video quality assessmentElectronics Letters, 2008