[论文解读] End-to-end Face-swapping via Adaptive Latent Representation Learning
本文提出 FS-ALL,一种端到端的人脸替换框架,通过多任务双空间编码器与自适应潜在码交换模块,整合了面部区域感知、自适应潜在码选择及内部融合。通过消除外部分割掩码并实现动态潜在码选择,该方法在身份保留与属性保真度方面表现卓越,在定性和定量基准测试中均优于当前最先进方法。
Taking full advantage of the excellent performance of StyleGAN, style transfer-based face swapping methods have been extensively investigated recently. However, these studies require separate face segmentation and blending modules for successful face swapping, and the fixed selection of the manipulated latent code in these works is reckless, thus degrading face swapping quality, generalizability, and practicability. This paper proposes a novel and end-to-end integrated framework for high resolution and attribute preservation face swapping via Adaptive Latent Representation Learning. Specifically, we first design a multi-task dual-space face encoder by sharing the underlying feature extraction network to simultaneously complete the facial region perception and face encoding. This encoder enables us to control the face pose and attribute individually, thus enhancing the face swapping quality. Next, we propose an adaptive latent codes swapping module to adaptively learn the mapping between the facial attributes and the latent codes and select effective latent codes for improved retention of facial attributes. Finally, the initial face swapping image generated by StyleGAN2 is blended with the facial region mask generated by our encoder to address the background blur problem. Our framework integrating facial perceiving and blending into the end-to-end training and testing process can achieve high realistic face-swapping on wild faces without segmentation masks. Experimental results demonstrate the superior performance of our approach over state-of-the-art methods.
研究动机与目标
- 解决依赖预训练分割掩码和固定潜在码选择的多阶段人脸替换流水线的局限性。
- 提升在主体无关人脸替换中身份一致性与属性保真度(如表情、肤色等)。
- 通过实现对未见人脸对的泛化能力,消除对目标特定微调的需求。
- 将面部感知与融合过程整合进端到端训练流程,以提升真实感并减少伪影。
- 开发一个统一框架,同时完成人脸编码、区域感知与自适应潜在码操作。
提出的方法
- 一个多任务双空间人脸编码器利用共享的特征提取主干网络,联合执行面部区域感知与姿态(P)和属性(A)潜在码的独立编码。
- 双空间编码实现了对人脸姿态与属性的解耦控制,提升了表示鲁棒性与替换质量。
- 一个自适应潜在码交换(ALS)模块使用可学习网络测量并选择各层中的最优潜在码,替代固定选择策略。
- ALS 模块采用基于 Transformer 的面部属性保持模块,在码融合过程中保留关键属性。
- 该框架使用 StyleGAN2 作为解码器,从融合后的潜在码生成初始人脸替换图像。
- 一个内部面部融合模块将生成图像与编码器输出的掩码结合,以解决背景模糊问题并提升真实感。
实验结果
研究问题
- RQ1端到端框架是否能在不依赖外部分割掩码的前提下,维持高真实感与属性保真度?
- RQ2与 GAN 基于人脸替换中的固定选择策略相比,潜在码的自适应选择在属性保留方面有何改进?
- RQ3通过联合执行区域感知与解耦潜在编码,共享的多任务编码器在多大程度上提升了人脸表征学习?
- RQ4将融合过程整合进端到端训练流程是否能减少伪影并提升背景一致性?
- RQ5在真实世界人脸数据集上,该方法在身份迁移与属性保留方面与当前最先进方法相比表现如何?
主要发现
- FS-ALL 在 FaceForensics++ 上实现了最高的身份检索得分(90.23%),优于 FaceShifter(88.46%)与 DeepFake(80.54%),表明其具有更优的身份迁移能力。
- 该方法在 FaceForensics++ 上的姿态误差为 3.10,表情误差为 2.84,尽管表情保真度略有下降,但仍表现出强大的属性保留能力。
- MDE 组件提升了重建质量,FID 达到 35.17,失败率仅为 1.73%,在重建成功率与细节保留方面优于基线编码器。
- ALS 模块增强了属性保留能力,将表情误差从 3.35(无 ALS)降低至 2.70,同时提升图像质量(FID 从 16.61 降至 15.59)。
- 定性结果表明,FS-ALL 即使在挑战性场景(如被遮挡的眼睛、复杂光照)下也能成功完成身份替换,且伪影少于 DeepFake、FaceSwap 与 FaceShifter。
- 该框架无需分割掩码或后处理融合即可生成高分辨率人脸替换图像,在视觉质量与定量指标上均达到最先进水平。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。