Abstract
Blind Face Restoration (BFR) aims to recover high-quality facial images from degraded inputs. A persistent challenge in this field is the "fidelity-quality trade-off," where models often sacrifice identity accuracy for visual realism or vice versa. This paper introduces CLR-Face, a framework that leverages score-based diffusion models to refine high-resolution latent embeddings. By utilizing a mildly compressed VQGAN latent space ($f=4$) and a specialized Identity Recovery Network (IRN) coupled with a learnable latent mask, CLR-Face achieves superior restoration quality and identity preservation compared to existing state-of-the-art methods.
Introduction
Blind Face Restoration (BFR) is a critical task in computer vision, involving the recovery of clear facial images from inputs suffering from unknown degradations such as blur, noise, and compression artifacts. Traditional methods often rely on generative priors like StyleGAN or VQGAN. However, these methods face a fundamental dilemma: highly compressed latent spaces (e.g., $f=32$) produce smooth but "generic" faces, while less compressed spaces are difficult to optimize, leading to artifacts. CLR-Face proposes to break this deadlock by operating in a high-resolution latent space refined through an iterative diffusion process.
Methodology
The CLR-Face architecture is built upon several key innovations designed to balance perceptual quality with identity fidelity.
Expressive Latent Space and Diffusion
Unlike standard BFR models that use heavy downsampling, CLR-Face employs a VQGAN with a mild compression factor of $f=4$ and a large codebook ($K=8192$). This preserves fine-grained structural details. To navigate this complex space, the authors use a score-based diffusion model. Instead of a single-step prediction, the model iteratively refines a degraded latent embedding $\mathbf{z}_d$ into a clean estimate $\hat{\mathbf{z}}_0$ by following the learned score function of the data distribution.
Identity Preservation
To ensure the restored output remains faithful to the original subject, two components are introduced:
- Identity Recovery Network (IRN): This network provides a coarse initial estimate focused on identity-defining features, which serves as a conditional input for the diffusion process.
- Learnable Latent Mask: A critical contribution is the use of a learnable mask that identifies specific latent features corresponding to identity. During diffusion, gradients from a face-recognition network (e.g., ArcFace) are applied only to these masked features. This "disentanglement" allows the model to optimize for identity without compromising the overall visual realism of the face.
Key Results
CLR-Face was evaluated on both synthetic (CelebA-Test) and real-world datasets (WebPhoto-Test, WIDER Face). It consistently outperformed leading models such as CodeFormer and DifFace.
- Perceptual Metrics: The model achieved state-of-the-art scores in FID (46.15) and LPIPS (0.1868), indicating high visual quality.
- Identity Fidelity: CLR-Face recorded significantly higher Identity Scores (IDS), demonstrating its ability to preserve the subject's unique traits even under extreme degradation.
- Downstream Utility: In face-recognition tests using the TURB dataset, images restored by CLR-Face yielded higher recognition accuracy than those from competing methods.
Conclusion
CLR-Face represents a significant advancement in Blind Face Restoration by successfully integrating score-based diffusion with high-resolution latent representations. The introduction of the learnable latent mask effectively addresses the fidelity-quality trade-off. While the current reliance on an external IRN and the iterative nature of diffusion (approx. 40 steps) present opportunities for further optimization, CLR-Face sets a new benchmark for identity-preserving face restoration.
Summary updated