Patch-Discontinuity Mining for Generalized Deepfake Detection
Huanhuan Yuan, Yang Ping, Zhengqin Xu, Junyi Cao, Shuai Jia, Chao Ma
TL;DR
GenDF introduces a parameter-efficient framework that adapts large-scale vision models to deepfake detection by learning patch-level continuity in real faces and discontinuities in forged ones. It integrates Deepfake-Specific Representations Learning (DSRL) with low-rank ViT fine-tuning, Feature Space Redistribution (FSR) to sharpen class separation, and Class-Invariant Feature Augmentation (CIFAug) to expand variability without extra parameters, all optimized via a composite loss. The approach achieves state-of-the-art generalization in cross-domain and cross-manipulation settings while using only about 0.28M trainable parameters, and it remains efficient in inference. These findings demonstrate that a carefully designed, compact fine-tuning strategy can leverage large pretrained models for robust, scalable deepfake detection across diverse scenarios.
Abstract
The rapid advancement of generative artificial intelligence has enabled the creation of highly realistic fake facial images, posing serious threats to personal privacy and the integrity of online information. Existing deepfake detection methods often rely on handcrafted forensic cues and complex architectures, achieving strong performance in intra-domain settings but suffering significant degradation when confronted with unseen forgery patterns. In this paper, we propose GenDF, a simple yet effective framework that transfers a powerful large-scale vision model to the deepfake detection task with a compact and neat network design. GenDF incorporates deepfake-specific representation learning to capture discriminative patterns between real and fake facial images, feature space redistribution to mitigate distribution mismatch, and a classification-invariant feature augmentation strategy to enhance generalization without introducing additional trainable parameters. Extensive experiments demonstrate that GenDF achieves state-of-the-art generalization performance in cross-domain and cross-manipulation settings while requiring only 0.28M trainable parameters, validating the effectiveness and efficiency of the proposed framework.
