A Continual Deepfake Detection Benchmark: Dataset, Methods, and Essentials

Chuqiao Li, Zhiwu Huang, Danda Pani Paudel, Yabin Wang, Mohamad Shahbazi, Xiaopeng Hong, Luc Van Gool

Introduction

The rapid evolution of generative AI has turned deepfake detection into a high-stakes arms race. As new techniques like Generative Adversarial Networks (GANs) and Diffusion Models emerge, detectors must adapt to recognize increasingly sophisticated forgeries. However, traditional detection models are often static, trained on a fixed snapshot of data. When these models encounter new types of deepfakes in the real world, they frequently fail to generalize or, worse, lose their ability to detect older variants. This paper introduces the Continual Deepfake Detection Benchmark (CDDB) to address these challenges, providing a framework for training models that can learn sequentially without forgetting.

The Challenge: Catastrophic Forgetting

In a real-world deployment, deepfake threats appear as a continuous stream. A common approach is to fine-tune an existing detector on new data. Unfortunately, this often leads to catastrophic forgetting, where the model's weights are overwritten to accommodate new patterns, causing performance on previously learned tasks to plummet. The CDDB benchmark formalizes this as a Class-Incremental Learning (CIL) problem, requiring models to maintain high accuracy across a growing library of heterogeneous deepfake sources.

The CDDB Dataset

To facilitate this research, the authors curated the CDDB dataset, which encompasses 12 distinct generative sources. These are categorized to test models under varying levels of difficulty:

  • GAN-based Sources: ProGAN, StyleGAN, BigGAN, CycleGAN, GauGAN, and StarGAN.
  • Non-GAN Sources: Glow, CRN, IMLE, and SAN.
  • In-the-Wild Sources: "WhichFaceReal" and "WildDeepfake," which contain images with unknown generative origins to simulate real-world unpredictability.
The CDDB dataset features a wide variety of deepfakes from 12 different generative models, ranging from faces to landscapes.

The benchmark defines three evaluation scenarios: EASY (7 tasks), HARD (5 tasks involving wild or low-data fakes), and LONG (the full sequence of 12 tasks).

Methodology: Adapting Continual Learning

The researchers explored three primary strategies for adapting CIL to deepfake detection:

  1. Binary-class (BC) Learning: The model performs a simple "Real vs. Fake" classification at each step.
  2. Multi-class (MC) Learning: The model identifies the specific source of each image (e.g., "StyleGAN" vs. "Real"). This encourages the learning of more granular, source-specific features.
  3. Multi-task (MT) Learning: A hybrid approach where the model simultaneously performs binary detection and multi-class source identification.

They evaluated several state-of-the-art CIL algorithms, including iCaRL, LUCIR, and the transformer-based DyTox, to determine which architectures and loss functions best preserve knowledge over time.

Key Insights and Results

The benchmark revealed several critical findings for the future of deepfake forensics:

  • Multi-tasking Enhances Robustness: MT learning consistently outperformed BC and MC approaches. By learning to distinguish between different types of fakes, models developed more robust features that were less susceptible to being overwritten by new tasks.
  • Transformers Lead the Way: Vision Transformers (ViTs), particularly the DyTox model, significantly outperformed traditional CNN-based architectures like ResNet-50. DyTox achieved an Average Accuracy (AA) of approximately 96% on the EASY stream and 88% on the HARD stream.
  • The "Wild" remains a Frontier: Performance on the HARD stream—which includes internet-sourced fakes—was notably lower than on synthetic-only streams. This highlights the ongoing difficulty of detecting fakes from unknown generative distributions.
  • Memory is Essential: The use of an "exemplar set" (a small buffer of historical images used for rehearsal) is vital. Reducing this memory budget significantly degraded performance across all tested methods.

Conclusion and Future Directions

The CDDB benchmark provides a necessary foundation for developing detectors that can keep pace with the evolving deepfake landscape. While transformer-based multi-task learning shows great promise, the "wild" scenario remains a significant challenge. Future research should focus on improving exemplar selection, leveraging data augmentation to anticipate unseen generative models, and advancing open-set recognition to flag novel forgeries that do not match any known training distribution.

Summary updated

BibTeX
@inproceedings{li2023continual,
  author = {Chuqiao Li and Zhiwu Huang and Danda Pani Paudel and Yabin Wang and Mohamad Shahbazi and Xiaopeng Hong and Luc Van Gool},
  title = {{A Continual Deepfake Detection Benchmark: Dataset, Methods, and Essentials}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2023},
  doi = {10.1109/wacv56688.2023.00139},
}
Figure