Rethinking Deep Face Restoration

Yang Zhao, Yu-Chuan Su, Chun-Te Chu, Yandong Li, Marius Renn, Yukun Zhu, Changyou Chen, Xuhui Jia

Abstract

Face restoration models frequently encounter an "identity crisis," where they generate high-quality, realistic faces that fail to faithfully represent the original subject. This research proposes a novel architecture designed to balance realistic generation with faithful reconstruction. By utilizing feature quantization, gated fusion, and a new identity-aware metric (iPrecision/iRecall), the proposed method achieves state-of-the-art performance in preserving subject identity during restoration.

Introduction: The Generation-Reconstruction Trade-off

Deep learning, particularly through Generative Adversarial Networks (GANs), has significantly advanced the field of face restoration. However, these models face a fundamental conflict between generation—the ability to produce a high-quality human face—and reconstruction—the ability to match the specific features of the input subject.

Existing models often prioritize generation, leading to "hallucinated" features such as altered eye colors, skin textures, or facial structures. This lack of fidelity is a critical failure for applications requiring accurate identification. The authors argue that this occurs due to an imbalance between the model's generative prior (general knowledge of faces) and the encoder features (specific details from the degraded input).

Methodology

The proposed architecture introduces four key improvements to the standard U-Net restoration framework:

  1. Adaptive Conditional Noise: Inspired by StyleGAN2, stochastic noise is injected into the decoder. This allows the model to handle the non-deterministic nature of restoration—where one blurry pixel could represent multiple high-quality interpretations—without making the reconstruction overly rigid.
  2. Feature Quantization: To mitigate the "garbage in, garbage out" effect, the model employs a learned codebook of high-quality facial features. Encoder features are matched to the nearest high-quality entry in this codebook, effectively filtering out degradation artifacts before they reach the decoder.
  3. Linear Gated Feature Fusion (LGF): Rather than simple concatenation, the LGF module adaptively weights encoder and decoder features based on a global confidence score, deciding how much to trust the input versus the generated prior.
  4. Skip Connection Balancing: The authors optimized the number of skip connections, finding that excessive connections at low resolutions can force the model to rely too heavily on degraded input, hindering the generation of fine details.

Identity-Aware Evaluation

Standard metrics like PSNR (pixel-wise similarity) and FID (distribution similarity) often fail to detect when a restored face has become a different person. To address this, the authors introduced iPrecision and iRecall. These metrics utilize a pre-trained face recognition model (such as FaceNet) to determine if a restored image falls within the feature manifold of the specific subject, providing a more accurate measure of identity preservation.

Key Results and Discussion

The model was trained on the FFHQ and CelebA-HQ datasets using a complex synthetic degradation pipeline. It consistently outperformed existing state-of-the-art (SOTA) methods like GFPGAN and GPEN in both Blind Face Restoration (BFR) and Super-Resolution (SR) tasks.

Qualitative comparison of the proposed method against SOTA techniques, showing superior detail and identity preservation.

Quantitatively, the model achieved a significantly lower FID (18.87) compared to the next best competitor (25.87). Most notably, in 8x Super-Resolution tasks, the proposed model reached an iPrecision of 0.980, vastly exceeding GPEN (0.732) and GFPGAN (0.687). A blind user study further validated these results, with human raters preferring the proposed model's output 86.4% of the time.

Conclusion

By rethinking the integration of generative priors and encoder features, this work provides a robust solution to the identity preservation problem in face restoration. While the model currently relies on synthetic training data, future work may explore personalized restoration using reference images or text guidance to further bridge the domain gap in real-world applications.

Summary updated

BibTeX
@inproceedings{zhao2022rethinking,
  author = {Yang Zhao and Yu-Chuan Su and Chun-Te Chu and Yandong Li and Marius Renn and Yukun Zhu and Changyou Chen and Xuhui Jia},
  title = {{Rethinking Deep Face Restoration}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2022},
  doi = {10.1109/cvpr52688.2022.00750},
}
Figure