Researchers from Meituan's Vision AI Department have introduced a novel framework designed to overcome the "generalization gap" in face forgery detection. While current deepfake detectors perform exceptionally well on known datasets, they often fail when encountering unseen forgery methods. This paper proposes a Controllable Guide-Space (GS) framework to force models to learn robust manipulation traces rather than dataset-specific shortcuts.
The Challenge: Feature Contamination
The primary reason deepfake detectors fail on new data is feature contamination. Standard binary classifiers (Real vs. Fake) often inadvertently group features based on "forgery-irrelevant" similarities, such as a person’s identity, hair color, or background lighting, rather than the actual artifacts left by the forgery process.
When a model treats all fake images as a single category, it tends to learn "shortcut features" that do not generalize. For instance, a model might learn to identify a specific background associated with a training dataset as a sign of a "fake" image, leading to failure when that same background appears in a real image or a different forgery type.
Proposed Methodology
The authors introduce three main components to ensure the model learns more robust, generalizable features:
1. Controllable Guide-Space (GS)
Instead of a simple binary output, the model maps features onto a hypersphere. Fixed "guide embeddings" are pre-calculated for the real domain and each specific forgery type in the training set. A hyperparameter, $\theta_0$, controls the geometric distance between real and fake clusters, ensuring that different forgery methods are separated from each other while remaining distinct from the "real" cluster.
2. Irrelevant Information Decoupling
To prevent the model from relying on background or identity cues, a self-supervised model clusters images based on general visual similarity. If two images from different forgery domains end up in the same visual cluster, a "push" loss is applied to penalize the model, ensuring it isn't relying on shared, irrelevant traits.
3. Adjustment of Decision Boundary Manifold (A-DBM)
Recognizing that not all samples are equally informative, the authors implement a dynamic weighting system. A "confidence" metric is calculated based on how well a sample's neighbors in the feature space match its label. Samples near the decision boundary (those surrounded by different classes) are given higher weights during training to refine the boundary.
Experimental Results
The model was evaluated on industry-standard benchmarks, including FaceForensics++ (FF++) for in-domain testing, and CelebDF and DFDC for cross-domain generalization. The proposed method achieved state-of-the-art (SOTA) results in cross-domain scenarios:
- CelebDF: Achieved an 84.97% AUC, significantly outperforming previous SOTA methods like DCL (82.30%) and RECCE (77.39%).
- DFDC: Achieved an 81.65% AUC, a substantial improvement over the baseline Xception model (67.93%).
- Architectural Robustness: The framework proved effective across various backbones, including EfficientNet-B4, ResNet50, and VGG19, indicating that the improvements are inherent to the framework's logic rather than a specific neural architecture.
Conclusion
By treating forgery methods as distinct domains and applying geometric constraints on a hypersphere, this method moves away from "black box" feature learning toward a more controllable optimization process. The results demonstrate that forcing a model to distinguish between different types of fakes actually helps it learn a more robust general concept of what constitutes a forgery, leading to significantly better performance on unseen deepfakes.
Summary updated