Exposing Deep Fakes Using Inconsistent Head Poses

Xin Yang, Yuezun Li, Siwei Lyu

TL;DR

This paper introduces a novel method for detecting "DeepFakes" by identifying geometric inconsistencies in 3D head poses. By comparing the estimated head orientation of the central face (the synthesized part) against the orientation of the whole face, the authors can reliably flag manipulated videos that appear visually perfect but are geometrically "off."

What Problem Does This Paper Address?

As deep learning-based image synthesis matures, creating convincing "DeepFakes"—where one person's face is seamlessly swapped onto another's body—has become alarmingly easy. While early detection methods looked for visual artifacts like unnatural eye blinking or color mismatches, synthesis algorithms are rapidly evolving to fix these glitches.

The authors identify a more fundamental, "intrinsic" limitation: the production pipeline itself. Most DeepFake algorithms crop a face, synthesize a new one in a standardized 64x64 pixel space, and then warp it back onto the original head. This process often fails to perfectly align the 2D facial landmarks (like the corners of the eyes or mouth) with the original head's 3D geometry. This paper aims to exploit this subtle geometric "pose gap" that is often invisible to the human eye but mathematically detectable.

Methods

The core idea is to estimate the 3D head pose (rotation and translation) from 2D landmarks twice and look for a mismatch.

  1. Landmark Extraction: The system extracts 68 standard facial landmarks.
  2. Dual Pose Estimation:
    • Pose A: Estimated using all facial landmarks (the "whole face" view).
  3. Pose B: Estimated using only the central landmarks (eyes, nose, mouth—the area typically replaced by the DeepFake algorithm).
  4. The Comparison: In a real image, these two estimates should be nearly identical. In a DeepFake, the central landmarks often shift slightly (averaging about 1.5 pixels of error) during the synthesis and warping process. This causes Pose B to deviate significantly from Pose A.
  5. Classification: The difference between these two poses (rotation matrices and translation vectors) is fed into a Support Vector Machine (SVM) classifier to determine if the frame is real or fake.

Datasets

The authors evaluated their approach on two primary datasets:

  • UADFV: A dataset containing 49 real videos and 49 DeepFake videos. This was used to test the method on both individual frames and entire video sequences.
  • DARPA MediFor GAN Challenge: A subset consisting of 241 real images and 252 DeepFake images. This dataset provided a more challenging test environment with varying image qualities.

Key Insights and Ideas

  • Geometric Inconsistency over Visual Artifacts: Instead of looking for "blurry edges," the paper looks for "mathematical misalignment." This is a more robust cue because it targets a structural flaw in how DeepFakes are currently manufactured.
  • The 64x64 Bottleneck: The authors point out that because many synthesis models operate on a low-resolution, fixed-size crop, they lose the global context of the original head's orientation.
  • The "Aha" Moment: The realization that the outer contour of the face (which isn't swapped) provides a "ground truth" for the head's pose, while the inner face (which is swapped) provides a "tainted" pose. The delta between them is the smoking gun.

Key Results

The method proved highly effective, especially when analyzing entire videos:

  • UADFV Dataset: Achieved an AUROC (Area Under the ROC Curve) of 0.89 when looking at individual frames. When the results were averaged over entire videos, the performance jumped to an impressive 0.974.
  • DARPA GAN Challenge: Achieved an AUROC of 0.843.
  • Ablation Study: The authors found that using the full 3x3 rotation matrix and translation vectors provided better results (0.89 AUROC) than just using a simplified orientation vector (0.738 AUROC), proving that the 3D translation of the face is just as important as its rotation.

Limitations and Future Work

  • Landmark Dependency: The method's biggest weakness is its reliance on accurate 2D landmark detection. If an image is too blurry or the resolution is too low (as seen in some DARPA challenge images), the landmark detector fails, which in turn degrades the pose estimation.
  • Adversarial Evolution: As the authors acknowledge, future DeepFake generation tools could be updated to include a "pose loss" function during training, explicitly forcing the synthesized landmarks to match the original head pose, potentially bypassing this detection method.
  • Future Directions: The authors suggest that improving landmark detection in low-quality videos will be a key next step for making this tool more robust in "wild" internet conditions.

Summary updated

BibTeX
@inproceedings{yang2019exposing,
  author = {Xin Yang and Yuezun Li and Siwei Lyu},
  title = {{Exposing Deep Fakes Using Inconsistent Head Poses}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2019},
  doi = {10.1109/icassp.2019.8683164},
}
Figure