Skip to main content
QUICK REVIEW

[Paper Review] DiffusionFace: Towards a Comprehensive Dataset for Diffusion-Based Face Forgery Analysis

Zhongxi Chen, Ke Sun|arXiv (Cornell University)|Mar 27, 2024
Face recognition and analysisComputer Science3 citations
TL;DR

This paper introduces DiffusionFace, the first comprehensive dataset for diffusion-based facial forgery analysis, covering 11 diffusion models across unconditional, text-guided, image-to-image, inpainting, and facial exchange generation. It enables rigorous evaluation of detection models, revealing that performance degrades significantly under cross-domain and real-world settings, especially for models trained on specific diffusion artifacts.

ABSTRACT

The rapid progress in deep learning has given rise to hyper-realistic facial forgery methods, leading to concerns related to misinformation and security risks. Existing face forgery datasets have limitations in generating high-quality facial images and addressing the challenges posed by evolving generative techniques. To combat this, we present DiffusionFace, the first diffusion-based face forgery dataset, covering various forgery categories, including unconditional and Text Guide facial image generation, Img2Img, Inpaint, and Diffusion-based facial exchange algorithms. Our DiffusionFace dataset stands out with its extensive collection of 11 diffusion models and the high-quality of the generated images, providing essential metadata and a real-world internet-sourced forgery facial image dataset for evaluation. Additionally, we provide an in-depth analysis of the data and introduce practical evaluation protocols to rigorously assess discriminative models' effectiveness in detecting counterfeit facial images, aiming to enhance security in facial image authentication processes. The dataset is available for download at \url{https://github.com/Rapisurazurite/DiffFace}.

Motivation & Objective

  • To address the growing threat of hyper-realistic facial forgeries generated by diffusion models, which current detection models struggle to identify.
  • To overcome limitations in existing datasets that focus on GAN- or autoencoder-based forgeries and lack coverage of modern diffusion techniques.
  • To provide a comprehensive, high-quality dataset with diverse diffusion-based face forgery categories for training and evaluating detection models.
  • To establish standardized evaluation protocols that simulate real-world deployment scenarios, including cross-domain and in-the-wild testing.
  • To enable systematic analysis of detection model generalization across different diffusion architectures and post-processing techniques.

Proposed method

  • The dataset is constructed using high-fidelity facial images from the Multi-Modal-CelebA-HQ dataset as real inputs for training diffusion models.
  • Eleven diffusion models—including DDPM, DDIM, PNDM, P2, and LDM—were trained to generate diverse forgery types: unconditional, text-to-image (T2I), image-to-image (I2I), inpainting, and facial exchange (DiffSwap).
  • Each forgery type is paired with metadata including text prompts, guide images, mask information, and identity embeddings to support conditional generation and evaluation.
  • A real-world in-the-wild subset of 30,000 genuine facial images was collected from internet sources, generated by various Stable Diffusion variants with LoRA, different sampling methods, and super-resolution.
  • Evaluation protocols were designed to test detection models under five settings: within-domain, cross-data, and in-the-wild, including compressed and unseen generation methods.
  • Standardized metrics such as accuracy (ACC) and AUC were used to compare detection models across different forgery types and test conditions.

Experimental results

Research questions

  • RQ1How do existing face forgery detection models perform when tested on diffusion-generated faces across diverse generation techniques?
  • RQ2To what extent do detection models generalize when evaluated on unseen diffusion models or real-world generated data?
  • RQ3How does the choice of diffusion model architecture (e.g., LDM vs. P2) affect the detectability of forged faces?
  • RQ4What impact do post-processing techniques like LoRA, sampling methods, and super-resolution have on detection performance?
  • RQ5How does model performance degrade when testing on compressed images or in cross-domain settings?

Key findings

  • Detection models trained on diffusion-generated faces show significant performance drops when tested on unseen diffusion models, especially when the training data contains prominent artifacts, such as those from LDM.
  • Models trained on Img2Img-generated data outperform those trained on Txt2Img data in cross-domain testing, likely due to greater similarity to real images.
  • RECCE, UniDetection, F3Net, and GramNet exhibit notable performance degradation when transferring from CelebA-HQ to FFHQ data, indicating overfitting to specific artifact patterns.
  • The average AUC across all detection models drops to 65.8% when tested on in-the-wild data, highlighting the challenge of real-world generalization.
  • Models like MAT and SAIA show more robust performance under cross-domain and in-the-wild conditions, suggesting better generalization to unseen generation techniques.
  • Performance on compressed images is consistently worse than within-domain testing, indicating a critical gap in robustness for real-world deployment.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.