CLR-Face: Conditional Latent Refinement for Blind Face Restoration Using Score-Based Diffusion Models

Maitreya Suin, Rama Chellappa

Abstract

Blind Face Restoration (BFR) aims to recover high-quality facial images from low-quality inputs affected by complex, unknown degradations. Current state-of-the-art methods often struggle with a trade-off between perceptual quality and identity fidelity. We present CLR-Face, a novel framework that performs iterative refinement in a high-resolution latent space using score-based diffusion models. By utilizing a mildly compressed VQGAN ($f=4$) and a learnable latent mask for identity guidance, CLR-Face achieves superior restoration results. Our method significantly outperforms existing GAN and VQ-based approaches in both visual realism and identity preservation, as evidenced by state-of-the-art performance on CelebA-Test and real-world benchmarks.

Introduction

Blind Face Restoration (BFR) is a challenging task due to the variety of degradations such as blur, noise, and compression. Existing solutions generally fall into two categories: GAN-based methods, which produce sharp but often unfaithful results, and VQ-based methods, which are robust but suffer from detail loss due to heavy latent compression (typically $f=32$). CLR-Face addresses these limitations by operating in a less-compressed latent space ($f=4$), preserving more spatial detail while leveraging the generative power of diffusion models to navigate the resulting high-dimensional complexity.

Methodology

The CLR-Face architecture integrates three core innovations to balance fidelity and quality:

High-Resolution Latent Space

Unlike traditional VQ-based methods that downsample images by a factor of 32, CLR-Face employs a VQGAN backbone with a compression factor of $f=4$ and a large codebook ($K=8192$). This preserves significantly more fine-grained spatial information, which is crucial for high-fidelity restoration.

Score-Based Diffusion Prior

To effectively model the complex distribution of the $f=4$ latent space, we use a score-based diffusion model. A denoising UNet iteratively refines the latent embeddings by following the gradient of the data distribution. This approach provides the generative flexibility of diffusion models while being approximately 20 times faster than pixel-space diffusion.

Identity-Guided Refinement

To maintain identity consistency, we introduce an Identity Recovery Network (IRN, labeled as CEN in diagrams) and a learnable latent mask ($M_l$). The IRN provides a coarse identity estimate, while the learnable mask identifies specific latent features critical for identity. Identity-based gradients are applied selectively to these masked features, preventing the identity loss from conflicting with the generative prior and ensuring high perceptual quality.

Overview of the CLR-Face inference and training pipelines.

Experiments and Results

We evaluated CLR-Face on the FFHQ dataset for training and several benchmarks for testing, including CelebA-Test and real-world datasets like WebPhoto-Test and WIDER Face.

Quantitative Performance

CLR-Face achieved state-of-the-art results on the CelebA-Test benchmark, reaching an FID of 46.15 and an LPIPS of 0.1868. These metrics indicate a superior balance of image quality and reconstruction accuracy compared to competitors like DifFace and CodeFormer.

Identity Preservation and Downstream Utility

In extreme upscaling scenarios ($16 \times 16$ to $512 \times 512$), CLR-Face maintained the highest identity cosine similarity (IDS). Furthermore, on the TURB dataset (atmospheric turbulence), faces restored by CLR-Face yielded the highest accuracy in automated face recognition tasks (Top-1 accuracy of 34/68), demonstrating its practical utility for forensic applications.

Conclusion

CLR-Face successfully bridges the gap between high-quality generation and faithful identity preservation in Blind Face Restoration. By performing score-based diffusion in a mildly compressed latent space and employing guided disentanglement via a learnable mask, it sets a new standard for the field. Future work will focus on improving inference speed through knowledge distillation and reducing dependency on external face recognition networks.

Summary updated

BibTeX
@inproceedings{suin2024clr,
  author = {Maitreya Suin and Rama Chellappa},
  title = {{CLR-Face: Conditional Latent Refinement for Blind Face Restoration Using Score-Based Diffusion Models}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2024},
}
Figure