Timezone: »
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 \textit{blind face restoration} as a \textit{code prediction} task, while providing rich visual atoms for generating high-quality faces. Under this paradigm, we propose a Transformer-based prediction network, named \textit{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, \textit{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.
Author Information
Shangchen Zhou (Nanyang Technological University)
Kelvin Chan (Nanyang Technological University)
Chongyi Li ( Nanyang Technological University)
Chen Change Loy (Nanyang Technological University)
More from the Same Authors
-
2022 Spotlight: Deep Fourier Up-Sampling »
man zhou · Hu Yu · Jie Huang · Feng Zhao · Jinwei Gu · Chen Change Loy · Deyu Meng · Chongyi Li -
2022 Spotlight: Lightning Talks 2B-1 »
Yehui Tang · Jian Wang · Zheng Chen · man zhou · Peng Gao · Chenyang Si · SHANGKUN SUN · Yixing Xu · Weihao Yu · Xinghao Chen · Kai Han · Hu Yu · Yulun Zhang · Chenhui Gou · Teli Ma · Yuanqi Chen · Yunhe Wang · Hongsheng Li · Jinjin Gu · Jianyuan Guo · Qiman Wu · Pan Zhou · Yu Zhu · Jie Huang · Chang Xu · Yichen Zhou · Haocheng Feng · Guodong Guo · yongbing zhang · Ziyi Lin · Feng Zhao · Ge Li · Junyu Han · Jinwei Gu · Jifeng Dai · Chao Xu · Xinchao Wang · Linghe Kong · Shuicheng Yan · Yu Qiao · Chen Change Loy · Xin Yuan · Errui Ding · Yunhe Wang · Deyu Meng · Jingdong Wang · Chongyi Li -
2022 Poster: Deep Fourier Up-Sampling »
man zhou · Hu Yu · Jie Huang · Feng Zhao · Jinwei Gu · Chen Change Loy · Deyu Meng · Chongyi Li -
2022 Poster: AnimeRun: 2D Animation Visual Correspondence from Open Source 3D Movies »
Li Siyao · Yuhang Li · Bo Li · Chao Dong · Ziwei Liu · Chen Change Loy -
2022 Poster: Flare7K: A Phenomenological Nighttime Flare Removal Dataset »
Yuekun Dai · Chongyi Li · Shangchen Zhou · Ruicheng Feng · Chen Change Loy -
2020 Poster: Cross-Scale Internal Graph Neural Network for Image Super-Resolution »
Shangchen Zhou · Jiawei Zhang · Wangmeng Zuo · Chen Change Loy -
2020 Poster: CoADNet: Collaborative Aggregation-and-Distribution Networks for Co-Salient Object Detection »
Qijian Zhang · Runmin Cong · Junhui Hou · Chongyi Li · Yao Zhao -
2018 Poster: Non-Local Recurrent Network for Image Restoration »
Ding Liu · Bihan Wen · Yuchen Fan · Chen Change Loy · Thomas Huang