[Paper Review] On Detecting GANs and Retouching based Synthetic Alterations
This paper proposes a supervised CNN-based method for detecting synthetic image alterations, including facial retouching and GAN-generated images. Using patch-based feature extraction and residual networks, it achieves 99.65% accuracy on retouched images and 99.83% on GAN-generated images, significantly outperforming prior work.
Digitally retouching images has become a popular trend, with people posting altered images on social media and even magazines posting flawless facial images of celebrities. Further, with advancements in Generative Adversarial Networks (GANs), now changing attributes and retouching have become very easy. Such synthetic alterations have adverse effect on face recognition algorithms. While researchers have proposed to detect image tampering, detecting GANs generated images has still not been explored. This paper proposes a supervised deep learning algorithm using Convolutional Neural Networks (CNNs) to detect synthetically altered images. The algorithm yields an accuracy of 99.65% on detecting retouching on the ND-IIITD dataset. It outperforms the previous state of the art which reported an accuracy of 87% on the database. For distinguishing between real images and images generated using GANs, the proposed algorithm yields an accuracy of 99.83%.
Motivation & Objective
- To develop a robust deep learning framework for detecting synthetic alterations in facial images, including retouching and GAN-generated content.
- To address the growing challenge of visually imperceptible image manipulations that compromise face recognition systems and societal well-being.
- To improve upon existing detection methods by leveraging patch-based CNNs with residual connections for enhanced feature learning.
- To evaluate performance on both real-world retouched images (ND-IIITD dataset) and GAN-generated images (StarGANs), including under lossy compression.
- To ensure the model generalizes across different image sources and compression artifacts without overfitting to compression-specific patterns.
Proposed method
- Extract non-overlapping image patches of size (64,64,3) or (128,128,3) from input images for localized feature learning.
- Employ a residual CNN architecture (inspired by ResNet) to capture hierarchical local and global features, improving gradient flow and performance.
- Use patch-level classification via thresholding or SVM to detect anomalies indicative of retouching or GAN generation.
- Apply image-level classification by aggregating patch predictions using majority voting or SVM for final decision-making.
- Fine-tune the model on PNG-formatted images to verify it does not learn compression-specific artifacts, ensuring generalization to compressed formats.
- Conduct ablation studies to validate the necessity of residual connections, showing significant performance drops when removed.
Experimental results
Research questions
- RQ1Can a deep CNN effectively detect facial retouching in images from the ND-IIITD dataset with high accuracy?
- RQ2How well does the proposed method generalize to GAN-generated images, particularly those from StarGAN?
- RQ3Does the model maintain high detection accuracy under lossy JPEG compression, a common real-world scenario?
- RQ4To what extent do residual connections contribute to the model’s robustness and performance in detecting synthetic alterations?
- RQ5Can the model distinguish between authentic and synthetic images without overfitting to image compression artifacts?
Key findings
- The proposed method achieves 99.65% accuracy in detecting retouched facial images on the ND-IIITD dataset, significantly outperforming the prior state-of-the-art (87%).
- For GAN-generated images from StarGAN, the model reaches 99.83% accuracy using thresholding and 99.73% using SVM, demonstrating strong generalization.
- On JPEG-compressed images (quality factor 50), the model maintains 96.33% accuracy using SVM, though thresholding drops to 88.89%, indicating SVM’s superiority under compression.
- Ablation studies confirm that removing residual connections reduces patch-level accuracy to 97.83% and image-level accuracy to 96.80% (thresholding), highlighting their critical role.
- Fine-tuning on PNG images confirms the model does not learn compression-specific patterns, as performance remains high on compressed formats.
- The model generalizes well across probes, achieving 99.73% testing accuracy (thresholding) and 99.91% (SVM) when trained on one probe and tested on others, indicating robustness to inter-probe variation.
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.