基于码本变换Transformer的鲁棒盲人脸恢复
Towards Robust Blind Face Restoration with Codebook Lookup Transformer
摘要:
盲人脸恢复是一个高度不适定的问题,通常需要辅助指导,以1)改善从退化输入到期望输出的映射,或2)补充输入中丢失的高质量细节。在本文中,我们证明了在一个小的代理空间中学习的离散码本先验通过将盲脸恢复作为代码预测任务来大大降低恢复映射的不确定性和模糊性,同时为生成高质量的人脸提供丰富的视觉原子。在这种模式下,我们提出了一个基于Transformer的预测网络,名为CodeFormer,用于对代码预测的低质量人脸的全局组成和上下文进行建模,即使在输入严重退化的情况下,也可以发现与目标人脸非常接近的自然人脸。为了提高对不同退化的适应性,我们还提出了一个可控的特征变换模块,允许灵活的保真度和质量之间的权衡。得益于富有表现力的码本先验和全局建模,CodeFormer在质量和保真度方面都优于现有技术,表现出对降级的卓越鲁棒性。在合成数据集和真实数据集上的实验结果验证了该方法的有效性。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。