From Specificity to Generality: Revisiting Generalizable Artifacts in Detecting Face Deepfakes

Long Ma, Zhiyuan Yan, Jin Xu, Yize Chen, Qinglang Guo, Zhen Bi, Yong Liao, Hui Lin

Abstract

Deepfake detection currently operates in a reactive "cat-and-mouse" cycle where detectors struggle to generalize to the rapid emergence of new generative models. This research shifts the paradigm from identifying specific, fleeting artifacts to targeting two universal "common denominators" found across nearly all deepfakes: Face Inconsistency Artifacts (FIA) and Up-Sampling Artifacts (USA). By training a standard classifier on pseudo-fake data designed to isolate these traits, the proposed framework achieves state-of-the-art generalization across 58 different forgery methods, including the latest diffusion-based generators.

Introduction

The core challenge in deepfake detection is generalization. Most existing detectors are "overfit" to the specific quirks of the data they were trained on, such as a particular GAN architecture. When a new generator—like a high-end Diffusion model—is introduced, these detectors often fail because the specific artifacts they learned to recognize are no longer present. While previous attempts sought to identify handcrafted features like irregular eye blinking, these methods quickly become obsolete as generative models improve. This paper asks a fundamental question: What do all deepfakes have in common? The authors identify that regardless of the generator, the mathematical process of up-sampling and the structural blending of facial features leave persistent, detectable traces.

Methodology

The authors propose a three-part framework designed to build a "universal" detector that focuses on generalizable signals rather than specific generator noise.

1. FIA-USA Data Augmentation

Instead of relying on a library of existing deepfakes, the framework creates "pseudo-fakes" from real data:

  • Up-Sampling Artifacts (USA): The team uses Autoencoders and Super-Resolution models to reconstruct real faces. This process mimics the mathematical "fingerprints" left by the up-sampling layers inherent in generative AI architectures.
  • Face Inconsistency Artifacts (FIA): Using a hierarchical masking strategy, these reconstructed regions (e.g., eyes, mouth) are blended back into the original image. This simulates the blending boundaries and detail mismatches common in forgeries.

2. Automatic Forgery-aware Feature Selection (AFFS)

Standard neural networks contain redundant information that can distract from forgery detection. AFFS is a supervised ranking mechanism that identifies which specific channels in the model are most sensitive to forgery masks. By pruning irrelevant channels, the model is forced to focus exclusively on discriminative signals related to the forgery process.

3. Region-aware Contrastive Regularization (RCR)

This loss function refines the model's feature space by comparing regions. It pulls features of real regions together and pushes fake regions away. Crucially, RCR discards pixels exactly on the forgery boundary during training, as these "mixed" pixels can introduce noise that confuses the model's ability to learn robust features.

Experimental Evaluation

The study is remarkably comprehensive, testing against 58 distinct forgery methods across several major benchmarks:

  • Traditional Benchmarks: FaceForensics++ (FF++), Celeb-DF, and the Deepfake Detection Challenge (DFDC).
  • Generative/Diffusion Sets: The Diffusion Facial Forgery (DiFF) dataset, featuring images from Midjourney and Stable Diffusion XL.
  • The DF40 Benchmark: A massive new benchmark encompassing 40 state-of-the-art deepfake methods from 2024, including identity swapping and full-face synthesis.

Key Results

  • Superior Generalization: On the cutting-edge DF40 dataset, the proposed method achieved an average AUC (Area Under the Curve) of 87.8%, significantly outperforming previous leaders like RECCE (78.1%) and SBI (64.4%).
  • Diffusion Dominance: On the DiFF dataset, the framework achieved an average AUC of 85.2%, representing a 23.4% improvement over the previous state-of-the-art.
  • Robustness: The detector maintained high performance despite image degradations such as Gaussian blur, JPEG compression, or contrast changes, indicating it relies on structural artifacts rather than easily erased high-frequency noise.

Discussion and Future Work

The success of this framework suggests that the "essence" of a deepfake can be captured through simple reconstruction and blending techniques. By categorizing artifacts into FIA and USA, the authors provide a roadmap for future-proofing detectors against evolving generative math.

However, limitations remain. The current framework is image-level and does not yet exploit temporal inconsistencies in video or audio-visual mismatches. Furthermore, as generative models move toward "native" high-resolution generation without traditional up-sampling layers, the USA component will need to evolve. Future research may also integrate the zero-shot capabilities of massive Foundation Models to further enhance generalization across the ever-shifting landscape of synthetic media.

Summary updated

BibTeX
@inproceedings{ma2025from,
  author = {Long Ma and Zhiyuan Yan and Jin Xu and Yize Chen and Qinglang Guo and Zhen Bi and Yong Liao and Hui Lin},
  title = {{From Specificity to Generality: Revisiting Generalizable Artifacts in Detecting Face Deepfakes}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=HCSjARBq5T},
}
Figure