Introduction
Diffusion-based generative models have established themselves as the gold standard for high-quality image generation. However, their defining characteristic—a long, sequential chain of denoising steps—imposes a significant "speed limit." Traditionally, generating an image requires iterating through 50 to 1,000 steps. This serial nature makes sampling slow and renders model inversion (finding the exact latent noise vector that generates a specific target image) computationally expensive and highly memory-intensive. Naive inversion requires backpropagating through the entire sampling chain, forcing the GPU to store every intermediate state.
This paper introduces a novel perspective: reformulating the sequential sampling process of diffusion models as a Deep Equilibrium (DEQ) fixed-point system. By solving for the entire sampling chain simultaneously rather than step-by-step, this approach enables parallelized image generation and provides a memory-efficient framework for model inversion.
Methodology: Diffusion as a Fixed-Point System
The authors bridge the gap between diffusion and equilibrium models by adapting the Denoising Diffusion Implicit Model (DDIM), a deterministic variant of diffusion.
Instead of treating the sampling process as a step-by-step sequence ($x_T \to x_{T-1} \to \dots \to x_0$), the researchers rearrange the DDIM equations into a massive, joint multi-variate system. They solve for all intermediate states $x_{0:T-1}$ simultaneously as a single fixed point.
To find this fixed point efficiently, the framework employs Anderson acceleration, a "black-box" root-finding solver. Under certain conditions, this allows the model to converge to the final image faster than traditional serial sampling. Furthermore, for model inversion, the DEQ formulation leverages the Implicit Function Theorem. This allows the calculation of gradients for optimization with $O(1)$ memory complexity, meaning the memory cost remains constant regardless of the diffusion chain's length.
Key Advantages
Viewing diffusion through the lens of deep equilibrium models yields several structural benefits:
- Parallelism over Time: By treating the chain as a joint system, the workload can be batched across multiple GPUs, breaking the serial bottleneck inherent in standard diffusion models.
- Memory Efficiency: The ability to perform backpropagation with constant memory is a breakthrough for high-resolution model inversion, where standard sequential methods quickly exhaust available VRAM.
- Better Gradients for Inversion: The DEQ formulation provides faster and more stable gradients. In optimization tasks, the loss converges much more quickly than when differentiating through a standard sequential chain.
Empirical Results
The researchers evaluated their approach on standard computer vision benchmarks, including CIFAR10 ($32 \times 32$), CelebA ($64 \times 64$), and LSUN Bedroom/Church ($256 \times 256$).
- Generation Speedup: On smaller images (CIFAR10 and CelebA), the DEQ approach achieved up to a 2x speedup in wall-clock time for single-image generation compared to standard DDIM.
- Superior Inversion: The DEQ method significantly outperformed baselines in model inversion. For CIFAR10, the minimum reconstruction loss was 0.76 for DEQ, compared to a massive 15.74 for the naive approach.
- Visual Fidelity: Images recovered via DEQ inversion captured much finer details—such as textures, crevices, and foliage—than those produced by standard sequential optimization.
Limitations and Future Work
While the DEQ reformulation offers a powerful new paradigm, it comes with trade-offs. For larger images ($256 \times 256$), the computational cost of the fixed-point solver iterations begins to outweigh the benefits of parallelism, diminishing the speed gains. Additionally, while the backward pass (inversion) is highly memory-efficient, the forward pass (sampling) requires storing all states $x_{0:T}$ simultaneously, which can be memory-intensive for very long chains.
Future work may explore training specific DEQ models to predict noise at particular timesteps, further accelerating the equilibrium process beyond the capabilities of pre-trained sequential weights.
Summary updated