Abstract
Deepfake detection remains a significant challenge due to the poor generalization of models across different manipulation techniques. This paper proposes a novel framework that leverages face depth maps as a physical prior to identify forgeries. By employing a Face Depth Map Transformer (FDMT) for patch-wise depth estimation and specialized attention modules to integrate RGB and depth signals, the method captures subtle 3D distortions and temporal inconsistencies. Experimental results on FaceForensics++ and Celeb-DF demonstrate state-of-the-art performance, particularly in cross-dataset evaluations where the model achieves an AUC of 83.35%.
Introduction
The rapid advancement of generative models has made deepfake detection a "cat-and-mouse" game. While current detectors perform well on known datasets, they often fail to generalize to unseen manipulation methods. Most existing approaches rely on RGB pixel artifacts or frequency-domain clues, which can be easily bypassed by sophisticated generators.
This research argues that depth information serves as a more robust anchor for detection. A real human face is a physical 3D object with predictable surface properties. Manipulations often introduce subtle 3D distortions or depth anomalies, especially at the boundaries of swapped regions. Furthermore, while fake videos may appear smooth in the RGB domain, their underlying depth transitions often exhibit abrupt, non-physical "jitters."
Methodology
The proposed framework consists of three main components designed to extract and utilize depth-based features:
- Face Depth Map Transformer (FDMT): Traditional depth estimators often smooth out local details, which can obscure manipulation artifacts. FDMT processes images patch-by-patch to estimate depth, specifically targeting local anomalies and sharp depth "jumps" indicative of forgery.
- Multi-head Depth Attention (MDA): This module integrates estimated depth features into a standard backbone (e.g., Xception or ResNet). MDA uses an attention mechanism to learn the correspondence between RGB textures and depth structures, prioritizing features most relevant to manipulation.
- RGB-Depth Inconsistency Attention (RDIA): To capture temporal artifacts, RDIA analyzes the residuals between consecutive frames. It measures the correlation between spatial-temporal inconsistencies in both RGB and depth domains, identifying fakes that exhibit unnatural 3D motion.
Experimental Results
The model was evaluated on two benchmark datasets: FaceForensics++ (FF++) and Celeb-DF.
Intra-dataset Performance
On the FF++ dataset, the model reached a high AUC of 98.40%, demonstrating its effectiveness on known manipulation types.
Cross-dataset Generalization
The "gold standard" for real-world usability is cross-dataset performance. When trained on FF++ and tested on the high-quality Celeb-DF dataset, the proposed method achieved an AUC of 83.35%. This represents a significant 5.7% improvement over previous state-of-the-art methods.
Backbone Agnosticism
The depth-attention modules are backbone-agnostic. Tests using Xception, ResNet50, and EfficientNet showed consistent performance gains ranging from 1.6% to 7.3% in cross-database scenarios, proving the robustness of depth as a feature.
Conclusion
By treating face depth as a physical constraint, this framework provides a powerful tool for deepfake detection that is harder for generative models to deceive. The use of patch-wise estimation and temporal inconsistency analysis allows the model to generalize effectively to unseen forgery techniques. Future work may explore additional 3D priors, such as surface normals or lighting consistency, to further enhance the physical awareness of detection systems.
Summary updated