Efficient Diffusion Training through Parallelization with Truncated Karhunen-Loève Expansion

Yumeng Ren, Yaofang Liu, Aitor Artola, Laurent Mertz, Raymond H. Chan, Jean-Michel Morel · DOI

Introduction

Diffusion models have established themselves as the state-of-the-art in generative modeling, yet their training remains computationally intensive and slow. This paper introduces KL diffusion, a novel training framework designed to accelerate convergence by 2x to 3x without introducing additional learnable parameters. The core of this approach lies in re-imagining the noising process not as a "jagged" Brownian motion, but as a smooth, parallelizable ordinary differential equation (ODE) derived from a truncated Karhunen-Loève (KL) expansion.

The Bottleneck of Brownian Motion

Standard diffusion models, such as DDPM and Stable Diffusion, rely on Brownian motion for the forward noising process. Brownian motion is characterized by independent increments, making it mathematically non-differentiable and temporally "wiggly." This inherent randomness creates conflicting optimization targets across different time steps, leading to noisy gradients that hinder training efficiency. Neural networks struggle to learn a stable mapping for a process that lacks temporal smoothness.

Methodology: KL Expansion and Parallelization

The proposed KL diffusion framework addresses this by replacing standard Brownian motion with a truncated KL expansion—essentially a "Fourier series" for stochastic processes.

  1. Truncated KL Expansion: Brownian motion is represented as a sum of fixed sinusoidal basis functions weighted by random coefficients. By truncating this sum to the first $M$ terms (typically 8 or 10), the authors filter out high-frequency temporal noise while retaining the primary structure of the stochastic process.
  2. KL Diffusion ODE: This truncation transforms the forward process into a random ODE where the randomness is confined to the initial state (the coefficients). This results in much smoother, more linear paths for individual images through the noise space.
  3. Parallelized Training: The training objective is reformulated to predict the $M$ expansion coefficients in parallel. This basis-wise parallelization effectively increases the batch size and provides a richer, more stable training signal per iteration without modifying the underlying U-Net architecture.

Experimental Results

The authors evaluated KL diffusion on standard benchmarks including MNIST-32, CIFAR10-32, and CelebAHQ at 64x64 and 128x128 resolutions.

Training Efficiency

KL diffusion consistently outperformed baseline models in training speed. On MNIST and CelebAHQ-64, the framework reached the baseline's peak Fréchet Inception Distance (FID) in less than half the steps. On CIFAR10-32, the speedup exceeded 3x.

Training convergence speedup of KL diffusion on CIFAR10-32, showing over 3x improvement in training steps to reach baseline FID.

Generative Quality

Beyond speed, KL diffusion often achieved superior final image quality. For instance, on MNIST, it reached an FID of 2.44, significantly better than the baseline's 5.35. On high-resolution tasks like CelebAHQ-128, the model produced high-quality samples in just 6,000 steps, a milestone the baseline required much longer to approach.

Qualitative results on CelebAHQ, demonstrating the progression of image quality across different training configurations.

Discussion and Future Work

While KL diffusion offers significant speedups, it introduces a trade-off in VRAM usage due to the parallelization over $M$ basis terms. The authors suggest "KL partial loss" as a mitigation strategy to balance speed and memory constraints. Future research may explore alternative orthogonal basis families and the application of this framework to modern architectures like Vision Transformers (ViT). Overall, KL diffusion represents a significant step toward making high-performance generative models more accessible through efficient training dynamics.

Summary updated

BibTeX
@misc{ren2025efficient,
  author = {Yumeng Ren and Yaofang Liu and Aitor Artola and Laurent Mertz and Raymond H. Chan and Jean-Michel Morel},
  title = {{Efficient Diffusion Training through Parallelization with Truncated Karhunen-Loève Expansion}},
  year = {2025},
  eprint = {2503.17657},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2503.17657},
}
Figure