Abstract
Face forgery detection has become increasingly critical with the proliferation of high-quality deepfakes. However, current deep learning-based detectors often suffer from poor generalization and semantic interference, where models focus on high-level facial features rather than low-level forgery artifacts. We propose Spatial-Phase Shallow Learning (SPSL), a novel framework that integrates phase spectrum information with spatial data. By leveraging the hypersensitivity of the phase spectrum to up-sampling artifacts and employing a shallow network architecture to restrict the receptive field, SPSL focuses on local texture irregularities. Experimental results on major benchmarks like FaceForensics++, Celeb-DF, and DFDC demonstrate that SPSL significantly improves cross-dataset generalization and robustness to compression.
Introduction
The rapid evolution of generative models, such as GANs and VAEs, has enabled the creation of sophisticated face forgeries. While detection methods have kept pace, they face two primary challenges. First, models often overfit to the specific artifacts of their training datasets, leading to poor performance on unseen forgery techniques. Second, standard deep networks are designed to extract high-level semantic features, which are shared by both real and fake faces, thereby missing the subtle, low-level "fingerprints" left by the generation process.
A key observation is that almost all generative pipelines involve an up-sampling step. This process introduces periodic artifacts in the frequency domain. While previous work has focused on the amplitude spectrum, we find that the phase spectrum is significantly more sensitive to these up-sampling traces.
Methodology
The SPSL framework introduces two major innovations to address the limitations of current detectors:
1. Phase Spectrum Integration (RGBP)
To capture frequency-domain artifacts while maintaining spatial context, we integrate phase information. We analyze the residuals between original and up-sampled images in the frequency domain. The phase information is transformed back into the spatial domain via Inverse Discrete Fourier Transform (IDFT) and concatenated with the original RGB channels to form a 4-channel RGBP input. This allows the model to learn from both local textures and frequency-derived "fingerprints."
2. Shallow Learning
To mitigate semantic interference, we employ a "shallow" network architecture. By using only the early convolutional blocks of an Xception backbone, we effectively reduce the model's receptive field. This forces the network to prioritize local, fine-grained texture features over global facial structures, which are less discriminative for forgery detection.
Results and Discussion
SPSL demonstrates state-of-the-art performance across several challenging datasets:
- Cross-Dataset Generalization: When trained on FF++ and tested on the challenging Celeb-DF dataset, SPSL achieved an AUC of 76.88%, a substantial improvement over the standard Xception baseline (65.50%) and other specialized methods like F3-Net (65.17%).
- Robustness to Compression: On highly compressed videos in the FF++ dataset, SPSL maintained an AUC of 82.82%, outperforming standard deep models that struggle with low-quality inputs.
- Forgery Type Identification: The inclusion of phase information allows the model to better distinguish between different manipulation techniques (e.g., DeepFakes vs. FaceSwap), as each leaves distinct signatures in the frequency domain that are nearly invisible in the RGB domain.
Conclusion
Spatial-Phase Shallow Learning (SPSL) provides a robust solution to the generalization problem in face forgery detection. By shifting the focus from high-level semantics to low-level phase artifacts and local textures, SPSL effectively captures the universal traces of generative up-sampling. Future research will focus on developing frequency features that are even more invariant to diverse anti-forensic measures.
Summary updated