Face-swapping models have been drawing attention for their compelling generation quality, but their complex architectures and loss functions often require careful tuning for successful training. We propose a new face-swapping model called `Smooth-Swap', which excludes complex handcrafted designs and allows fast and stable training. The main idea of Smooth-Swap is to build smooth identity embedding that can provide stable gradients for identity change. Unlike the one used in previous models trained for a purely discriminative task, the proposed embedding is trained with a supervised contrastive loss promoting a smoother space. With improved smoothness, Smooth-Swap suffices to be composed of a generic U-Net-based generator and three basic loss functions, a far simpler design compared with the previous models. Extensive experiments on face-swapping benchmarks (FFHQ, FaceForensics++) and face images in the wild show that our model is also quantitatively and qualitatively comparable or even superior to the existing methods.
Fine-Grained Face Swapping via Regional GAN Inversion
Tencent AI Lab(腾讯人工智能实验室);Tsinghua Shenzhen International Graduate School(清华大学深圳国际研究生院);South China University of Technology(华南理工大学)
我们提出了一个新的范例高保真人脸交换,忠实地保留所需的微妙的几何形状和纹理细节。我们重新思考人脸交换的角度来看,细粒度的人脸编辑,\textit{i.e., ``editing for swapping'' (E4S)},并提出了一个框架,是基于明确的解开的形状和纹理的面部组件。遵循E4S原则,我们的框架可以实现面部特征的全局和局部交换,以及控制用户指定的部分交换量。此外,E4S范例固有地能够通过面罩来处理面部遮挡。在我们的系统的核心在于一个新的区域GAN反演(RGI)方法,它允许明确的形状和纹理的解纠缠。它还允许在StyleGAN的潜在空间中执行人脸交换。具体来说,我们设计了一个多尺度的面具引导编码器,每个面部组件的纹理投影到区域风格代码。我们还设计了一个掩码引导的注入模块来操纵的特征图与样式代码。在此基础上,将人脸交换转化为一个简化的风格和掩码交换问题。与当前最先进的方法进行了大量的实验和比较,证明了我们的方法在保留纹理和形状细节以及处理高分辨率图像方面的优越性。项目页面为http://e4s2022.github.io
Assessing the Use of Face Swapping Methods as Face Anonymizers in Videos
Department of Computer Engineering, Istanbul Technical University, Istanbul, Turkiye(伊斯坦布尔技术大学计算机工程系);Division of Engineering, NYU Abu Dhabi, Abu Dhabi, UAE(纽约大学阿布扎比分校工程系)
Towards High Fidelity Face Swapping: A Comprehensive Survey and New Benchmark
School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院);Nanyang Technological University(南洋理工大学);Yonsei University(延世大学)