Learning Natural Consistency Representation for Face Forgery Video Detection

Daichi Zhang, Zihao Xiao, Shikun Li, Fanzhao Lin, Jianmin Li, Shiming Ge

Introduction

The rapid advancement of deepfake technology has created a significant challenge for digital forensics. Traditional deepfake detectors typically rely on fully supervised learning, training on datasets that contain both real and manipulated videos. While these models perform exceptionally well on known forgery techniques, they often struggle with generalization. When faced with a novel manipulation method or low-quality video—common in real-world scenarios—these detectors frequently fail because they overfit to low-level pixel artifacts that are easily lost through compression or noise.

This paper proposes a paradigm shift: instead of training models to recognize the ever-changing artifacts of "fake" videos, we should focus on learning the "natural consistency" of real human faces. The authors introduce NACO (Natural Consistency representation), a self-supervised framework designed to understand the inherent spatiotemporal patterns of authentic human expressions and movements.

The NACO Framework

NACO operates on the premise that real face videos possess a high-level semantic coherence that forgery methods struggle to replicate perfectly. The framework employs a two-stage approach to capture this consistency.

1. Self-Supervised Representation Learning

In the first stage, the model is trained exclusively on a massive dataset of real-only videos (VoxCeleb2). This allows the model to define a compact distribution of what constitutes "natural" movement without being biased by specific forgery types. The architecture utilizes a hybrid approach:

  • CNN-Transformer Backbone: Convolutional Neural Networks (CNNs) are used to extract local spatial features from individual frames, while a Transformer architecture learns long-range spatiotemporal dependencies across the video sequence. This synergy allows the model to capture both fine-grained textures and global movement patterns.
  • Spatial Predictive Module (SPM): To learn spatial relationships, the model is tasked with predicting randomly masked spatial features using the surrounding context. This forces the network to understand how different facial components relate to one another over time.
  • Temporal Contrastive Module (TCM): To sensitize the model to the "rhythm" of human movement, it must distinguish between a natural sequence of frames and a shuffled version. Shuffling serves as a proxy for the temporal discontinuities often found in forged videos.

2. Face Forgery Detection

Once the backbone has learned a robust representation of natural consistency, it is frozen. A lightweight, two-layer Multi-Layer Perceptron (MLP) head is added for the final binary classification task (real vs. fake). This head is fine-tuned on labeled datasets, such as FaceForensics++ (FF++), to map the learned consistency features to a forgery probability.

Experimental Results

The effectiveness of NACO was evaluated across several benchmark datasets, including Celeb-DF-v2, DFDC, FaceShifter, and DeeperForensics, focusing on two critical areas: generalization and robustness.

Superior Generalization

One of the primary strengths of NACO is its ability to detect unseen forgery methods. When trained on FF++ and tested on the challenging Celeb-DF dataset, NACO achieved an 89.5% AUC. This significantly outperforms other state-of-the-art methods, such as LipForensics (82.4%) and FTCN (86.9%), which rely more heavily on specific artifact detection.

Robustness to Perturbations

Real-world videos are often degraded by noise, blur, or heavy compression. In tests involving seven types of video corruption, NACO demonstrated remarkable stability. While standard detectors like Xception experienced a performance drop of 21.5% AUC under these conditions, NACO's performance only decreased by 3.7%. Because the model focuses on high-level semantic consistency (e.g., how a mouth moves during speech) rather than low-level pixels, it is far more resilient to environmental noise.

Conclusion and Future Work

NACO represents a significant step forward in deepfake detection by prioritizing the modeling of real human behavior over the pursuit of specific forgery artifacts. By learning a compact representation of natural consistency, the model achieves superior generalization and robustness.

Future research directions include the integration of multi-modal data, such as audio-visual lip-sync consistency, to further enhance detection accuracy. Additionally, the authors aim to refine the model's ability to provide precise pixel-level localization of forged areas, moving beyond the current heat-map based visualizations provided by Grad-CAM.

Summary updated

BibTeX
@inproceedings{zhang2024learning,
  author = {Daichi Zhang and Zihao Xiao and Shikun Li and Fanzhao Lin and Jianmin Li and Shiming Ge},
  title = {{Learning Natural Consistency Representation for Face Forgery Video Detection}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-73010-8\_24},
}
Figure