DR2: Diffusion-based Robust Degradation Remover for Blind Face Restoration

Zhixin Wang, Xiaoyun Zhang, Ziying Zhang, Huangjie Zheng, Mingyuan Zhou, Ya Zhang, Yanfeng Wang

Abstract

Blind Face Restoration (BFR) aims to recover high-quality face images from inputs with unknown and complex degradations. Traditional methods often struggle with real-world scenarios where the degradation deviates from the synthetic patterns used during training, leading to artifacts or failed restorations. This paper introduces DR2 (Diffusion-based Robust Degradation Remover), a two-stage framework that treats BFR as a "clean-then-enhance" task. By leveraging the generative capabilities of Denoising Diffusion Probabilistic Models (DDPMs), DR2 transforms heavily corrupted images into clean, coarse versions that are invariant to the original degradation type. A subsequent enhancement module then restores high-fidelity details, achieving state-of-the-art performance on severe real-world corruptions.

Introduction

Restoring faces from blurry, noisy, or compressed images—known as Blind Face Restoration—is a challenging inverse problem. The primary difficulty lies in the "blind" nature of the task: the specific degradation process is unknown. Most existing models, such as GFP-GAN or CodeFormer, rely on synthetic training data generated through fixed mathematical pipelines (e.g., combinations of Gaussian blur, downsampling, and JPEG compression).

However, real-world degradation is often far more complex. When these models encounter "unseen" corruption patterns, they frequently produce "hallucinated" artifacts or fail to remove noise effectively. DR2 addresses this by identifying a fundamental gap: restoration networks are typically too sensitive to the specific degradation patterns encountered during training. To bridge this gap, DR2 aims to map various degradations into a unified, clean, but coarse representation before performing final enhancement.

The DR2 Framework

The proposed DR2E (DR2 + Enhancement) pipeline consists of two distinct stages designed to decouple degradation removal from detail restoration.

Stage 1: The Robust Degradation Remover (DR2)

Instead of attempting a direct mapping from a corrupted image to a high-resolution output, DR2 focuses on producing a "clean but coarse" intermediate result. This is achieved through a modified diffusion process:

  1. Diffusion as a Leveler: The framework utilizes a pretrained DDPM. By diffusing the input image—adding controlled Gaussian noise—the model eventually reaches a state where the original degradation (such as JPEG artifacts or complex blur) is effectively "drowned out" by the Gaussian noise.
  2. Iterative Refinement with Low-Frequency Guidance: During the reverse denoising process, the model employs a low-frequency guidance strategy. At each step, the low-frequency components of the denoising state are replaced with those of the diffused input. This ensures that the global structure and identity of the face are preserved while the diffusion model "re-imagines" high-frequency details from scratch, free from the original artifacts.
  3. Truncated Output: To avoid the computational cost of a full diffusion cycle and to prevent the model from generating excessive random details, the denoising process is stopped early at a specific timestep $\tau$. This produces a smooth, artifact-free, but slightly blurry image ($\hat{x}_0$).

Stage 2: Enhancement Module

Because the output of Stage 1 is coarse, a second network (such as SPARNetHD or VQFR) is employed as a "detailer." This module is specifically trained to map the coarse, standardized output of DR2 back to a high-resolution, sharp face. Because the input to this stage is consistently clean, the enhancement module can focus entirely on detail synthesis rather than noise suppression.

Experimental Results

Quantitative Performance

DR2 demonstrates superior robustness on synthetic benchmarks and real-world datasets. On the "Severe" split of the CelebA-Test (16x upsampling), the DR2+VQFR combination achieved an FID of 47.29, a significant improvement over the previous state-of-the-art, CodeFormer, which scored 117.17. The framework consistently achieved top-tier scores in LPIPS (perceptual similarity) and FID (realism) across multiple datasets, including CelebChild and LFW-Test.

Qualitative Robustness

Qualitatively, DR2 excels in scenarios where GAN-based methods fail. On the WIDER-Critical dataset, which features extreme real-world degradation, DR2 produces clean and plausible facial structures. In contrast, competing models often retain original noise or introduce "grid-like" artifacts. The "degradation invariance" provided by the diffusion stage allows the model to handle diverse and heavy corruptions that were not explicitly seen during training.

Key Insights

  • Degradation Invariance: By forcing all degradations to become Gaussian noise through diffusion, the model becomes robust to the source of the original damage.
  • Identity Preservation: Explicitly preserving the low-frequency "skeleton" of the input image during denoising prevents the "identity shift" often seen in pure generative models.
  • Plug-and-Play Compatibility: DR2 is a modular framework. Existing restoration models can be integrated as the "Enhancement Module," boosting their performance on severe cases without requiring them to be retrained on specific degradation types.

Limitations and Future Work

Despite its performance, DR2 has limitations. The iterative nature of diffusion models makes inference slower than single-pass GAN methods. Additionally, the model's performance is sensitive to hyperparameters like the low-frequency filter scale ($N$) and the truncation step ($\tau$), which currently require manual tuning. Future research may focus on automating parameter selection through Image Quality Assessment (IQA) metrics and optimizing the diffusion process for faster inference.

Summary updated

BibTeX
@inproceedings{wang2023dr,
  author = {Zhixin Wang and Xiaoyun Zhang and Ziying Zhang and Huangjie Zheng and Mingyuan Zhou and Ya Zhang and Yanfeng Wang},
  title = {{DR2: Diffusion-based Robust Degradation Remover for Blind Face Restoration}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2023},
}
Figure