Skip to main content
QUICK REVIEW

[Paper Review] DifFace: Blind Face Restoration with Diffused Error Contraction

Zongsheng Yue, Chen Change Loy|arXiv (Cornell University)|Dec 13, 2022
Facial Nerve Paralysis Treatment and ResearchMedicine14 citations
TL;DR

DifFace proposes a novel blind face restoration method that leverages a pre-trained diffusion model to infer high-quality face images from low-quality inputs without complex loss functions. By modeling a transition distribution from the low-quality image to an intermediate diffused state and then refining it via the diffusion model's reverse process, DifFace achieves robust performance on unseen, complex degradations with only L1 loss supervision, outperforming state-of-the-art methods in both restoration and inpainting tasks.

ABSTRACT

While deep learning-based methods for blind face restoration have achieved unprecedented success, they still suffer from two major limitations. First, most of them deteriorate when facing complex degradations out of their training data. Second, these methods require multiple constraints, e.g., fidelity, perceptual, and adversarial losses, which require laborious hyper-parameter tuning to stabilize and balance their influences. In this work, we propose a novel method named DifFace that is capable of coping with unseen and complex degradations more gracefully without complicated loss designs. The key of our method is to establish a posterior distribution from the observed low-quality (LQ) image to its high-quality (HQ) counterpart. In particular, we design a transition distribution from the LQ image to the intermediate state of a pre-trained diffusion model and then gradually transmit from this intermediate state to the HQ target by recursively applying a pre-trained diffusion model. The transition distribution only relies on a restoration backbone that is trained with $L_2$ loss on some synthetic data, which favorably avoids the cumbersome training process in existing methods. Moreover, the transition distribution can contract the error of the restoration backbone and thus makes our method more robust to unknown degradations. Comprehensive experiments show that DifFace is superior to current state-of-the-art methods, especially in cases with severe degradations. Code and model are available at https://github.com/zsyOAOA/DifFace.

Motivation & Objective

  • To address the limitations of existing blind face restoration methods that struggle with unseen or complex degradations due to reliance on mismatched degradation models.
  • To eliminate the need for complex, hand-designed loss functions (e.g., adversarial, perceptual) that require extensive hyperparameter tuning.
  • To develop a training-efficient method that leverages pre-trained diffusion model priors without fine-tuning or retraining.
  • To improve robustness to severe degradations by contracting error through a diffused intermediate representation.
  • To achieve strong performance in both blind face restoration and face inpainting using a unified, principled posterior inference framework.

Proposed method

  • DifFace models the posterior distribution p(x₀|y₀) for high-quality face image x₀ given a low-quality input y₀ by introducing a transition distribution p(xₙ|y₀), where xₙ is an intermediate diffused state.
  • The transition distribution is learned via a restoration backbone trained only with L1 loss on synthetic data, enabling efficient and stable training.
  • The method leverages the reverse Markov chain of a pre-trained diffusion model to generate x₀ from xₙ, thereby exploiting rich image priors without retraining.
  • The transition process contracts the residual error between the low-quality input and the high-quality target by applying a diffusion-like process with a scaling factor <1.
  • An optimization strategy with a hyper-parameter γ is introduced during sampling to refine results and improve coherence between masked and unmasked regions in inpainting.
  • The method is accelerated using DDIM sampling, reducing inference time to 20 steps with minimal performance drop, achieving inference speed comparable to CodeFormer.

Experimental results

Research questions

  • RQ1Can a diffusion-based method achieve robust blind face restoration without requiring complex loss functions or retraining the diffusion model?
  • RQ2How effective is the transition distribution in contracting error and improving robustness to unseen degradations?
  • RQ3Can the method generalize well to real-world, complex degradations not seen during training?
  • RQ4How does the proposed optimization strategy with hyper-parameter γ affect the coherence of generated results in face inpainting?
  • RQ5To what extent can inference speed be improved without sacrificing restoration quality?

Key findings

  • DifFace outperforms state-of-the-art methods on both blind face restoration and face inpainting, especially under severe degradations and large occlusions.
  • On the CelebA-Test dataset, DifFace achieves competitive inference speed—0.92s with 20 DDIM steps—placing it between DFDNet and CodeFormer in speed while matching CodeFormer’s performance.
  • The method shows superior robustness to complex degradations, maintaining high perceptual quality and structural coherence where GAN-based methods fail.
  • The use of a single L1 loss for training the restoration backbone significantly simplifies the training pipeline compared to multi-loss approaches.
  • The optimization strategy with γ effectively reduces incoherence between masked and unmasked regions, especially when γ > 0.
  • The method maintains strong performance even when the degradation model is mismatched, demonstrating generalization to real-world data.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.