PairCLIP-SWA: Similarity-Guided Balancing and Stochastic Weight Averaging for Generalized Deepfake Image Detection with OpenCLIP
Not on the map. Why?
Abstract (arXiv)
Deepfake detectors are almost always deployed as the single checkpoint that scored best on a validation split, yet the reliability of that choice is rarely measured. We measure it with PairCLIP-SWA, a single-backbone detector that adapts an OpenCLIP ViT-L/14 visual tower by progressive block unfreezing on a class-balanced corpus built by CLIP-similarity-guided one-to-one subsampling, and averages the fine-tuning trajectory in weight space. Trained in-domain on the IEEE SP Cup 2025 (DF-Wild-Cup) benchmark under the same protocol as the strongest published three-backbone ensemble, the weight-averaged detector reaches 97.04% accuracy, 98.64% AU-ROC and a 4.07% equal error rate, against 94.46%, 97.60% and 5.00%. Its training log shows why averaging matters: over the averaged epochs the non-averaged checkpoint swings across 5.34 points of validation accuracy while its validation loss more than doubles, whereas the average is never worse and is up to 5.99 points better. On an OpenForensics-derived benchmark the same instability becomes a misranking: the checkpoint that validation accuracy selects (98.43%) scores 88.85% on a disjoint 10,905-image test partition, rejecting 21.1% of genuine photographs, while the terminal average, ranked last on validation, scores 94.76%. A study of twenty-two in-house configurations on the identical DF-Wild-Cup split, including preprocessing ablations, shows that CLIP pre-training rather than ensembling drives accuracy, that secondary face cropping costs about 34 points, and that frequency-domain inputs transfer poorly. We recommend per-class selection criteria measured off the early-stopping split.
Key facts. No citing papers in the map yet (data through 26 Nov 2026). Builds on 54 of its 79 references that are in the map. Submitted 27 Oct 2026.
Builds on
54 of 79 references.
References · 54
- 2017Attention Is All You Needcited by 62,125
- 2015Deep Residual Learning for Image Recognitioncited by 53,116
- 2014Adam: A Method for Stochastic Optimizationcited by 38,598
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 34,996
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 31,279
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,787
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 19,429
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,673
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 15,591
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,366
- 2014Explaining and Harnessing Adversarial Examplescited by 7,581
- 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 7,168
38 more
- 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,616
- 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,570
- 2016Layer Normalizationcited by 6,002
- 2017Squeeze-and-Excitation Networkscited by 4,948
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,688
- 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,252
- 2022A ConvNet for the 2020scited by 3,746
- 2019Analyzing and Improving the Image Quality of StyleGANcited by 3,620
- 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,996
- 2015FaceNet: A Unified Embedding for Face Recognition and Clusteringcited by 2,905
- 2018CBAM: Convolutional Block Attention Modulecited by 2,528
- 2016Xception: Deep Learning with Depthwise Separable Convolutionscited by 2,370
- 2019Do ImageNet Classifiers Generalize to ImageNet?cited by 1,575
- 2022Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference timecited by 1,502
- 2018Averaging Weights Leads to Wider Optima and Better Generalizationcited by 1,277
- 2022Reproducible scaling laws for contrastive language-image learningcited by 1,237
- 2017Mixed Precision Trainingcited by 1,234
- 2019FaceForensics++: Learning to Detect Manipulated Facial Imagescited by 1,135
- 2020In Search of Lost Domain Generalizationcited by 1,100
- 2019CNN-generated images are surprisingly easy to spot... for nowcited by 872
- 2022Fine-Tuning can Distort Pretrained Features and Underperform Out-of-Distributioncited by 796
- 2019Celeb-DF: A Large-scale Challenging Dataset for DeepFake Forensicscited by 593
- 2020Thinking in Frequency: Face Forgery Detection by Mining Frequency-aware Cluescited by 542
- 2020Leveraging Frequency Analysis for Deep Fake Image Recognitioncited by 528
- 2023Towards Universal Fake Image Detectors that Generalize Across Generative Modelscited by 524
- 2019Face X-ray for More General Face Forgery Detectioncited by 479
- 2022Detecting Deepfakes with Self-Blended Imagescited by 349
- 2021Multi-attentional Deepfake Detectioncited by 345
- 2018Exposing Deep Fakes Using Inconsistent Head Posescited by 304
- 2022On the detection of synthetic images generated by diffusion modelscited by 298
- 2020Watch your Up-Convolution: CNN Based Generative Deep Neural Networks are Failing to Reproduce Spectral Distributionscited by 288
- 2020DeepFakes and Beyond: A Survey of Face Manipulation and Fake Detectioncited by 236
- 2019FaceShifter: Towards High Fidelity And Occlusion Aware Face Swappingcited by 230
- 2020Media Forensics and DeepFakes: an overviewcited by 215
- 2023DeepfakeBench: A Comprehensive Benchmark of Deepfake Detectioncited by 182
- 2023Raising the Bar of AI-generated Image Detection with CLIPcited by 175
- 2022Implicit Identity Leakage: The Stumbling Block to Improving Deepfake Detection Generalizationcited by 127
- 2022Towards the Detection of Diffusion Model Deepfakescited by 116
50 most cited of 54 All 54 (JSON)
Built on by
Not cited yet.