NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Diffusion Deepfake

Chaitali Bhattacharyya, Hanxiao Wang, Feng Zhang, Sungho Kim, Xiatian Zhu

TL;DR

Generative diffusion models like Stable Diffusion and Midjourney produce photorealistic human faces that render existing deepfake detectors largely ineffective. To expose and address this vulnerability, this paper introduces two large-scale diffusion benchmarks—DiffusionDB-Face and JourneyDB-Face—and proposes Momentum Difficulty Boosting (MDB), an optimization strategy that dynamically re-weights heterogeneous training data to improve cross-domain generalization.

What Problem Does This Paper Address?

Most standard deepfake detection models were developed and evaluated on legacy datasets such as FaceForensics++ and Celeb-DF. These older benchmarks rely on generative adversarial networks (GANs) or graphics-based face swapping, which often leave distinct visual cues (e.g., blending boundaries, unnatural eyes, or grid-like frequency artifacts).

Modern diffusion models generate detailed, naturalistic faces across diverse backgrounds and artistic styles without these telltale flaws. When state-of-the-art detectors encounter diffusion-generated faces, their performance collapses. Furthermore, directly mixing diverse datasets during training introduces severe data heterogeneity: models struggle when confronted with varying difficulty levels across manipulation sources.

Methods

The authors tackle these challenges through a two-part contribution:

  1. Iterative Benchmark Curation Pipeline: To extract realistic faces from massive text-to-image datasets (DiffusionDB and JourneyDB), the authors built a coarse-to-fine filtering pipeline:
  2. LLM Prompt Filtering: A pre-trained BERT-base model performs zero-shot text classification to isolate prompts describing human faces, discarding over 95% of non-face prompts.
  3. Face Detection Filtering: RetinaFace verifies the presence of human faces (threshold $\ge 0.5$).
  4. Style and Edge Filtering: Canny edge detection and color variance filtering (or keyword filtering on style metadata) prune out cartoon, sketch, and anime styles.
  5. Manual Verification & Preprocessing: Images undergo final manual quality verification and MTCNN-based alignment, cropped to a standardized $256 \times 256$ resolution.
  6. Momentum Difficulty Boosting (MDB): Training on heterogeneous data ($D_H$) combining multiple forgery sources often causes optimization instability. Rather than weighting samples equally, MDB dynamically measures sample difficulty:
  7. Maintains an Exponential Moving Average (EMA) teacher model $\bar{\theta}$ tracking the primary detector $\theta$: $\bar{\theta} = m\bar{\theta} + (1 - m)\theta$.
  8. Computes an instantaneous sample-wise difficulty score $g_i = \text{CE}(y_i, f_{\bar{\theta}}(x_i))$ based on the cross-entropy loss under the momentum network.
  9. Dynamically rescales mini-batch weights into a bounded range $[1, C]$ to prevent outlier samples from dominating gradients, focusing training capacity on harder forgeries.

Datasets

The authors benchmarked both conventional and modern diffusion datasets:

  • DiffusionDB-Face (DFDB-Face, Ours): 24,794 Stable Diffusion face images (22,331 train / 1,241 val / 1,241 test), accompanied by prompt metadata.
  • JourneyDB-Face (JDB-Face, Ours): 87,833 Midjourney face images (78,757 train / 4,376 val / 4,375 test).
  • Authentic Baseline: 94,120 real face images sourced from Flickr-Faces-HQ (FFHQ) to balance the diffusion sets.
  • Comparison Datasets: FaceForensics++ (FF++), CelebDFv2, UADFV, Deepfakeface, and Fake-CelebA.

Key Insights and Ideas

  • Diffusion Bypasses Classical Artifact Detectors: Detectors trained to catch warping artifacts (DSP-FWA) or blending boundaries (SBIs) drop to near-chance levels on diffusion imagery because diffusion models synthesize the entire image cohesively rather than splicing face regions.
  • Severe In-Domain Overfitting: Pre-trained detectors generalize poorly across forgery types. For example, Capsule achieves an impressive 0.80 AUC on its native FF++ dataset, but drops to 0.61 on CelebDFv2 and below 0.50 on diffusion benchmarks.
  • Momentum Smoothing Tames Heterogeneity: Directly pooling diverse deepfake sources without sample re-weighting leads to sub-optimal convergence. Using an EMA network to assign difficulty weights provides a stabilizing curriculum without the compute overhead of full knowledge distillation.

Key Results

The evaluation examined seven pre-trained detectors (HiFi Net, SBIs, CADDM, CNNDet, DSP-FWA, Capsule, and DIRE):

  • Catastrophic Failure on Diffusion Faces: On both DFDB-Face and JDB-Face, six of the seven examined detectors scored AUC values below 0.55—effectively worse than random guessing.
  • Midjourney Proves Hardest: While DIRE achieved modest generalization on Fake-CelebA (0.68 AUC, 72% accuracy) and DFDB-Face (0.62 AUC, 71% accuracy), it stumbled significantly on JourneyDB-Face, achieving only 0.42 AUC and 51% accuracy.
  • MDB Boosts Cross-Domain Accuracy: Incorporating MDB during heterogeneous multi-source training significantly improved testing accuracy and generalizability on unseen benchmark datasets compared to conventional unweighted training schemes.

Limitations and Future Work

  • Manual Filtering Bottleneck: The curation pipeline still required human-in-the-loop manual pruning after automated filtering rounds to exclude non-photorealistic artifacts.
  • Static Images vs. Temporal Video: The new benchmarks currently focus on static $256 \times 256$ face crops; extending diffusion deepfake analysis to high-resolution video streams and temporal consistency remains unaddressed.
  • Exploiting Prompt Metadata: While prompt and style metadata are preserved in the datasets, the current detection methods treat the problem strictly as visual classification, leaving multi-modal text-image forensics as an open research avenue.

Summary updated

BibTeX
@inproceedings{bhattacharyya2025diffusion,
  author = {Chaitali Bhattacharyya and Hanxiao Wang and Feng Zhang and Sungho Kim and Xiatian Zhu},
  title = {{Diffusion Deepfake}},
  booktitle = {SynData4CV @ CVPR},
  year = {2025},
  url = {https://openreview.net/forum?id=EgD99KSdOL},
}
Figure