Skip to main content
QUICK REVIEW

[Paper Review] VQFR: Blind Face Restoration with Vector-Quantized Dictionary and Parallel Decoder

Yuchao Gu, Xintao Wang|arXiv (Cornell University)|May 13, 2022
Face recognition and analysisComputer Science7 citations
TL;DR

VQFR proposes a blind face restoration method using a vector-quantized (VQ) codebook as a high-quality facial detail dictionary and a parallel decoder with a texture warping module to preserve identity and facial fidelity. By learning a comprehensive low-level feature bank end-to-end and fusing input features without contaminating generated details, VQFR achieves state-of-the-art performance in facial detail realism and fidelity on both synthetic and real-world benchmarks.

ABSTRACT

Although generative facial prior and geometric prior have recently demonstrated high-quality results for blind face restoration, producing fine-grained facial details faithful to inputs remains a challenging problem. Motivated by the classical dictionary-based methods and the recent vector quantization (VQ) technique, we propose a VQ-based face restoration method - VQFR. VQFR takes advantage of high-quality low-level feature banks extracted from high-quality faces and can thus help recover realistic facial details. However, the simple application of the VQ codebook cannot achieve good results with faithful details and identity preservation. Therefore, we further introduce two special network designs. 1). We first investigate the compression patch size in the VQ codebook and find that the VQ codebook designed with a proper compression patch size is crucial to balance the quality and fidelity. 2). To further fuse low-level features from inputs while not "contaminating" the realistic details generated from the VQ codebook, we proposed a parallel decoder consisting of a texture decoder and a main decoder. Those two decoders then interact with a texture warping module with deformable convolution. Equipped with the VQ codebook as a facial detail dictionary and the parallel decoder design, the proposed VQFR can largely enhance the restored quality of facial details while keeping the fidelity to previous methods.

Motivation & Objective

  • To address the challenge of restoring fine-grained facial details in blind face restoration under unknown degradations.
  • To overcome the limitations of existing methods that fail to preserve identity and generate realistic textures, especially in hair and delicate facial components.
  • To develop a VQ-based facial detail dictionary that captures comprehensive low-level features across all facial regions, not just isolated components.
  • To design a parallel decoder with a texture warping module that fuses input features and VQ-generated textures without degrading realism or fidelity.
  • To achieve a balance between perceptual quality and identity preservation in real-world, complex degradation scenarios.

Proposed method

  • The VQ codebook is trained end-to-end to learn a high-quality facial detail dictionary from high-resolution faces, using a compression patch size of f=32 for optimal quality-fidelity trade-off.
  • A parallel decoder architecture is introduced, consisting of a main decoder and a texture decoder, which process input features and VQ-generated features separately before fusion.
  • The texture warping module uses deformable convolutions to dynamically align high-frequency details from the VQ codebook with the degraded input's spatial structure.
  • Input features from the degraded image are fused with the VQ-generated features at multiple decoder stages to preserve identity and expression accuracy.
  • The model is trained with a combination of perceptual, adversarial, and reconstruction losses to enhance realism and detail fidelity.
  • The VQ codebook is optimized to represent facial patches in a discrete latent space, enabling efficient and robust feature retrieval for detail restoration.

Experimental results

Research questions

  • RQ1Can a vector-quantized codebook trained end-to-end serve as an effective facial detail dictionary that improves restoration realism beyond component-specific dictionaries?
  • RQ2How does the choice of compression patch size in the VQ codebook affect the trade-off between visual quality and identity fidelity?
  • RQ3Can a parallel decoder architecture effectively combine low-level input features and high-quality VQ-generated features without degrading detail quality?
  • RQ4Does the texture warping module with deformable convolutions improve alignment between restored details and input geometry, especially under severe degradations?
  • RQ5To what extent can VQFR generalize to real-world datasets with complex, unknown degradations while maintaining high perceptual quality and identity preservation?

Key findings

  • VQFR achieves a FID of 41.28 on CelebA-Test, outperforming GFP-GAN and DFDNet in both perceptual quality and identity fidelity.
  • The model reduces landmark distance to 2.43, indicating strong preservation of facial expression and structure, comparable to GFP-GAN.
  • With the parallel decoder and texture warping module, VQFR reduces NIQE to 3.693, indicating superior high-frequency detail recovery compared to baseline variants.
  • On real-world datasets (LFW-Test, CelebChild-Test, WebPhoto-Test), VQFR shows significant gains in perceptual quality and realism, outperforming PULSE and GFP-GAN in fidelity.
  • Ablation studies confirm that input features and the parallel decoder are critical: removing them leads to a 10% increase in landmark distance and loss of fine details.
  • The VQ codebook with f=32 achieves the best balance between realism and fidelity, as larger patch sizes degrade identity preservation despite better visual quality.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.