RestoreFormer: High-Quality Blind Face Restoration from Undegraded Key-Value Pairs

Zhouxia Wang, Jiawei Zhang, Runjian Chen, Wenping Wang, Ping Luo
1/17/2022
cs.CV
transformer-attention

Official code: wzhouxiff/RestoreFormer (367 stars, Python, Apache-2.0, PyTorch, last commit 2024-06-10).

Abstract

Blind face restoration is to recover a high-quality face image from unknown degradations. As face image contains abundant contextual information, we propose a method, RestoreFormer, which explores fully-spatial attentions to model contextual information and surpasses existing works that use local operators.

Show full abstract

RestoreFormer has several benefits compared to prior arts. First, unlike the conventional multi-head self-attention in previous Vision Transformers (ViTs), RestoreFormer incorporates a multi-head cross-attention layer to learn fully-spatial interactions between corrupted queries and high-quality key-value pairs. Second, the key-value pairs in ResotreFormer are sampled from a reconstruction-oriented high-quality dictionary, whose elements are rich in high-quality facial features specifically aimed for face reconstruction, leading to superior restoration results. Third, RestoreFormer outperforms advanced state-of-the-art methods on one synthetic dataset and three real-world datasets, as well as produces images with better visual quality.

View on arXivView PDF

Code Implementations(1)

PyTorchApache-2.0

[CVPR 2022] RestoreFormer: High-Quality Blind Face Restoration from Undegraded Key-Value Pairs

36739Python, ShellMar 18, 20222 years agoApache-2.0
dictionaryface-restorationpytorchtransformer

Similar Papers

Cite this paper

@article{wang2022restoreformer,
  title  = {RestoreFormer: High-Quality Blind Face Restoration from Undegraded Key-Value Pairs},
  author = {Zhouxia Wang and Jiawei Zhang and Runjian Chen and Wenping Wang and Ping Luo},
  year   = {2022},
  eprint = {2201.06374},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2201.06374}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2201.06374.svg)](https://codeofpaper.com/paper/2201.06374)

Discussion