Towards the Detection of Diffusion Model Deepfakes

Jonas Ricker, Simon Damm, Thorsten Holz, Asja Fischer
10/26/2022
184 citations
cs.CV
diffusion-flow

Official code: jonasricker/diffusion-model-deepfake-detection (106 stars, Python, MIT, PyTorch, last commit 2024-11-20).

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

PyTorchMIT

[VISAPP2024] Towards the Detection of Diffusion Model Deepfakes

10611Python, Jupyter NotebookJan 2, 20232 years agoMIT
deepfake-detectiondeepfakesdiffusion-modelsganpytorch

Similar Papers

Cite this paper

@article{ricker2022towards,
  title  = {Towards the Detection of Diffusion Model Deepfakes},
  author = {Jonas Ricker and Simon Damm and Thorsten Holz and Asja Fischer},
  year   = {2022},
  eprint = {2210.14571},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.14571}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2210.14571.svg)](https://codeofpaper.com/paper/2210.14571)

Discussion