Introduction
Face restoration aims to recover high-quality (HQ) images from degraded low-quality (LQ) inputs, such as those affected by blur, noise, or heavy compression. While Generative Adversarial Networks (GANs) offer high inference speeds, they frequently suffer from training instability and "mode collapse," resulting in unnatural artifacts. Conversely, recent Diffusion Models have achieved superior image quality but are hindered by a significant "computational tax," requiring dozens or hundreds of iterative steps to generate a single image. OSDFace addresses this efficiency-quality trade-off by introducing a one-step diffusion framework capable of high-fidelity restoration in just 0.1 seconds.
Methodology
The OSDFace framework transitions from iterative denoising to a direct, one-step mapping through three primary components:
One-Step Diffusion (OSD)
Unlike standard diffusion models that begin with pure Gaussian noise, OSDFace initializes the process in the latent space using the LQ image. By performing a single denoising step, it maps the input directly to the HQ target. The model leverages a pre-trained Stable Diffusion UNet, optimized via Low-Rank Adaptation (LoRA) for maximum efficiency.
Visual Representation Embedder (VRE)
A key innovation of OSDFace is the Visual Representation Embedder. Traditional text prompts are often too coarse to guide fine-grained face restoration. The VRE extracts "visual prompts" directly from the LQ input using a Vector-Quantized (VQ) dictionary. This library of learned visual "parts" allows the model to reconstruct complex facial structures even when the original input is heavily degraded.
Identity and Distribution Alignment
To maintain the subject's original identity, the authors incorporate a Facial Identity Loss based on the ArcFace recognition model. Furthermore, a GAN discriminator acts as a guidance model during training, ensuring the output distribution matches real HQ faces and maintaining sharpness during the single-step generation.
Experimental Results
OSDFace was evaluated on standard benchmarks including FFHQ for training and CelebA-Test, Wider-Test, and LFW-Test for evaluation.
Performance and Speed
The model achieves state-of-the-art results while processing a 512×512 image in approximately 0.1 seconds on an NVIDIA A6000 GPU. This represents a massive reduction in computational complexity, utilizing only 2.132 G-MACs compared to the hundreds of thousands required by multi-step diffusion competitors.
Quantitative and Qualitative Superiority
On the CelebA-Test dataset, OSDFace outperformed both GAN-based (e.g., CodeFormer) and multi-step diffusion models (e.g., DiffBIR) in perceptual similarity (LPIPS) and distributional quality (FID). Qualitatively, the model produces more natural hair textures and fewer background artifacts than other one-step approaches.
Conclusion and Limitations
OSDFace demonstrates that the generative power of diffusion models can be harnessed at GAN-like speeds. While highly effective for human faces, the model's reliance on facial priors and pre-trained Stable Diffusion weights suggests that future work could expand its domain to non-human subjects or further simplify the two-stage training process.
Summary updated