A Robust Image Forensic Framework Utilizing Multi-Colorspace Enriched Vision Transformer for Distinguishing Natural and Computer-Generated Images

Manjary P. Gangan, Anoop Kadan, Lajish V L
8/14/2023
cs.CV
transformer-attention

Official code: manjaryp/MCE-ViT (1 star, Jupyter Notebook, MIT, last commit 2025-04-15).

Abstract

The digital image forensics based research works in literature classifying natural and computer generated images primarily focuses on binary tasks. These tasks typically involve the classification of natural images versus computer graphics images only or natural images versus GAN generated images only, but not natural images versus both types of generated images simultaneously.

Show full abstract

Furthermore, despite the support of advanced convolutional neural networks and transformer based architectures that can achieve impressive classification accuracies for this forensic classification task of distinguishing natural and computer generated images, these models are seen to fail over the images that have undergone post-processing operations intended to deceive forensic algorithms, such as JPEG compression, Gaussian noise addition, etc. In this digital image forensic based work to distinguish between natural and computer-generated images encompassing both computer graphics and GAN generated images, we propose a robust forensic classifier framework leveraging enriched vision transformers. By employing a fusion approach for the networks operating in RGB and YCbCr color spaces, we achieve higher classification accuracy and robustness against the post-processing operations of JPEG compression and addition of Gaussian noise. Our approach outperforms baselines, demonstrating 94.25% test accuracy with significant performance gains in individual class accuracies. Visualizations of feature representations and attention maps reveal improved separability as well as improved information capture relevant to the forensic task. This work advances the state-of-the-art in image forensics by providing a generalized and resilient solution to distinguish between natural and generated images.

View on arXivView PDF

Code Implementations(1)

manjaryp/MCE-ViTOfficial100%
MIT

A Robust Approach Towards Distinguishing Natural and Computer Generated Images using Multi-Colorspace fused and Enriched Vision Transformer

11Jupyter Notebook, PythonAug 7, 20231 years agoMIT
classify-real-gan-imagesclassify-real-graphics-imagecomputer-graphicscomputer-visiondeep-learning+3 more

Similar Papers

Cite this paper

@article{gangan2023robust,
  title  = {A Robust Image Forensic Framework Utilizing Multi-Colorspace Enriched Vision Transformer for Distinguishing Natural and Computer-Generated Images},
  author = {Manjary P. Gangan and Anoop Kadan and Lajish V L},
  year   = {2023},
  eprint = {2308.07279},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2308.07279v2}
}

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

Discussion