Lessons from benchmarking Xception and EfficientNet-B4 on FaceForensics++ with paired bootstrap testing.

The Problem

Most deepfake detectors look great on paper—until they face a manipulation method they weren't trained on, or a video compressed by social media. In my research project DeepScan (GitHub), I tested two standard backbones—Legacy Xception (299×299) and EfficientNet-B4 (380×380)—on FaceForensics++ (c23) using strict video-level splits (720 train / 140 val / 140 test) to prevent identity leakage.

1. Ensembling Beats Single Models (Statistically)

On in-domain test videos (N = 698), both models performed strongly:

  • Legacy Xception: 0.985 AUC | 0.059 EER
  • EfficientNet-B4: 0.983 AUC | 0.056 EER
  • Probability Average Fusion: 0.989 AUC | 0.044 EER
  • Learned Logistic Regression Fusion: 0.987 AUC | 0.049 EER

Using paired bootstrap testing (B = 2,000 resamples), ensemble fusion beat the best single model by +0.0021 AUC (95% CI: [+0.0001, +0.0045], p < 0.05), outperforming it in 98.35% of resamples.

2. The Generalization Gap (LOCO Evaluation)

When holding out one manipulation type at a time:

  • EfficientNet-B4 transferred +4.7% better on average than Xception (0.733 vs 0.686 mean held-out AUC).
  • FaceSwap caused severe domain collapse (0.414–0.477 AUC), because 3D mesh-warping artifacts don't transfer from autoencoder/GAN pipelines.

3. Why Grad-CAM Matters

Grad-CAM heatmaps showed why ensembling works: Xception locks onto sharp blending seams around the jawline/eyes, while EfficientNet-B4 spreads attention across broader facial texture. Combining them captures both.

Key Takeaway: High in-domain AUC isn't enough—cross-manipulation testing and perturbation robustness are essential before deploying any forensic detector.