DFCon: Attention-Driven Supervised Contrastive Learning for Robust Deepfake Detection

MD Sadik Hossain Shanto, Mahir Labib Dihan, Souvik Ghosh, Riad Ahmed Anonto, Hafijul Hoque Chowdhury +6 more
1/28/2025
cs.CVcs.CRcs.LG

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

This report presents our approach for the IEEE SP Cup 2025: Deepfake Face Detection in the Wild (DFWild-Cup), focusing on detecting deepfakes across diverse datasets. Our methodology employs advanced backbone models, including MaxViT, CoAtNet, and EVA-02, fine-tuned using supervised contrastive loss to enhance feature separation. These models were specifically chosen for their complementary strengths. Integration of convolution layers and strided attention in MaxViT is well-suited for detecting local features. In contrast, hybrid use of convolution and attention mechanisms in CoAtNet effectively captures multi-scale features. Robust pretraining with masked image modeling of EVA-02 excels at capturing global features. After training, we freeze the parameters of these models and train the classification heads. Finally, a majority voting ensemble is employed to combine the predictions from these models, improving robustness and generalization to unseen scenarios. The proposed system addresses the challenges of detecting deepfakes in real-world conditions and achieves a commendable accuracy of 95.83% on the validation dataset.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{shanto2025dfcon,
  title  = {DFCon: Attention-Driven Supervised Contrastive Learning for Robust Deepfake Detection},
  author = {MD Sadik Hossain Shanto and Mahir Labib Dihan and Souvik Ghosh and Riad Ahmed Anonto and Hafijul Hoque Chowdhury and Abir Muhtasim and Rakib Ahsan and MD Tanvir Hassan and MD Roqunuzzaman Sojib and Sheikh Azizul Hakim and M. Saifur Rahman},
  year   = {2025},
  eprint = {2501.16704},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.16704v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2501.16704.svg)](https://codeofpaper.com/paper/2501.16704)

Discussion