Swin Meets EfficientNet: Lightweight Architectures for GAN-Based Face Forensics
Sejuti Basu, Ashima Sood, Vijay Kumar, Sahil Sharma
Key points
From the paper's conclusion- Our results suggest that combining hierarchical CNN features with shifted-window self-attention provides an efficient and computationally lightweight method for detecting GAN-generated synthetic faces.
Abstract
Modern generative models, such as GANs, diffusion architectures, and autoregressive systems, now produce facial images that are nearly indistinguishable from authentic photographs. This capability makes detecting forged images increasingly difficult, raising serious concerns about identity theft, fraud, and misinformation campaigns. Our research focuses specifically on GAN-generated synthetic faces, which underpin many face-centric deepfakes, and investigates efficient detection approaches using image analysis alone. Existing detection systems rely heavily on either convolutional neural networks (CNNs) or global vision transformers. While CNNs excel at identifying texture-based local features, they struggle with broader contextual understanding. Traditional Vision Transformer (ViT) models can capture long-range structures effectively, but demand substantial computational resources. Our work explores Swin-Transformer-based architectures across three implementations: a compact Swin Transformer trained from the ground up, ImageNet-1K pre-trained Swin-Tiny and Swin-Small models adapted for binary classification, and a novel hybrid combining EfficientNet-B0's convolutional processing with a Swin Transformer backend. We evaluated all models using the 140K Real and Fake Faces dataset, which includes StyleGAN-generated fake faces alongside authentic images from Flickr and DFDC, with balanced splits for training, validation, and testing. The EfficientNetB0+Swin hybrid achieved 99% accuracy and a 99.44% recall on 5,000 test images, outperforming both pure Swin variants and a previous CNN-only baseline on this dataset. Our results suggest that combining hierarchical CNN features with shifted-window self-attention provides an efficient and computationally lightweight method for detecting GAN-generated synthetic faces.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Real time detection of deepfakes using the efficient Swin attention network with global and local facial featuresDiscover Artificial Intelligence · 2026
- Deep Learning for Deepfake Image Detection: Comparative Model Evaluation and Gradient-Based Visual AttributionarXiv · 2026
- Open-Set Deepfake Detection: A Parameter-Efficient Adaptation Method With Forgery Style MixtureIEEE Transactions on Circuits and Systems for Video Technology · 2026
- Deepfake Generation and Detection: A Benchmark and SurveyACM Computing Surveys · 2026
- An Improved Deepfake Detection Approach Using Hybrid Architecture Based on EfficientNet and Vision Transformer.Journal of imaging · 2026
- Beyond Shortcut Learning: Hierarchical Spatial Prototype Regularization for Face Forgery DetectionarXiv · 2026