All publications

ICML 2026 Oral at the PriGM workshop, EurIPS 2025

Optimal Stopping in Latent Diffusion Model

Yu-Han Wu, Quentin Berthet, Gérard Biau, Claire Boyer, Romuald Elie, Pierre Marion

Why the last denoising steps of a latent diffusion model can hurt, and when to stop.

In brief

  • Problem. The last steps of latent diffusion can degrade samples, which does not happen in pixel-space diffusion.
  • Approach. A Gaussian model with linear autoencoders that links latent dimension, the constraints of score matching and the stopping time.
  • Result. Low-dimensional latents call for earlier stopping, high-dimensional ones for later; stopping time is a key hyperparameter of latent diffusion.
Key figure from the paper
Left: FID-30k of a latent diffusion model on CelebA-HQ, with latent shape 64 × 64 × 3. Right: FID-30k of a standard diffusion model trained in pixel space on CelebA64. The latent model gets worse over its last steps; the pixel-space model does not.

Abstract

We identify and analyze a surprising phenomenon of Latent Diffusion Models (LDMs) where the final steps of the diffusion can degrade sample quality. In contrast to conventional arguments that justify early stopping for numerical stability, this phenomenon is intrinsic to the dimensionality reduction in LDMs. We provide a principled explanation by analyzing the interaction between latent dimension and stopping time. Under a Gaussian framework with linear autoencoders, we characterize the conditions under which early stopping is needed to minimize the distance between generated and target distributions. More precisely, we show that lower-dimensional representations benefit from earlier termination, whereas higher-dimensional latent spaces require later stopping time. We further establish that the latent dimension interplays with other hyperparameters of the problem such as constraints in the parameters of score matching. Experiments on synthetic and real datasets illustrate these properties, underlining that early stopping can improve generative quality. Together, our results offer a theoretical foundation for understanding how the latent dimension influences the sample quality, and highlight stopping time as a key hyperparameter in LDMs.

Cite

Yu-Han Wu, Quentin Berthet, Gérard Biau, Claire Boyer, Romuald Elie and Pierre Marion (2026). Optimal Stopping in Latent Diffusion Models. In International Conference on Machine Learning (ICML).

All publications