Abstract
Deepfake detection is currently an "arms race" where new generative models emerge constantly. However, existing detectors suffer from "catastrophic forgetting"—losing the ability to identify older fake types as they learn new ones. This paper introduces the Continual Deepfake Detection Benchmark (CDDB), a comprehensive framework featuring 12 diverse deepfake sources. We evaluate various Class-Incremental Learning (CIL) methods and propose a Multi-task (MT) learning strategy that effectively mitigates forgetting by learning generator-specific fingerprints alongside binary detection. Our results demonstrate that Vision Transformers (ViTs) combined with MT learning achieve state-of-the-art performance on challenging sequential detection tasks.
Introduction
Traditional deepfake detection research typically operates in a "stationary" setting, where a static dataset is used for one-time training. In the real world, however, generative techniques like GANs and Diffusion models emerge sequentially. When standard neural networks are fine-tuned on new data, they often suffer from catastrophic forgetting, overwriting the weights used to identify previous types. While Class-Incremental Learning (CIL) addresses this in general image recognition, its application to the binary "Real vs. Fake" task remains under-explored. This work bridges that gap by providing a realistic, heterogeneous data stream to simulate the evolution of deepfakes in the wild.
The CDDB Benchmark
The authors curated a new collection of deepfakes from 12 diverse sources, categorized into three groups: GAN models (e.g., ProGAN, StyleGAN), Non-GAN models (e.g., Glow, CRN), and Unknown/Wild models collected from the internet (e.g., FaceForensics++, WildDeepfake).
These sources are organized into three evaluation scenarios to test different aspects of model robustness:
- EASY: A sequence of 7 relatively distinct tasks.
- HARD: A sequence of 5 challenging tasks involving "wild" scenes and small datasets.
- LONG: A 12-task sequence to test long-term stability.
Methodology
The study evaluates and adapts several state-of-the-art CIL methods (such as iCaRL, LUCIR, and DyTox) using three primary strategies:
- Binary-class (BC) Learning: Treating the problem as a simple "Real vs. Fake" task at every step.
- Multi-class (MC) Learning: Treating every new deepfake source as a unique class (e.g., "ProGAN-fake," "StyleGAN-fake").
- Multi-task (MT) Learning: Combining a multi-class classification loss with a binary detection loss.
The MT approach proved most successful. By forcing the model to recognize the specific "fingerprints" of different generators, it maintains a more cohesive and stable understanding of what constitutes a "fake" image overall.
Results and Discussion
The CDDB benchmark proved significantly more difficult than previous datasets. While earlier benchmarks like GANfake often see accuracies above 96%, performance on CDDB is more representative of the current "arms race."
Key insights from the evaluation include:
- Multi-task Superiority: Learning to identify the source of a deepfake directly improves the model's ability to detect deepfakes in general.
- Architecture Matters: Vision Transformers (specifically DyTox) significantly outperformed traditional ResNet-based detectors, though they require more parameters.
- Memory Sensitivity: Performance drops sharply as the "memory budget" (the number of old samples kept for rehearsal) decreases. This highlights a major bottleneck for mobile or privacy-constrained applications where storing old data may be restricted.
- Class Imbalance: Interestingly, standard CIL fixes for class imbalance, such as Cosine Normalization, were found to actually hurt deepfake detection performance, as the binary label remains correct even if a fake is misclassified as a different "type" of fake.
Conclusion
CDDB establishes a rigorous new standard for evaluating the long-term robustness of deepfake detectors. The findings suggest that multi-task learning and transformer architectures are essential for keeping pace with evolving generative models. Future work should focus on data-free continual learning to address privacy concerns and open-set expansion to detect entirely unseen generators during the learning process.
Summary updated