[论文解读] MoE-FFD: Mixture of Experts for Generalized and Parameter-Efficient Face Forgery Detection
MoE-FFD 提出了一种参数高效、通用的面部伪造检测方法,采用冻结的视觉Transformer(ViT)与轻量级LoRA/Adapter适配器结合混合专家(MoE)机制。通过在LoRA和Adapter模块中动态选择最优伪造专家,该方法在CelebDF-v2数据集上实现了最先进的AUC性能,同时仅需极少的参数更新,显著提升了模型的鲁棒性与泛化能力,同时保留了ImageNet预训练知识。
Deepfakes have recently raised significant trust issues and security concerns among the public. Compared to CNN face forgery detectors, ViT-based methods take advantage of the expressivity of transformers, achieving superior detection performance. However, these approaches still exhibit the following limitations: (1) Fully fine-tuning ViT-based models from ImageNet weights demands substantial computational and storage resources; (2) ViT-based methods struggle to capture local forgery clues, leading to model bias; (3) These methods limit their scope on only one or few face forgery features, resulting in limited generalizability. To tackle these challenges, this work introduces Mixture-of-Experts modules for Face Forgery Detection (MoE-FFD), a generalized yet parameter-efficient ViT-based approach. MoE-FFD only updates lightweight Low-Rank Adaptation (LoRA) and Adapter layers while keeping the ViT backbone frozen, thereby achieving parameter-efficient training. Moreover, MoE-FFD leverages the expressivity of transformers and local priors of CNNs to simultaneously extract global and local forgery clues. Additionally, novel MoE modules are designed to scale the model's capacity and smartly select optimal forgery experts, further enhancing forgery detection performance. Our proposed learning scheme can be seamlessly adapted to various transformer backbones in a plug-and-play manner. Extensive experimental results demonstrate that the proposed method achieves state-of-the-art face forgery detection performance with significantly reduced parameter overhead. The code is released at: https://github.com/LoveSiameseCat/MoE-FFD.
研究动机与目标
- 解决基于全微调ViT的面部伪造检测方法计算成本高且泛化能力有限的问题。
- 通过融合CNN-Transformer混合架构,捕获全局Transformer级表征与局部伪造痕迹,提升检测鲁棒性。
- 实现在不重训练ViT主干网络的前提下,高效适应多种深度伪造数据集。
- 利用MoE模块动态选择最优伪造专家,增强模型容量与泛化能力。
- 通过参数高效微调(PEFT)实现极少参数更新下的最先进检测性能。
提出的方法
- 在冻结的ViT主干网络之上集成低秩微调(LoRA)和Convpass适配器层,作为轻量级可训练头部。
- 在LoRA和适配器组件中均引入MoE模块,以动态将输入样本路由至最相关的专家。
- 使用门控网络配合MoE损失,以鼓励专家使用均衡,防止对少数专家的过拟合。
- 利用ViT的长程建模能力捕捉全局伪造模式,同时借助基于CNN的适配器对局部特征的敏感性检测细微异常。
- 采用即插即用的训练方案,仅更新LoRA和适配器参数,保留ImageNet预训练权重。
- 设计双专家选择机制:一个用于LoRA(全局表征),一个用于适配器(局部痕迹),实现互补的特征学习。
实验结果
研究问题
- RQ1采用冻结ViT主干网络的参数高效微调策略,能否在面部伪造检测中实现更优的泛化性能?
- RQ2在LoRA和适配器模块中采用基于MoE的专家选择,能否在保持极低参数开销的同时提升检测性能?
- RQ3将全局Transformer级表征与局部CNN先验相结合,能否增强模型在多样化深度伪造数据集上的鲁棒性?
- RQ4与静态或集成式专家聚合方法相比,MoE模块中的动态专家选择在效率与准确性方面表现如何?
- RQ5MoE损失在多大程度上缓解了门控网络的过拟合问题,并提升了专家多样性?
主要发现
- MoE-FFD在CelebDF-v2数据集上的AUC得分最高,优于所有对比方法及现有SOTA模型。
- 与全微调相比,该方法将参数更新量减少超过99%,在仅激活极少参数的情况下实现最先进性能。
- 与Multi-Experts相比,MoE-FFD在训练阶段实现1.28倍加速,推理阶段实现1.23倍加速,同时保持更优的检测准确率。
- Grad-CAM可视化结果表明,MoE-FFD的注意力聚焦于被篡改的面部区域,而基线ViT模型则常关注无关区域。
- T-SNE特征可视化显示,MoE-FFD生成的真假人脸特征分布更具判别性,优于ViT基线模型。
- 消融实验表明,MoE损失有效防止门控网络过拟合,促进专家使用均衡,从而提升泛化能力。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。