Abstract
Blind Face Restoration (BFR) is a challenging task that involves recovering high-quality facial images from inputs suffering from severe degradations like blur, noise, and downsampling. While generative priors from models like StyleGAN have shown promise, they often fail to maintain identity or reconstruct fine textures under heavy degradation. This paper introduces a novel framework that utilizes Diffusion Models (DMs) to generate "visual style prompts" in the StyleGAN latent space. These prompts provide interpretable guidance for a restoration network equipped with Style-Modulated AggRegation Transformation (SMART) layers. The proposed method achieves state-of-the-art performance on both synthetic and real-world datasets while maintaining high inference efficiency.
Introduction
The goal of BFR is to restore facial details from images with unknown degradations. Current approaches typically rely on geometric or generative priors. However, severe degradation can lead to incorrect prior estimation, resulting in "uncanny valley" artifacts or loss of identity. Existing prompt-based methods often use abstract embeddings that lack interpretability and fail to provide explicit guidance for texture reconstruction. This research addresses these issues by leveraging the generative power of diffusion models within a latent space to guide the restoration process.
Methodology
The proposed framework consists of two primary components: a Diffusion-based Style Prompt Module and a Restoration Network with SMART layers.
- Diffusion-based Style Prompt Module: Instead of computationally expensive pixel-space diffusion, the authors perform diffusion in the StyleGAN $W+$ latent space. A style encoder maps the degraded image to an initial latent code, which is then refined by a "Code Diffuser" through a denoising process. The resulting clean latent code ($w^0$) serves as a visual style prompt, offering an interpretable guide for restoration.
- Restoration Network with SMART Layers: The SMART layer utilizes these visual prompts to dynamically adjust convolutional kernels. By employing multiple dilation rates (1, 2, 4, and 8), the layer captures both local details and global structures, allowing the network to adapt to varying levels of degradation across the face.
Results and Discussion
The model was evaluated on synthetic (CelebA-Test) and real-world (LFW-Test, CelebChild-Test, WebPhoto-Test) datasets. It achieved a state-of-the-art mean rank of 3.67 across eight metrics on real-world data, outperforming models like CodeFormer and RestoreFormer++. On CelebA-Test, it reached an FID of 11.76, significantly lower than many GAN-based predecessors.
A key advantage is efficiency; the latent-space diffusion allows for an inference time of 81ms per image, significantly faster than pixel-based diffusion methods like PGDiff (92s). Furthermore, the visual prompts are interpretable, as they can be visualized through the StyleGAN generator to inspect the guidance provided to the network. Downstream applications also benefit, with facial landmark detection success rates reaching 100% after restoration.
Conclusion
This work demonstrates the effectiveness of latent-space diffusion for generating visual prompts in BFR. By combining generative diffusion priors with adaptive SMART layers, the model recovers fine facial details while maintaining high inference speeds. While the model excels at facial restoration, future work could address challenges in complex background handling and extend the framework to video restoration.
Summary updated