Training Latent Diffusion Models with Interacting Particle Algorithms
Tim Y. J. Wang, Juan Kuntz, O. Deniz Akyildiz
TL;DR
This work reframes end-to-end training of latent diffusion models as the minimization of a free-energy functional and derives a gradient flow in a Wasserstein-2 geometry for latent distributions alongside Euclidean geometry for model parameters. By approximating this flow with an interacting-particle system, the authors obtain IPLD, an encoder-free, scalable training algorithm that supports subsampling, distributed computation, preconditioning, momentum, and KL annealing, with provable convergence and non-asymptotic error bounds. Theoretical results guarantee exponential convergence under standard assumptions and provide finite-sample error controls for the particle-based approximation. Empirically, IPLD matches or surpasses the closest VI analogue on synthetic tasks and demonstrates competitive image-modeling performance with improvements as the particle count grows, while highlighting practical trade-offs and potential for integration with broader end-to-end diffusion-model advances.
Abstract
We introduce a novel particle-based algorithm for end-to-end training of latent diffusion models. We reformulate the training task as minimizing a free energy functional and obtain a gradient flow that does so. By approximating the latter with a system of interacting particles, we obtain the algorithm, which we underpin theoretically by providing error guarantees. The novel algorithm compares favorably in experiments with previous particle-based methods and variational inference analogues.
