CLIPping the Deception: Adapting Vision-Language Models for Universal Deepfake Detection

Sohail Ahmed Khan, Duc-Tien Dang-Nguyen
2/20/2024
cs.CV

No official code found. Best implementation: sfimediafutures/CLIPping-the-Deception (87 stars, MIT, last commit 2025-12-06). 1 more below.

Abstract

The recent advancements in Generative Adversarial Networks (GANs) and the emergence of Diffusion models have significantly streamlined the production of highly realistic and widely accessible synthetic content. As a result, there is a pressing need for effective general purpose detection mechanisms to mitigate the potential risks posed by deepfakes. In this paper, we explore the effectiveness of pre-trained vision-language models (VLMs) when paired with recent adaptation methods for universal deepfake detection. Following previous studies in this domain, we employ only a single dataset (ProGAN) in order to adapt CLIP for deepfake detection. However, in contrast to prior research, which rely solely on the visual part of CLIP while ignoring its textual component, our analysis reveals that retaining the text part is crucial. Consequently, the simple and lightweight Prompt Tuning based adaptation strategy that we employ outperforms the previous SOTA approach by 5.01% mAP and 6.61% accuracy while utilizing less than one third of the training data (200k images as compared to 720k). To assess the real-world applicability of our proposed models, we conduct a comprehensive evaluation across various scenarios. This involves rigorous testing on images sourced from 21 distinct datasets, including those generated by GANs-based, Diffusion-based and Commercial tools.

View on arXivView PDF

Code Implementations(2)

MIT

Code and pre-trained models for our paper "CLIPping the Deception: Adapting Vision-Language Models for Universal Deepfake Detection".

30Shell, PythonOct 30, 20251 years agoMIT
MIT

Code and pre-trained models for our paper "CLIPping the Deception: Adapting Vision-Language Models for Universal Deepfake Detection".

8711Shell, PythonFeb 25, 202410 months agoMIT
clipdeepfake-detectiondeepfakesfake-image-detectionvision-and-language

Similar Papers

Cite this paper

@article{khan2024clipping,
  title  = {CLIPping the Deception: Adapting Vision-Language Models for Universal Deepfake Detection},
  author = {Sohail Ahmed Khan and Duc-Tien Dang-Nguyen},
  year   = {2024},
  eprint = {2402.12927},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2402.12927v1}
}

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/2402.12927.svg)](https://codeofpaper.com/paper/2402.12927)

Discussion