CNN-generated images are surprisingly easy to spot... for now

Sheng-Yu Wang, Oliver Wang, Richard Zhang, Andrew Owens, Alexei A. Efros
12/23/2019
1,888 citations
cs.CV

Official code: PeterWang512/CNNDetection (1,009 stars, Python, last commit 2024-07-26).

Abstract

In this work we ask whether it is possible to create a "universal" detector for telling apart real images from these generated by a CNN, regardless of architecture or dataset used. To test this, we collect a dataset consisting of fake images generated by 11 different CNN-based image generator models, chosen to span the space of commonly used architectures today (ProGAN, StyleGAN, BigGAN, CycleGAN, StarGAN, GauGAN, DeepFakes, cascaded refinement networks, implicit maximum likelihood estimation, second-order attention super-resolution, seeing-in-the-dark).

Show full abstract

We demonstrate that, with careful pre- and post-processing and data augmentation, a standard image classifier trained on only one specific CNN generator (ProGAN) is able to generalize surprisingly well to unseen architectures, datasets, and training methods (including the just released StyleGAN2). Our findings suggest the intriguing possibility that today's CNN-generated images share some common systematic flaws, preventing them from achieving realistic image synthesis. Code and pre-trained networks are available at https://peterwang512.github.io/CNNDetection/ .

View on arXivView PDF

Code Implementations(1)

Code for the paper: CNN-generated images are surprisingly easy to spot... for now https://peterwang512.github.io/CNNDetection/

1,009183Python, ShellDec 23, 20192 years agoNOASSERTION

Similar Papers

Cite this paper

@article{wang2019cnngenerated,
  title  = {CNN-generated images are surprisingly easy to spot... for now},
  author = {Sheng-Yu Wang and Oliver Wang and Richard Zhang and Andrew Owens and Alexei A. Efros},
  year   = {2019},
  eprint = {1912.11035},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1912.11035}
}

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/1912.11035.svg)](https://codeofpaper.com/paper/1912.11035)

Discussion