cs.CVAug 12, 2026

Do CNNs Internally Represent Real and Fake Images Differently? A Hidden-Layer Analysis

Authors: Moumita Sen Sarma, Pascal Hitzler, Eugene Y. Vasserman

Organizations: Department of Computer Science, Kansas State University, Manhattan, Kansas, USA

Abstract

Fake/synthetic images are increasingly prevalent, but it remains unclear whether Convolutional Neural Networks (CNNs) process real and fake images in the same internal manner. This work examines the hypothesis that CNNs represent real and fake images differently, such that fake images induce different hidden-layer activation patterns even when semantic content is preserved. The hypothesis is evaluated in scene recognition settings using trained CNN models. Dense-layer activations are extracted, and neurosymbolic methods assign semantic labels to selected neurons. For each real test image, corresponding fake images are generated with similar semantic content using object-label-guided text-to-image and image-to-image generation based on Stable Diffusion variants. Paired real-fake activation patterns are then compared statistically. Additional experiments with another dataset, CNN architecture, generative model, and JPEG/blur degradation analysis assess robustness. Results suggest that fake images evoke different hidden-neuron activations, and these differences are not explained only by simple image degradation. Overall, the findings indicate that real and fake images differ in CNN hidden-layer activation behavior at least in some settings, which opens the door for follow-up work on making use of this different behavior to improve fake image detection.

Figures & tables

Appendix figures & tables25 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. SimLBR: Learning to Detect Fake Images by Learning to Detect Real Images

    Feb 23, 2026Aayush Dhakal, Subash Khanal, Srikumar Sastry +4AI-Generated Image DetectionOOD Generalization

  2. Comparative Evaluation of Deep Learning Models for Fake Image Detection

    May 20, 2026Akhitha Pakala, Mohammed Mahir Rahman, Shahzad Memon +1Image Forgery DetectionDigital Image Forensics

  3. Hierarchical Channel Stacking: A Structured Decision Framework for AI-Generated Image Detection

    Aug 27, 2026Saifullah Shoaib, Akash Borigi, Rupendra Lekkala +5Hierarchical ClassificationExplainable Image Classification