English

Detecting Generated Images by Real Images Only

Computer Vision and Pattern Recognition 2023-11-03 v1

Abstract

As deep learning technology continues to evolve, the images yielded by generative models are becoming more and more realistic, triggering people to question the authenticity of images. Existing generated image detection methods detect visual artifacts in generated images or learn discriminative features from both real and generated images by massive training. This learning paradigm will result in efficiency and generalization issues, making detection methods always lag behind generation methods. This paper approaches the generated image detection problem from a new perspective: Start from real images. By finding the commonality of real images and mapping them to a dense subspace in feature space, the goal is that generated images, regardless of their generative model, are then projected outside the subspace. As a result, images from different generative models can be detected, solving some long-existing problems in the field. Experimental results show that although our method was trained only by real images and uses 99.9\% less training data than other deep learning-based methods, it can compete with state-of-the-art methods and shows excellent performance in detecting emerging generative models with high inference efficiency. Moreover, the proposed method shows robustness against various post-processing. These advantages allow the method to be used in real-world scenarios.

Keywords

Cite

@article{arxiv.2311.00962,
  title  = {Detecting Generated Images by Real Images Only},
  author = {Xiuli Bi and Bo Liu and Fan Yang and Bin Xiao and Weisheng Li and Gao Huang and Pamela C. Cosman},
  journal= {arXiv preprint arXiv:2311.00962},
  year   = {2023}
}
R2 v1 2026-06-28T13:09:14.859Z