SFIAD: Deepfake detection through spatial-frequency feature integration and dynamic margin optimization
Yi Kou, Peng Li, Hongjiang Ma, Jiliu Zhou, Zhan ao Huang, Xiaojie Li
Abstract
The rapid advancement of generative models has profoundly transformed the field of digital content creation, bringing unprecedented opportunities for media generation. However, the widespread adoption of this technology has also led to the emergence of highly realistic fake facial images and videos, which pose significant threats to public trust and societal security. To address the challenges of deepfake detection, this paper proposes a novel method based on Spatial-Frequency Feature Integration (SFFI), which effectively identifies fake content by combining spatial and frequency features of images. Additionally, to tackle the issue of class imbalance in the datasets, we propose an Authenticity-Aware Margin Loss (AAML). This loss function dynamically adjusts the decision boundary to enhance the model’s ability to recognize minority class samples. The proposed method was trained and evaluated on four challenging datasets: FaceForensics++, Celeb-DF v1, Celeb-DF v2, and the DeepFake Detection Challenge Preview, and compared against ten state-of-the-art methods. Experimental results demonstrate that the proposed method consistently outperforms all existing approaches across all datasets.