Distinguishing Natural and Computer-Generated Images using Multi-Colorspace fused EfficientNet

Manjary P Gangan, Anoop K, and Lajish V L
Computational Intelligence and Data Analytics (CIDA Lab)
Department of Computer Science
University of Calicut, India


Abstract: The problem of distinguishing natural images from photo-realistic computer-generated ones either addresses natural images versus computer graphics or natural images versus GAN images, at a time. But in a real-world image forensic scenario, it is highly essential to consider all categories of image generation, since in most cases image generation is unknown. We, for the first time, to our best knowledge, approach the problem of distinguishing natural images from photo-realistic computer-generated images as a three-class classification task classifying natural, computer graphics, and GAN images. For the task, we propose a Multi-Colorspace fused EfficientNet model by parallelly fusing three EfficientNet networks that follow transfer learning methodology where each network operates in different colorspaces, RGB, LCH, and HSV, chosen after analyzing the efficacy of various colorspace transformations in this image forensics problem. Our model outperforms the baselines in terms of accuracy, robustness towards post-processing, and generalizability towards other datasets. We conduct psychophysics experiments to understand how accurately humans can distinguish natural, computer graphics, and GAN images where we could observe that humans find difficulty in classifying these images, particularly the computer-generated images, indicating the necessity of computational algorithms for the task. We also analyze the behavior of our model through visual explanations to understand salient regions that contribute to the model's decision making and compare with manual explanations provided by human participants in the form of region markings, where we could observe similarities in both the explanations indicating the powerful nature of our model to take the decisions meaningfully.

📝 Published Paper: https://doi.org/10.1016/j.jisa.2022.103261
📝 Arxiv Preprint: https://arxiv.org/abs/2110.09428
🌍 Code: https://github.com/manjaryp/GANvsGraphicsvsReal


  1. 1. Manjary P Gangan: manjaryp_dcs@uoc.ac.in
  2. 2. Anoop K: anoopk_dcs@uoc.ac.in
  3. 3. Lajish V L: lajish@uoc.ac.in


Manjary P. Gangan, Anoop K., Lajish V. L., "Distinguishing natural and computer generated images using Multi-Colorspace fused EfficientNet", 
Journal of Information Security and Applications, Volume 68, 2022, 103261, ISSN 2214-2126, https://doi.org/10.1016/j.jisa.2022.103261.