Deepfake Detection with Multi-Artifact Subspace Fine-Tuning and Selective Layer Masking
Xiang Zhang, Wenliang Weng, Daoyong Fu, Ziqiang Li, Zhangjie Fu
TL;DR
This work tackles cross-dataset deepfake detection by explicitly decoupling semantic and artifact representations through SVD-based weight decomposition, freezing a semantic subspace while learning multiple artifact subspaces. It introduces a selective layer masking strategy that gates parameter updates based on gradient stability, reducing semantic drift during fine-tuning. Orthogonality and spectral consistency constraints further regularize the artifact subspaces, yielding robust cross-domain performance and resilience to common perturbations. The approach, validated on multiple benchmarks, demonstrates strong generalization without extra supervision and offers a scalable framework for modeling diverse forgery artifacts in real-world scenarios.
Abstract
Deepfake detection still faces significant challenges in cross-dataset and real-world complex scenarios. The root cause lies in the high diversity of artifact distributions introduced by different forgery methods, while pretrained models tend to disrupt their original general semantic structures when adapting to new artifacts. Existing approaches usually rely on indiscriminate global parameter updates or introduce additional supervision signals, making it difficult to effectively model diverse forgery artifacts while preserving semantic stability. To address these issues, this paper proposes a deepfake detection method based on Multi-Artifact Subspaces and selective layer masks (MASM), which explicitly decouples semantic representations from artifact representations and constrains the fitting strength of artifact subspaces, thereby improving generalization robustness in cross-dataset scenarios. Specifically, MASM applies singular value decomposition to model weights, partitioning pretrained weights into a stable semantic principal subspace and multiple learnable artifact subspaces. This design enables decoupled modeling of different forgery artifact patterns while preserving the general semantic subspace. On this basis, a selective layer mask strategy is introduced to adaptively regulate the update behavior of corresponding network layers according to the learning state of each artifact subspace, suppressing overfitting to any single forgery characteristic. Furthermore, orthogonality constraints and spectral consistency constraints are imposed to jointly regularize multiple artifact subspaces, guiding them to learn complementary and diverse artifact representations while maintaining a stable overall spectral structure.
