TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/Towards Robust Blind Face Restoration with Codebook Lookup...

Towards Robust Blind Face Restoration with Codebook Lookup Transformer

Shangchen Zhou, Kelvin C. K. Chan, Chongyi Li, Chen Change Loy

2022-06-22Blind Face RestorationPrediction
PaperPDFCode(official)

Abstract

Blind face restoration is a highly ill-posed problem that often requires auxiliary guidance to 1) improve the mapping from degraded inputs to desired outputs, or 2) complement high-quality details lost in the inputs. In this paper, we demonstrate that a learned discrete codebook prior in a small proxy space largely reduces the uncertainty and ambiguity of restoration mapping by casting blind face restoration as a code prediction task, while providing rich visual atoms for generating high-quality faces. Under this paradigm, we propose a Transformer-based prediction network, named CodeFormer, to model the global composition and context of the low-quality faces for code prediction, enabling the discovery of natural faces that closely approximate the target faces even when the inputs are severely degraded. To enhance the adaptiveness for different degradation, we also propose a controllable feature transformation module that allows a flexible trade-off between fidelity and quality. Thanks to the expressive codebook prior and global modeling, CodeFormer outperforms the state of the arts in both quality and fidelity, showing superior robustness to degradation. Extensive experimental results on synthetic and real-world datasets verify the effectiveness of our method.

Results

TaskDatasetMetricValueModel
Blind Face RestorationLFWFID49.96GFP-GAN
Blind Face RestorationLFWFID51.89PSFRGAN
Blind Face RestorationLFWFID52.02CodeFormer
Blind Face RestorationLFWFID53.49GLEAN
Blind Face RestorationLFWFID57.58GPEN
Blind Face RestorationLFWFID62.57DFDNet
Blind Face RestorationLFWFID64.86PULSE
Blind Face RestorationCelebA-TestFID60.62CodeFormer
Blind Face RestorationCelebA-TestIDS60CodeFormer
Blind Face RestorationCelebA-TestLPIPS29.9CodeFormer
Blind Face RestorationCelebA-TestPSNR22.18CodeFormer
Blind Face RestorationCelebA-TestSSIM0.61CodeFormer
Blind Face RestorationWIDERFID39.06CodeFormer
Blind Face RestorationWIDERFID40.59GFP-GAN
Blind Face RestorationWIDERFID46.99GPEN
Blind Face RestorationWIDERFID47.11GLEAN
Blind Face RestorationWIDERFID51.16PSFRGAN
Blind Face RestorationWIDERFID57.84DFDNet
Blind Face RestorationWIDERFID73.59PULSE

Related Papers

Multi-Strategy Improved Snake Optimizer Accelerated CNN-LSTM-Attention-Adaboost for Trajectory Prediction2025-07-21Generative Click-through Rate Prediction with Applications to Search Advertising2025-07-15Conformation-Aware Structure Prediction of Antigen-Recognizing Immune Proteins2025-07-11Foundation models for time series forecasting: Application in conformal prediction2025-07-09Predicting Graph Structure via Adapted Flux Balance Analysis2025-07-08Speech Quality Assessment Model Based on Mixture of Experts: System-Level Performance Enhancement and Utterance-Level Challenge Analysis2025-07-08A Wireless Foundation Model for Multi-Task Prediction2025-07-08High Order Collaboration-Oriented Federated Graph Neural Network for Accurate QoS Prediction2025-07-07