[Paper Review] MoE-FFD: Mixture of Experts for Generalized and Parameter-Efficient Face Forgery Detection
MoE-FFD proposes a parameter-efficient, generalized face forgery detection method using Mixture-of-Experts (MoE) with frozen Vision Transformers (ViT) and lightweight LoRA/Adapter adapters. By dynamically selecting optimal forgery experts in LoRA and Adapter modules, it achieves state-of-the-art AUC performance on CelebDF-v2 with minimal parameter updates, enhancing both robustness and generalization while preserving ImageNet pretraining knowledge.
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.
Motivation & Objective
- To address the high computational cost and limited generalizability of fully fine-tuned ViT-based face forgery detectors.
- To improve detection robustness by capturing both global transformer-level representations and local forgery artifacts via hybrid CNN-Transformer design.
- To enable efficient adaptation to diverse deepfake datasets without retraining the ViT backbone.
- To dynamically select optimal forgery experts using MoE modules, enhancing model capacity and generalization.
- To achieve state-of-the-art detection performance with minimal parameter updates through parameter-efficient fine-tuning (PEFT).
Proposed method
- Integrates Low-Rank Adaptation (LoRA) and Convpass Adapter layers as lightweight, trainable heads on top of a frozen ViT backbone.
- Employs MoE modules in both LoRA and Adapter components to dynamically route input samples to the most relevant experts.
- Uses a gating network with an MoE loss to encourage balanced expert usage and prevent overfitting to a few experts.
- Leverages the long-range modeling of ViT for global forgery patterns and the local feature sensitivity of CNN-based adapters for fine-grained anomalies.
- Applies a plug-and-play training scheme where only LoRA and Adapter parameters are updated, preserving ImageNet pretraining weights.
- Designs a dual-expert selection mechanism: one for LoRA (global representation) and one for Adapter (local artifacts), enabling complementary feature learning.
Experimental results
Research questions
- RQ1Can a parameter-efficient fine-tuning strategy with frozen ViT backbone achieve superior generalization in face forgery detection?
- RQ2Can MoE-based expert selection in LoRA and Adapter modules improve detection performance while maintaining low parameter overhead?
- RQ3Does combining global transformer-level representations with local CNN priors enhance robustness across diverse deepfake datasets?
- RQ4How does dynamic expert selection in MoE modules compare to static or ensemble-based expert aggregation in terms of efficiency and accuracy?
- RQ5To what extent does the MoE loss mitigate gate overfitting and improve expert diversity in forgery detection?
Key findings
- MoE-FFD achieves the highest AUC score on the CelebDF-v2 dataset among all compared methods, outperforming existing SOTA models.
- The method reduces parameter updates by over 99% compared to full fine-tuning, achieving state-of-the-art performance with minimal activated parameters.
- MoE-FFD demonstrates a 1.28× speedup in training and 1.23× speedup in inference compared to Multi-Experts, while maintaining superior detection accuracy.
- Grad-CAM visualization confirms that MoE-FFD focuses attention on manipulated facial regions, unlike the baseline ViT model, which often attends to irrelevant areas.
- T-SNE feature visualization shows that MoE-FFD produces more discriminative feature distributions between real and fake faces than the ViT baseline.
- Ablation studies confirm that the MoE loss effectively prevents gate overfitting and promotes balanced expert usage, leading to improved generalization.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.