Swin-Fake: A Consistency Learning Transformer-Based Deepfake Video Detector
-
Published:2024-08-01
Issue:15
Volume:13
Page:3045
-
ISSN:2079-9292
-
Container-title:Electronics
-
language:en
-
Short-container-title:Electronics
Author:
Gong Liang Yu1ORCID, Li Xue Jun1ORCID, Chong Peter Han Joo1ORCID
Affiliation:
1. Department of Electrical and Electronic Engineering, Auckland University of Technology, Auckland 1010, New Zealand
Abstract
Deepfake has become an emerging technology affecting cyber-security with its illegal applications in recent years. Most deepfake detectors utilize CNN-based models such as the Xception Network to distinguish real or fake media; however, their performance on cross-datasets is not ideal because they suffer from over-fitting in the current stage. Therefore, this paper proposed a spatial consistency learning method to relieve this issue in three aspects. Firstly, we increased the selections of data augmentation methods to 5, which is more than our previous study’s data augmentation methods. Specifically, we captured several equal video frames of one video and randomly selected five different data augmentations to obtain different data views to enrich the input variety. Secondly, we chose Swin Transformer as the feature extractor instead of a CNN-based backbone, which means that our approach did not utilize it for downstream tasks, and could encode these data using an end-to-end Swin Transformer, aiming to learn the correlation between different image patches. Finally, this was combined with consistency learning in our study, and consistency learning was able to determine more data relationships than supervised classification. We explored the consistency of video frames’ features by calculating their cosine distance and applied traditional cross-entropy loss to regulate this classification loss. Extensive in-dataset and cross-dataset experiments demonstrated that Swin-Fake could produce relatively good results on some open-source deepfake datasets, including FaceForensics++, DFDC, Celeb-DF and FaceShifter. By comparing our model with several benchmark models, our approach shows relatively strong robustness in detecting deepfake media.
Reference31 articles.
1. Generative Adversarial Network;Goodfellow;Commun. Acm,2018 2. Karras, T., Laine, S., and Aila, T. (2019, January 15–20). A style-based generator architecture for generative adversarial networks. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Long Beach, CA, USA. 3. Ho, J., Jain, A., and Abbeel, P. (2020, January 6–12). Denoising Diffusion Probabilistic Models. Proceedings of the 34th International Conference on Neural Information Processing System, Red Hook, NY, USA. 4. Nguyen, H.H., Yamagishi, J., and Echizen, I. (2019, January 16–20). Use of a Capsule Network to Detect Fake Images and Videos. Proceedings of the Computer Vision and Pattern Recognition, Long Beach, CA, USA. 5. Das, S., Seferbekov, S., Datta, A., Islam, M.S., and Amin, M.R. (2021, January 11–17). Towards solving the deepfake problem: An analysis on improving deepfake detection using dynamic face augmentation. Proceedings of the IEEE/CVF International Conference on Computer Vision, Montreal, BC, Canada.
|
|