Addressing degeneracies in latent interpolation for diffusion models
Erik Landolsi, Fredrik Kahl
TL;DR
This work identifies and analyzes degeneracies that arise when interpolating latent latents from inverted diffusion model inputs as the number of sources grows. It shows that small, deterministic biases in latent statistics are amplified by norm-based interpolation, leading to degraded image quality even before degeneration is visible. The authors propose a mean-adjusted interpolation framework that separates a deterministic latent component from a stochastic one, interpolating the latter with norm-aware methods (notably a channel-wise mean adjustment) to mitigate degeneration. Across ImageNet experiments using Stable Diffusion variants, the channel-wise mean adjustment substantially improves FID and CLIP distances for larger $N$, enabling more reliable data augmentation and morphing with diffusion models.
Abstract
There is an increasing interest in using image-generating diffusion models for deep data augmentation and image morphing. In this context, it is useful to interpolate between latents produced by inverting a set of input images, in order to generate new images representing some mixture of the inputs. We observe that such interpolation can easily lead to degenerate results when the number of inputs is large. We analyze the cause of this effect theoretically and experimentally, and suggest a suitable remedy. The suggested approach is a relatively simple normalization scheme that is easy to use whenever interpolation between latents is needed. We measure image quality using FID and CLIP embedding distance and show experimentally that baseline interpolation methods lead to a drop in quality metrics long before the degeneration issue is clearly visible. In contrast, our method significantly reduces the degeneration effect and leads to improved quality metrics also in non-degenerate situations.
