Abstract
Diffusion models have emerged as powerful tools for image restoration (IR), yet their practical application is hindered by slow sequential sampling and memory-intensive gradient computation. We present DeqIR, a novel framework that reformulates the diffusion sampling chain as a Deep Equilibrium (DEQ) fixed-point system. This shift enables parallel sampling across all timesteps and efficient gradient optimization of initial noise, leading to superior restoration quality and enhanced control.
Introduction: Addressing the Diffusion Bottleneck
While diffusion models excel at generating realistic high-frequency details in tasks like super-resolution and deblurring, they face two primary challenges:
- Sequential Latency: Standard sampling requires a long serial chain where each step $t-1$ depends on the completion of step $t$. This often necessitates hundreds of sequential network passes.
- Gradient Intractability: Backpropagating through a long sampling chain to optimize initial noise is computationally prohibitive, preventing fine-tuned control over the restoration process.
DeqIR addresses these by asking: Can we solve for all steps in the diffusion chain simultaneously?
Methodology: Parallel Sampling via Fixed-Point Modeling
The core of DeqIR is treating the entire diffusion sampling process as a joint multivariate fixed-point system. Instead of a sequential progression, the authors derive an analytical relationship between states, defining a function $F$ where the entire sequence $x_{0:T-1}$ is a fixed point: $x = F(x)$.
By employing a Deep Equilibrium (DEQ) solver, such as Anderson Acceleration, DeqIR updates all timesteps in the chain in parallel, breaking the serial dependency. Furthermore, leveraging the Implicit Function Theorem allows for gradient computation through the fixed point without storing intermediate states. This enables Initialization Optimization, where the starting noise is "nudged" via gradient descent to ensure the final output better aligns with the degraded input or specific stylistic constraints.
Evaluation and Datasets
DeqIR was evaluated on standard high-resolution benchmarks, including ImageNet for general restoration (SR, deblurring) and CelebA-HQ for facial restoration requiring high identity preservation. The framework also demonstrates robustness in real-world scenarios involving old photo restoration and non-Gaussian degradations.
Key Insights
- Temporal Parallelism: The "arrow of time" in diffusion is not an absolute requirement for inference. Equilibrium modeling allows solving for the entire chain concurrently.
- Optimization-Driven Restoration: By turning initial noise into a learnable parameter, DeqIR moves beyond "take what you get" sampling, significantly boosting PSNR and controllability.
- Constant Memory Cost: DEQ methods provide a memory-efficient path for gradients, independent of the number of diffusion steps.
Results and Performance
DeqIR consistently outperforms state-of-the-art zero-shot methods such as DPS, DDRM, and DDNM. Quantitatively, on ImageNet 4× Super-Resolution, DeqIR achieved a PSNR of 27.47 dB, a notable improvement over DDNM's 26.49 dB.
Qualitatively, DeqIR produces fewer artifacts and more realistic textures. While traditional serial methods may require 100–1000 steps, DeqIR achieves superior results in just 15–20 parallel iterations. The "with inversion" optimization further boosts quality, exemplified by improving colorization results from 22.45 dB to 35.21 dB through noise optimization.
Limitations and Future Outlook
As a zero-shot framework, DeqIR's performance is tied to the quality of the underlying pre-trained diffusion model. Additionally, while it requires fewer iterations, each parallel update can be more computationally intensive than a single serial step. Future work may explore supervised learning contexts, using DEQ inversion to train restoration models directly through the diffusion process.
Summary updated