Exploring Temporal Coherence for More General Video Face Forgery Detection

Yinglin Zheng, Jianmin Bao, Dong Chen, Ming Zeng, Fang WenICCV 2021

Abstract

Current face manipulation techniques produce high-quality static images but often fail to maintain temporal coherence in video sequences. This paper presents a novel framework for video face forgery detection that leverages these temporal inconsistencies. By employing a Fully Temporal Convolution Network (FTCN) with 1x1 spatial kernels and a Temporal Transformer, the proposed model prioritizes temporal features over spatial artifacts. This approach significantly enhances generalization to unseen forgery methods and improves robustness against common video degradations.

Introduction: The Temporal Achilles' Heel

The rapid advancement of generative models has made it increasingly difficult to distinguish deepfakes from real videos based on single-frame analysis. Most existing detectors focus on spatial artifacts—such as blending boundaries or GAN-specific textures. However, these "spatial-first" methods often fail to generalize to new manipulation techniques that produce different spatial fingerprints.

Temporal incoherence in deepfake videos often manifests as subtle flickering or discontinuities across consecutive frames.

The core insight of this work is that most video forgeries are synthesized frame-by-frame. This independent processing inevitably leads to temporal incoherence, characterized by subtle flickering, sudden changes in facial features (like moles or wrinkles), and discontinuous motion. By focusing on these temporal "glitches," we can build a detector that is inherently more robust to the specific textures of any given generator.

Methodology

The proposed framework consists of two stages designed to capture both local and global temporal cues.

Fully Temporal Convolution Network (FTCN)

Standard 3D convolutions typically use $3 \times 3 \times 3$ kernels that mix spatial and temporal information. The FTCN architecture introduces a critical constraint: it reduces the spatial kernel size to $1 \times 1$ while maintaining the temporal dimension (e.g., $3 \times 1 \times 1$). By restricting the spatial field of view to a single pixel, the network is physically prevented from learning spatial artifacts like blending edges. Instead, it is forced to analyze how individual pixel values evolve over time, making it highly sensitive to temporal discontinuities.

Temporal Transformer (TT)

While the FTCN excels at detecting local flickering, some inconsistencies occur over longer durations. To address this, a lightweight Temporal Transformer is integrated on top of the FTCN features. This component captures long-range dependencies across the video clip, identifying features that may appear and disappear inconsistently over many frames.

Results and Generalization

The framework was evaluated across several benchmark datasets, including FaceForensics++, Celeb-DF, and the Deepfake Detection Challenge (DFDC).

  • Superior Generalization: In "leave-one-out" cross-manipulation tests, the model achieved an average AUC of 99.7%. More importantly, on the challenging Celeb-DF dataset, it reached 86.9% AUC, significantly outperforming spatial-based methods like Face X-ray (79.5%).
  • Robustness to Compression: Because temporal flickering is often preserved even when spatial details are blurred or compressed, the FTCN-based model remains effective in low-quality video scenarios where other detectors fail.
  • Localization Capabilities: Beyond binary classification, the method can be used to generate heatmaps that localize temporal defects.
The proposed method can localize temporal defects, identifying specific regions of the face that exhibit inconsistent motion or texture over time.

Conclusion

By shifting the focus from spatial artifacts to temporal coherence, this research provides a more generalizable and robust path for deepfake detection. The FTCN's "blindness" to spatial textures prevents overfitting to specific generative models, while the Temporal Transformer ensures that long-term inconsistencies are not overlooked. This approach represents a significant step toward a universal detector capable of keeping pace with the evolving landscape of face forgery.

Summary updated

BibTeX
@inproceedings{zheng2021exploring,
  author = {Yinglin Zheng and Jianmin Bao and Dong Chen and Ming Zeng and Fang Wen},
  title = {{Exploring Temporal Coherence for More General Video Face Forgery Detection}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2021},
  url = {https://openreview.net/forum?id=_TURQudo7eqB},
}
Figure