[Paper Review] Level Up the Deepfake Detection: a Method to Effectively Discriminate Images Generated by GAN Architectures and Diffusion Models
This paper proposes a hierarchical multi-level deepfake detection framework using ResNet-34 models to classify images into 14 classes: 9 GAN architectures, 4 diffusion models (DMs), and 3 pristine datasets. The method achieves over 97% accuracy across all tasks—real vs. AI-generated, GANs vs. DMs, and specific architecture recognition—outperforming state-of-the-art methods by leveraging a dedicated dataset of 83,000 images and a tiered classification strategy.
The image deepfake detection task has been greatly addressed by the scientific community to discriminate real images from those generated by Artificial Intelligence (AI) models: a binary classification task. In this work, the deepfake detection and recognition task was investigated by collecting a dedicated dataset of pristine images and fake ones generated by 9 different Generative Adversarial Network (GAN) architectures and by 4 additional Diffusion Models (DM). A hierarchical multi-level approach was then introduced to solve three different deepfake detection and recognition tasks: (i) Real Vs AI generated; (ii) GANs Vs DMs; (iii) AI specific architecture recognition. Experimental results demonstrated, in each case, more than 97% classification accuracy, outperforming state-of-the-art methods.
Motivation & Objective
- Address the growing challenge of detecting synthetic images generated by both GANs and diffusion models (DMs), which are increasingly realistic and difficult to distinguish from real content.
- Overcome the limitations of existing deepfake detection methods that primarily focus on binary classification (real vs. fake) and lack granularity in identifying specific generative models.
- Develop a comprehensive forensic solution capable of not only detecting AI-generated content but also recognizing the specific GAN or DM architecture used in its creation.
- Enable deeper multimedia forensics by reconstructing the provenance of synthetic images through multi-level classification, supporting forensic ballistics in digital media.
Proposed method
- Constructed a dedicated dataset of 83,000 images: 40,500 pristine images from CelebA, FFHQ, and ImageNet, and 42,500 synthetic images from 9 GANs and 4 DMs.
- Designed a three-level hierarchical classification pipeline: (1) real vs. AI-generated, (2) GANs vs. DMs, (3) identification of specific GAN or DM architecture.
- Trained ResNet-34 models on each level using transfer learning with ImageNet-pretrained weights, fine-tuning fully connected layers for the respective classification tasks.
- Employed a cascaded inference strategy where predictions from earlier levels guide the input to subsequent levels, improving overall accuracy and model specialization.
- Optimized model selection by comparing ResNet-18 and ResNet-34, selecting ResNet-34 as the final architecture due to superior performance across all levels.
- Used standard training protocols with 50% training, 20% validation, and 30% test splits per level, ensuring robust generalization and reliable evaluation.
Experimental results
Research questions
- RQ1Can a hierarchical deep learning framework effectively distinguish between real images and those generated by diverse GAN and diffusion model architectures?
- RQ2To what extent can a multi-level classification approach improve detection accuracy compared to flat, single-stage classification in deepfake forensics?
- RQ3How well can the proposed method generalize in recognizing specific GAN and DM architectures, especially given the increasing diversity and realism of modern generative models?
- RQ4What is the impact of including diffusion model-generated images on the performance of existing state-of-the-art deepfake detection methods, particularly in binary real-vs-AI classification?
- RQ5Can the hierarchical approach support forensic reconstruction of image provenance by tracing the generative model used, even in complex, multi-source synthetic media?
Key findings
- The hierarchical approach achieved a classification accuracy of 97.63% on the Level 1 task (real vs. AI-generated images), significantly outperforming state-of-the-art methods such as AutoGAN (68.5%) and Fakespotter (74.22%).
- On Level 2 (GANs vs. DMs), the method reached 98.01% accuracy, demonstrating its ability to effectively separate the two distinct generative paradigms, a task largely unaddressed by prior work.
- For Level 3, the model achieved 97.77% accuracy in identifying specific GAN architectures and 98.02% in recognizing specific diffusion models, highlighting its precision in fine-grained model attribution.
- The ResNet-34 architecture outperformed ResNet-18 across all levels, with gains of up to 2.39 percentage points in Level 1 and 2.73 points in Level 3 for DM recognition.
- The inclusion of DM-generated images in the training data significantly degraded performance in existing methods (e.g., DE-FAKE dropped to 90.52% on real-vs-AI), while the proposed method maintained over 97% accuracy, proving its robustness to DMs.
- The results indicate that DMs leave distinct statistical traces in generated images that can be reliably detected and leveraged for model identification, a key insight for future forensic analysis.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.