A Quality-Centric Framework for Generic Deepfake Detection

Wentang Song, Zhiyuan Yan, Yuzhen Lin, Taiping Yao, Changsheng Chen, Shen Chen, Yandan Zhao, Shouhong Ding, Bin LiarXiv 2024 · DOI

Introduction

Deepfake detection faces a significant generalization challenge. Models trained on specific datasets often fail when encountering forgeries from different sources. This paper identifies "shortcut learning" as the primary culprit: detectors often learn to identify obvious, low-quality artifacts rather than the subtle, high-frequency forgery traces that characterize sophisticated deepfakes. When these models encounter realistic, high-quality deepfakes in the wild, they lack the fine-tuned sensitivity needed to catch them.

The Quality-Centric Approach

To address this, the authors propose a framework that prioritizes high-quality, realistic samples during training. The core of this approach is the Forgery Quality Score (FQS), which ranks samples based on two components:

  1. Static Score ($q$): Measures identity similarity between the fake and original face using a pre-trained ArcFace model. Low similarity indicates an "irregular swap" (e.g., different gender or race), which typically produces easy-to-detect artifacts.
  2. Dynamic Score ($d_t$): A model-driven metric where samples the detector is already confident about are labeled as "easy" or low quality.
Overview of the quality-centric framework, illustrating the Quality Evaluator, the FQS calculation, and the FreDA integration.

Frequency Data Augmentation (FreDA)

Rather than discarding low-quality samples, the framework "upgrades" them using FreDA. This technique blends the low-frequency structural components of a real face with the high-frequency forgery textures of a fake face. This process removes obvious structural distortions while forcing the model to focus on the subtle textural artifacts that generalize better to unseen data.

Learning Pacing Strategy

The framework employs a curriculum learning strategy. It begins with a broad mix of samples and gradually shifts the training focus toward the most challenging, high-FQS samples. This ensures the model masters basic forgery detection before tackling the most realistic and difficult cases.

Experimental Results

The framework was evaluated across several major datasets, including FaceForensics++, Celeb-DF, and the Deepfake Detection Challenge (DFDC).

Comparison of AUC performance across various datasets, demonstrating the superiority of training on High Quality (HQ) samples compared to Low Quality (LQ) or baseline models.

Key findings include:

  • Generalization Boost: The framework consistently improved baseline model performance by approximately 10% AUC on unseen datasets.
  • State-of-the-Art Performance: Using a Swin Transformer-V2 backbone, the method achieved a video-level AUC of 94.75% on Celeb-DF and 83.77% on WildDeepfake, outperforming recent specialized detectors.
  • Ablation Insights: Results confirmed that focusing on high-quality (HQ) samples significantly outperforms training on low-quality (LQ) samples or a standard baseline.

Conclusion

By shifting the focus from "easy" artifacts to high-quality forgery traces, this framework provides a robust, plug-and-play strategy for improving deepfake detector generalization. While it introduces some computational overhead due to dynamic scoring, the significant gains in cross-dataset performance make it a compelling approach for real-world detection scenarios.

Summary updated

BibTeX
@misc{song2024quality,
  author = {Wentang Song and Zhiyuan Yan and Yuzhen Lin and Taiping Yao and Changsheng Chen and Shen Chen and Yandan Zhao and Shouhong Ding and Bin Li},
  title = {{A Quality-Centric Framework for Generic Deepfake Detection}},
  year = {2024},
  eprint = {2411.05335},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2411.05335},
}
Figure