Cross-Forgery Analysis of Vision Transformers and CNNs for Deepfake Image Detection

Davide Alessandro Coccomini, Roberto Caldelli, Fabrizio Falchi, Claudio Gennaro, Giuseppe Amato
6/28/2022
66 citations
cs.CV
transformer-attention

Official code: davide-coccomini/Cross-Forgery-Analysis-of-Vision-Transformers-and-CNNs-for-Deepfake-Image-Detection (4 stars, PyTorch, last commit 2022-10-03).

Abstract

Deepfake Generation Techniques are evolving at a rapid pace, making it possible to create realistic manipulated images and videos and endangering the serenity of modern society. The continual emergence of new and varied techniques brings with it a further problem to be faced, namely the ability of deepfake detection models to update themselves promptly in order to be able to identify manipulations carried out using even the most recent methods.

Show full abstract

This is an extremely complex problem to solve, as training a model requires large amounts of data, which are difficult to obtain if the deepfake generation method is too recent. Moreover, continuously retraining a network would be unfeasible. In this paper, we ask ourselves if, among the various deep learning techniques, there is one that is able to generalise the concept of deepfake to such an extent that it does not remain tied to one or more specific deepfake generation methods used in the training set. We compared a Vision Transformer with an EfficientNetV2 on a cross-forgery context based on the ForgeryNet dataset. From our experiments, It emerges that EfficientNetV2 has a greater tendency to specialize often obtaining better results on training methods while Vision Transformers exhibit a superior generalization ability that makes them more competent even on images generated with new methodologies.

View on arXivView PDF

Code Implementations(1)

PyTorch

Code for the paper Cross Forgery Analysis of Vision Transformers and CNNs for Deepfake Image Detection

41Oct 3, 20224 years ago
convolutional-neural-networksdeepfakedeepfake-detectionefficientnetpaper+4 more

Similar Papers

Cite this paper

@article{coccomini2022crossforgery,
  title  = {Cross-Forgery Analysis of Vision Transformers and CNNs for Deepfake Image Detection},
  author = {Davide Alessandro Coccomini and Roberto Caldelli and Fabrizio Falchi and Claudio Gennaro and Giuseppe Amato},
  year   = {2022},
  eprint = {2206.13829},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2206.13829}
}

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

Discussion