Skip to main content
QUICK REVIEW

[Paper Review] Towards the Detection of Diffusion Model Deepfakes

Jonas Ricker, Simon Damm|arXiv (Cornell University)|Oct 26, 2022
Digital Media Forensic DetectionComputer Science25 citations
TL;DR

The paper shows that pre-trained GAN detectors struggle to detect diffusion-model (DM) deepfakes, but retraining detectors on DM-generated images yields near-perfect detection and generalizes to GANs; DM images exhibit fewer artifacts, especially in high frequencies, due to the training objective.

ABSTRACT

In the course of the past few years, diffusion models (DMs) have reached an unprecedented level of visual quality. However, relatively little attention has been paid to the detection of DM-generated images, which is critical to prevent adverse impacts on our society. In contrast, generative adversarial networks (GANs), have been extensively studied from a forensic perspective. In this work, we therefore take the natural next step to evaluate whether previous methods can be used to detect images generated by DMs. Our experiments yield two key findings: (1) state-of-the-art GAN detectors are unable to reliably distinguish real from DM-generated images, but (2) re-training them on DM-generated images allows for almost perfect detection, which remarkably even generalizes to GANs. Together with a feature space analysis, our results lead to the hypothesis that DMs produce fewer detectable artifacts and are thus more difficult to detect compared to GANs. One possible reason for this is the absence of grid-like frequency artifacts in DM-generated images, which are a known weakness of GANs. However, we make the interesting observation that diffusion models tend to underestimate high frequencies, which we attribute to the learning objective.

Motivation & Objective

  • Evaluate whether state-of-the-art GAN detectors can distinguish real from DM-generated images.
  • Assess generalization of detectors retrained on DM-generated images across different models.
  • Analyze feature representations and frequency-domain characteristics of DM-generated images.
  • Investigate the causes of DM diffusion models’ frequency behavior and artifact presence.

Proposed method

  • Evaluate three CNN-based detectors (Wang2020, Gragnaniello2021, Mandelli2022) on DM and GAN images using AUROC and Pd@FAR (1%).
  • Retrain detectors on DM-generated images and test cross-model generalization across multiple DM and GAN generators.
  • Analyze learned feature spaces with t-SNE and investigate frequency-domain artifacts via DFT, DCT, and reduced spectrum.
  • Examine how the diffusion training objective affects high-frequency content and spectrum underestimation during denoising.

Experimental results

Research questions

  • RQ1Can pre-trained GAN detectors reliably distinguish real versus DM-generated images?
  • RQ2Does retraining detectors on DM-generated data improve DM detection and generalize to GANs?
  • RQ3What differences exist in the feature representations and frequency-domain artifacts between DM- and GAN-generated images?
  • RQ4How does the DM training objective influence high-frequency content in generated images?
  • RQ5How does the number of sampling steps in diffusion affect spectral accuracy and detectability?

Key findings

  • Pre-trained GAN detectors experience significant performance drop on DM-generated images (average AUROC reduction ~15.2 points).
  • Detectors retrained on DM-generated images achieve near-perfect detection on DM data and generalize to GANs.
  • Detectors trained on DM images map GAN- and DM-generated images to similar embeddings, indicating fewer DM-specific artifacts.
  • DM-generated images generally lack grid-like frequency artifacts typical of GANs and tend to underestimate high-frequency content due to the DM training objective.
  • Increasing the number of diffusion denoising steps improves high-frequency reproduction and detection performance; fewer steps yield greater underestimation.

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.