Detecting Deepfakes with Differential Anomaly Detection

Friday 28 March 2025


Deepfakes have been a growing concern in recent years, as they’ve become increasingly sophisticated and difficult to detect. These manipulated videos can be used for nefarious purposes, such as spreading misinformation or impersonating public figures. To combat this issue, researchers have developed a novel approach to detecting deepfakes using differential anomaly detection.


The key idea behind this method is to learn natural changes that occur between two facial images of the same person. This is done by combining pairs of deep face embeddings and using them to train an anomaly detection model. The researchers propose training a feature extractor on pseudo-deepfakes with global and local artifacts, which can then be used to extract meaningful and generalizable features for the anomaly detection model.


The proposed method, called DiffFake, was tested on five different deepfake datasets and showed promising results. It outperformed state-of-the-art competitors in detecting cross-manipulation and cross-dataset deepfakes, as well as those generated by recent techniques like Stable-Diffusion and Midjourney.


One of the main challenges in deepfake detection is dealing with the variability in lighting, expression, and pose between different facial images. To address this issue, DiffFake uses a feature extractor that’s trained on pseudo-deepfakes with global and local artifacts. This allows it to learn features that are robust to these variations.


Another advantage of DiffFake is its ability to detect deepfakes without requiring any information about the manipulation technique used to create them. This makes it more effective in real-world scenarios where the type of manipulation may not be known.


The researchers also explored the impact of different backbones and anomaly detection models on the performance of DiffFake. They found that using a GMM (Gaussian Mixture Model) as the anomaly detection model resulted in the best performance, while larger networks like EfficientNet-b4 performed better than smaller ones like ResNet50.


While DiffFake is a promising approach to detecting deepfakes, it’s not without its limitations. For example, it may struggle with detecting individual images depicting completely artificial faces generated by state-of-the-art methods. However, the researchers are actively working on improving the method and exploring new directions for future research.


The development of effective deepfake detection methods is crucial for maintaining trust in online media and preventing the spread of misinformation. DiffFake’s innovative approach to differential anomaly detection has shown promising results and could potentially be used as a powerful tool in this fight against manipulated content.


Cite this article: “Detecting Deepfakes with Differential Anomaly Detection”, The Science Archive, 2025.


Deepfakes, Anomaly Detection, Facial Recognition, Artificial Intelligence, Machine Learning, Misinformation, Online Media, Manipulated Content, Image Processing, Computer Vision


Reference: Sotirios Stamnas, Victor Sanchez, “DiffFake: Exposing Deepfakes using Differential Anomaly Detection” (2025).


Leave a Reply