DiffFake: Exposing Deepfakes using Differential Anomaly Detection

Sotirios Stamnas, Victor Sanchez
2/22/2025
cs.CV

No official code found. Best implementation: sotossta/DiffFake (4 stars, last commit 2025-12-08).

Abstract

Traditional deepfake detectors have dealt with the detection problem as a binary classification task. This approach can achieve satisfactory results in cases where samples of a given deepfake generation technique have been seen during training, but can easily fail with deepfakes generated by other techniques. In this paper, we propose DiffFake, a novel deepfake detector that approaches the detection problem as an anomaly detection task. Specifically, DiffFake learns natural changes that occur between two facial images of the same person by leveraging a differential anomaly detection framework. This is done by combining pairs of deep face embeddings and using them to train an anomaly detection model. We further propose to train a feature extractor on pseudo-deepfakes with global and local artifacts, to extract meaningful and generalizable features that can then be used to train the anomaly detection model. We perform extensive experiments on five different deepfake datasets and show that our method can match and sometimes even exceed the performance of state-of-the-art competitors.

View on arXivView PDF

Code Implementations(1)

sotossta/DiffFakeCommunity62%

Official code of the WACVW 2025 paper DiffFake: Exposing Deepfakes using Differential Anomaly Detection

40PythonFeb 23, 202510 months ago

Similar Papers

Cite this paper

@article{stamnas2025difffake,
  title  = {DiffFake: Exposing Deepfakes using Differential Anomaly Detection},
  author = {Sotirios Stamnas and Victor Sanchez},
  year   = {2025},
  eprint = {2502.16247},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.16247v1}
}

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

Discussion