[Paper Review] Robust Attentive Deep Neural Network for Exposing GAN-generated Faces
This paper proposes a robust, end-to-end attentive deep learning framework that detects GAN-generated faces by analyzing inconsistencies in corneal specular highlights between the two eyes. Using a Residual Attention Network (RAN) with a joint loss combining binary cross-entropy and WMW-statistic-based AUC optimization, the method achieves state-of-the-art performance on both balanced and imbalanced datasets, including a newly created FFHQ-GAN benchmark, while providing interpretable detection via attention maps.
GAN-based techniques that generate and synthesize realistic faces have caused severe social concerns and security problems. Existing methods for detecting GAN-generated faces can perform well on limited public datasets. However, images from existing public datasets do not represent real-world scenarios well enough in terms of view variations and data distributions (where real faces largely outnumber synthetic faces). The state-of-the-art methods do not generalize well in real-world problems and lack the interpretability of detection results. Performance of existing GAN-face detection models degrades significantly when facing imbalanced data distributions. To address these shortcomings, we propose a robust, attentive, end-to-end network that can spot GAN-generated faces by analyzing their eye inconsistencies. Specifically, our model learns to identify inconsistent eye components by localizing and comparing the iris artifacts between the two eyes automatically. Our deep network addresses the imbalance learning issues by considering the AUC loss and the traditional cross-entropy loss jointly. Comprehensive evaluations of the FFHQ dataset in terms of both balanced and imbalanced scenarios demonstrate the superiority of the proposed method.
Motivation & Objective
- To address the lack of generalization and interpretability in existing GAN-face detection methods under real-world data imbalance.
- To improve detection performance on imbalanced datasets where real faces vastly outnumber synthetic ones.
- To develop an explainable method that identifies GAN-generated faces through physical inconsistencies in eye regions, particularly corneal specular highlights.
- To design a differentiable loss function that effectively optimizes for AUC in imbalanced learning scenarios.
- To create a new benchmark dataset, FFHQ-GAN, for evaluating GAN-face detection under realistic data distribution conditions.
Proposed method
- Uses Mask R-CNN to localize and extract iris regions from face images.
- Employs a Residual Attention Network (RAN) to automatically learn and localize inconsistencies in corneal specular highlights between the two eyes.
- Designs a joint loss function combining standard binary cross-entropy loss with a relaxation of the ROC-AUC loss via Wilcoxon-Mann-Whitney (WMW) statistics for improved optimization on imbalanced data.
- Applies end-to-end training to jointly optimize feature learning and detection using the combined loss.
- Utilizes attention maps from the RAN to provide interpretability by highlighting regions of interest, such as inconsistent specular highlights.
- Validates the method on a newly constructed FFHQ-GAN dataset with both balanced and imbalanced data splits.
Experimental results
Research questions
- RQ1Can eye-level inconsistencies, particularly in corneal specular highlights, serve as a reliable and interpretable cue for detecting GAN-generated faces?
- RQ2How can deep learning models be made robust to data imbalance in GAN-face detection, where real faces significantly outnumber fake ones?
- RQ3Does a joint loss combining cross-entropy and AUC-optimization via WMW statistics improve detection performance on imbalanced datasets compared to standard cross-entropy alone?
- RQ4Can an end-to-end, attention-based model outperform traditional CNNs in detecting subtle artifacts in GAN-generated faces?
- RQ5To what extent does the proposed method generalize to real-world scenarios with view variations and non-frontal face poses?
Key findings
- The proposed RAN model with BCE + AUC (via WMW) loss achieves the highest performance across all metrics—accuracy, AUC, F1, and recall—on both balanced and imbalanced versions of the FFHQ-GAN dataset.
- On the imbalanced FFHQ-GAN dataset, the model achieves a recall of 0.92, significantly outperforming ResNet-50 and Xception, which achieve recalls below 0.70.
- The ablation study confirms that the joint BCE + AUC loss improves performance over BCE-only training, with the AUC score increasing by 5.2% on the imbalanced set.
- The optimal hyperparameter α in the loss function is found to be 0.4, yielding the best AUC performance across all tested values.
- Visualization of attention maps shows that the model focuses on corneal specular highlights in fake faces while distributing attention more broadly over the iris in real faces, confirming its ability to learn relevant artifacts.
- The method successfully detects GAN-generated faces in non-frontal and side-view images, demonstrating robustness to pose variations.
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.