[Paper Review] On the generalization of GAN image forensics
This paper proposes a novel image preprocessing strategy—applying Gaussian blur or noise during training—to enhance the generalization of GAN image forensics models. By suppressing unstable low-level noise artifacts, the model is forced to learn more intrinsic features, improving detection performance on unseen GAN types, with a 10% TNR improvement on unseen fake image datasets despite limited performance gains due to inherent distribution shifts.
Recently the GAN generated face images are more and more realistic with high-quality, even hard for human eyes to detect. On the other hand, the forensics community keeps on developing methods to detect these generated fake images and try to guarantee the credibility of visual contents. Although researchers have developed some methods to detect generated images, few of them explore the important problem of generalization ability of forensics model. As new types of GANs are emerging fast, the generalization ability of forensics models to detect new types of GAN images is absolutely an essential research topic. In this paper, we explore this problem and propose to use preprocessed images to train a forensic CNN model. By applying similar image level preprocessing to both real and fake training images, the forensics model is forced to learn more intrinsic features to classify the generated and real face images. Our experimental results also prove the effectiveness of the proposed method.
Motivation & Objective
- To address the critical lack of generalization in existing GAN image forensics models across unseen GAN architectures.
- To investigate whether image preprocessing can enhance a forensic CNN's ability to detect diverse, previously unseen GAN-generated face images.
- To shift focus from exploiting low-level noise artifacts to learning more robust, intrinsic image features for improved cross-model detection.
- To develop a method that does not require target-domain fake examples during training, enabling real-world applicability.
Proposed method
- Apply Gaussian blur (GB) or Gaussian noise (GN) as preprocessing during training to disrupt unstable low-level noise cues in GAN-generated images.
- Train a forensic CNN on both real and preprocessed fake images to force the model to learn higher-level, intrinsic features rather than model-specific artifacts.
- Use standard cross-entropy loss with a classification head to train the model end-to-end on preprocessed data.
- Evaluate the model on test sets from different GAN types (e.g., PG-GAN, WGAN-GP, StyleGAN) to assess zero-shot generalization.
- Compare performance with a baseline model (M) that uses no preprocessing to isolate the effect of preprocessing on generalization.
- Use a two-dimensional feature space visualization to illustrate the distribution shift between different GAN-generated fake image types.
Experimental results
Research questions
- RQ1Can image preprocessing during training improve the generalization of GAN image forensics models to unseen GAN architectures?
- RQ2Does suppressing low-level noise artifacts lead to better detection performance on previously unseen fake image types?
- RQ3How does the proposed method compare to baseline models that rely on low-level noise patterns in terms of zero-shot detection performance?
- RQ4To what extent can preprocessing improve TNR and ACC on out-of-domain GAN-generated images?
Key findings
- The proposed preprocessing method (GB or GN) improves generalization performance on unseen GAN types, with a 10% increase in TNR on WGAN-GP and StyleGAN test sets compared to the baseline model.
- The model with preprocessing maintains high accuracy (over 95%) on in-domain test sets, indicating no degradation in performance on seen data.
- The baseline model (M) achieves over 95% accuracy on in-domain data but drops significantly (to 34.12% TNR) on unseen GAN types, highlighting poor generalization.
- The improvement in generalization is consistent across different test sets: WGAN-GP and StyleGAN, with TNR gains of ~10% and ACC improvements observed.
- The results suggest that suppressing unstable low-level noise forces the model to learn more robust, intrinsic features, which generalize better across diverse GAN architectures.
- Despite the gains, the overall performance increment is limited, indicating that distribution shifts between GAN types remain a major challenge for generalization.
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.