Exploring Depth Information for Face Manipulation Detection

Haoyue Wang, Meiling Li, Sheng Li, Zhenxing Qian, Xinpeng ZhangarXiv 2022 · DOI

Introduction

The rapid advancement of deepfake technology has created a significant challenge for digital forensics. While existing detection models perform well on high-quality, in-distribution data, they often struggle with two real-world hurdles: heavy image compression and cross-dataset generalization. Social media platforms frequently compress images, stripping away the fine-grained pixel artifacts that many detectors rely on. Furthermore, models often overfit to specific dataset "fingerprints," failing to detect novel manipulation techniques.

This paper proposes a novel framework that leverages face depth maps as a robust auxiliary feature. Unlike texture-based artifacts, the 3D geometry of a face is a physical property that remains relatively stable under compression and is harder for manipulation algorithms to replicate perfectly.

Methodology: Depth-Aware Detection

The core of the proposed system is the integration of geometric cues with standard visual features. This is achieved through two primary components:

Face Depth Map Transformer (FDMT)

Instead of relying on general-purpose depth estimators that attempt to produce smooth, realistic faces, the authors developed the Face Depth Map Transformer (FDMT). Built on a Vision Transformer (ViT) architecture, the FDMT processes images in $14 \times 14$ patches. Crucially, it is trained to treat manipulated regions as geometric anomalies, often assigning them a depth of zero. This creates a high-contrast signal where "fake" regions appear as flat surfaces or sharp discontinuities against the natural 3D structure of a real face.

Examples of input images and their corresponding estimated face depth maps.

Multi-head Depth Attention (MDA)

To effectively combine these geometric signals with RGB features from a backbone network (e.g., Xception or EfficientNet), the authors introduced the Multi-head Depth Attention (MDA) mechanism. Using a scaled dot-product attention, the MDA measures the correlation between visual and depth features. This allows the model to dynamically focus on regions where both modalities suggest the presence of a deepfake.

Experimental Results

The framework was evaluated on the FaceForensics++ (FF++) and Celeb-DF datasets, focusing on robustness and generalization.

Resilience to Compression

On the heavily compressed "c40" subset of FF++, the depth-augmented model consistently outperformed standard backbones. While RGB details are lost during compression, the estimated depth maps remain remarkably consistent, providing a reliable signal for detection even when visual artifacts are obscured.

Cross-Dataset Generalization

The most significant finding was the model's ability to generalize to unseen data. When trained on FF++ and tested on the high-quality Celeb-DF dataset, the proposed method achieved an AUC of 80.88%, representing a 6.66% improvement over the previous state-of-the-art (PD-Xception). This confirms that depth information acts as a "physical anchor" that transcends specific dataset artifacts.

Conclusion

By shifting the focus from mathematical artifacts to physical geometry, this research provides a more robust path for deepfake detection. The FDMT and MDA modules are "plug-and-play" components that enhance the performance of various neural architectures. Future work will likely explore temporal depth consistency in videos to further strengthen detection capabilities against evolving manipulation techniques.

Summary updated

BibTeX
@misc{wang2022exploring,
  author = {Haoyue Wang and Meiling Li and Sheng Li and Zhenxing Qian and Xinpeng Zhang},
  title = {{Exploring Depth Information for Face Manipulation Detection}},
  year = {2022},
  eprint = {2212.14230},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2212.14230},
}
Figure