[Paper Review] Global Texture Enhancement for Fake Face Detection in the Wild
This paper proposes Gram-Net, a novel CNN architecture that enhances fake face detection by leveraging global texture representations through learnable Gram Blocks. By capturing robust, long-range texture statistics invariant across GANs and resilient to image distortions, Gram-Net achieves state-of-the-art performance, especially in cross-GAN generalization and detecting edited or natural fake images, outperforming prior methods by over 10% on unseen GANs and 10% on BigGAN-generated natural images.
Generative Adversarial Networks (GANs) can generate realistic fake face images that can easily fool human beings.On the contrary, a common Convolutional Neural Network(CNN) discriminator can achieve more than 99.9% accuracyin discerning fake/real images. In this paper, we conduct an empirical study on fake/real faces, and have two important observations: firstly, the texture of fake faces is substantially different from real ones; secondly, global texture statistics are more robust to image editing and transferable to fake faces from different GANs and datasets. Motivated by the above observations, we propose a new architecture coined as Gram-Net, which leverages global image texture representations for robust fake image detection. Experimental results on several datasets demonstrate that our Gram-Net outperforms existing approaches. Especially, our Gram-Netis more robust to image editings, e.g. down-sampling, JPEG compression, blur, and noise. More importantly, our Gram-Net generalizes significantly better in detecting fake faces from GAN models not seen in the training phase and can perform decently in detecting fake natural images.
Motivation & Objective
- To understand the intrinsic differences in texture between real and GAN-generated fake faces.
- To investigate why CNN-based detectors fail under real-world image distortions like compression, blurring, and resizing.
- To improve detector robustness and generalization across diverse GAN models and unseen image sources.
- To develop a method that captures global texture statistics invariant across different GAN architectures and image manipulations.
Proposed method
- Introduces the Gram Block, a learnable layer that computes global texture representations from feature maps at multiple semantic levels.
- Integrates Gram Blocks into the CNN backbone to complement local convolutional features with global texture context.
- Uses Gray-Level Co-occurrence Matrix (GLCM) statistics to analyze and verify the robustness of global texture features under various image distortions.
- Trains Gram-Net end-to-end on diverse GAN-generated and real face datasets, including StyleGAN, PGGAN, DCGAN, DRAGAN, and StarGAN.
- Applies the trained model directly to detect fake natural images from BigGAN without retraining, demonstrating zero-shot generalization.
- Fine-tunes StyleGAN with Gram Blocks in its discriminator to validate the transferability and consistency of the proposed texture representation.
Experimental results
Research questions
- RQ1How do the texture statistics of real faces differ from those of GAN-generated fake faces?
- RQ2Why do existing CNN-based fake face detectors fail when images are edited (e.g., compressed or blurred)?
- RQ3Can global texture representations be more invariant across different GAN architectures and image distortions than local features?
- RQ4Can a deep learning model that explicitly models global texture statistics generalize better to unseen GANs and natural fake images?
Key findings
- Gram-Net achieves a 10% accuracy improvement over baselines in detecting fake faces from unseen GAN models, such as StarGAN.
- The model improves detection performance by 15% on blurred images, 13% on noisy images, 10% on resized images, and 9% on JPEG-compressed images.
- Gram-Net generalizes significantly to natural fake images from BigGAN, achieving 80.29% accuracy on ImageNet vs. BigGAN, a 10% improvement over the next best method.
- Even when Gram-Blocks are inserted into the GAN discriminator during training, Gram-Net maintains superior performance, confirming the robustness of the proposed texture representation.
- Cross-dataset evaluation shows that Gram-Net outperforms baselines when training on more realistic datasets (e.g., FFHQ) and testing on less realistic ones (e.g., CelebA-HQ).
- Low-level texture analysis using GLCM confirms that real images consistently exhibit stronger texture contrast than fake images across all measured distances, validating the core assumption of the method.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.