Introduction
Image restoration tasks, such as super-resolution (SR) and deblurring, are classic inverse problems aimed at recovering a clean image $x$ from a degraded observation $y = A(x) + n$. While diffusion models have emerged as powerful generative priors for these tasks, existing solvers like Diffusion Posterior Sampling (DPS) often suffer from slow convergence and accumulated errors. These models typically start the reverse process from pure Gaussian noise (a "cold start"), requiring thousands of iterations to achieve high-fidelity results. The DiffECC (Diffusion with Error Contraction and Correction) framework addresses these challenges by introducing a "warm start" initialization and iterative error refinement, achieving state-of-the-art performance in significantly fewer steps.
Methodology
The DiffECC framework is built upon two core strategies: Error Contraction and Error Correction.
Error Contraction Strategy
To avoid the instability of starting from pure noise, DiffECC employs an Error Contraction strategy. Instead of initializing at the maximum diffusion timestep $T$, the method uses a pre-trained non-diffusion network (e.g., Real-ESRNet for SR or MPRNet for deblurring) to generate a coarse initial restoration. This estimate is then mapped to an intermediate timestep $T' < T$. This "warm start" ensures the diffusion process begins with a stronger foundation of data consistency, bypassing the most unstable early phases where the model lacks structural guidance.
Furthermore, the authors introduce a Restart Sampling algorithm. By taking small steps backward (adding noise) and then forward again during the sampling process, the model can "contract" discretization errors—errors that naturally arise when continuous diffusion equations are solved in discrete steps. This technique helps stabilize the sampling trajectory toward the true data manifold.
Error Correction Strategy
To maintain accuracy throughout the sampling process, DiffECC incorporates an Error Correction strategy. At each step, an Adam optimizer is used to iteratively refine the predicted clean image $\hat{x}_{0|t}$. This refinement is guided by a dual-term objective function:
- Data Term: Ensures the prediction matches the degraded observation $y$ via the forward operator $A$.
- Prior Term: Ensures the prediction aligns with the learned distribution of natural images captured by the diffusion model.
By correcting both the noise estimate and the predicted clean image, the model maintains a tighter grip on both physical constraints and aesthetic quality.
Experimental Results
The researchers evaluated DiffECC on the FFHQ (facial images) and ImageNet (diverse natural scenes) datasets at $256 \times 256$ resolution. They compared the method against several state-of-the-art baselines, including DPS, DDRM, DDNM, and DiffPIR.
Efficiency and Quality
DiffECC demonstrates remarkable efficiency, achieving superior restoration quality in just 58 Number of Function Evaluations (NFEs). In comparison, DPS requires 1,000 NFEs, and methods like DDRM or DDNM typically use 100. This represents a significant reduction in computational cost without sacrificing performance.
On the FFHQ 4× SR task, DiffECC achieved a PSNR of 28.47 dB and an FID of 24.08, significantly outperforming DPS (24.02 dB / 34.56 FID). Qualitatively, the method produces images with realistic textures and fewer artifacts, particularly in fine details like hair and skin.
Conclusion
DiffECC represents a significant step forward in making diffusion-based image restoration practical. By combining a warm-start initialization with iterative error correction, it bypasses the slow and error-prone early stages of traditional diffusion solvers. While the method currently relies on knowing the forward degradation operator and the quality of the initial CNN estimate, its speed and accuracy set a new benchmark for the field. Future work may extend this framework to "blind" restoration where the degradation process is unknown, further broadening its applicability to real-world scenarios.
Summary updated