DFDT: An End-to-End DeepFake Detection Framework Using Vision Transformer
Source abstract
Abstract
The ever-growing threat of deepfakes and large-scale societal implications has propelled the development of deepfake forensics to ascertain the trustworthiness of digital media. A common theme of existing detection methods is using Convolutional Neural Networks (CNNs) as a backbone. While CNNs have demonstrated decent performance on learning local discriminative information, they fail to learn relative spatial features and lose important information due to constrained receptive fields. Motivated by the aforementioned challenges, this work presents DFDT, an end-to-end deepfake detection framework that leverages the unique characteristics of transformer models, for learning hidden traces of perturbations from both local image features and global relationship of pixels at different forgery scales. DFDT is specifically designed for deepfake detection tasks consisting of four main components: patch extraction & embedding, multi-stream transformer block, attention-based patch selection followed by a multi-scale classifier. DFDT’s transformer layer benefits from a re-attention mechanism instead of a traditional multi-head self-attention layer. To evaluate the performance of DFDT, a comprehensive set of experiments are conducted on several deepfake forensics benchmarks. Obtained results demonstrated the surpassing detection rate of DFDT, achieving 99.41%, 99.31%, and 81.35% on FaceForensics++, Celeb-DF (V2), and WildDeepfake, respectively. Moreover, DFDT’s excellent cross-dataset & cross-manipulation generalization provides additional strong evidence on its effectiveness.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Digital Media Forensic Detection · Generative Adversarial Networks and Image Synthesis · Anomaly Detection Techniques and Applications
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
Department of Electrical and Computer Engineering, University of Central Florida, Orlando, FL 32816, USA
References (77)
Show source-provided references
1. Goodfellow, I., Pouget-Abadie, J., Mirza, M., Xu, B., Warde-Farley, D., Ozair, S., Courville, A., and Bengio, Y. (2014). Generative adversarial nets. Adv. Neural Inf. Process. Syst., 27, Available online: https://arxiv.org/abs/1406.2661.
2. Antipov, G., Baccouche, M., and Dugelay, J.L. (2017, January 17–20). Face aging with conditional generative adversarial networks. Proceedings of the 2017 IEEE International Conference on Image Processing (ICIP), Beijing, China.10.1109/ICIP.2017.8296650 ↗
3. Thies, J., Zollhofer, M., Stamminger, M., Theobalt, C., and Nießner, M. (26–1July, January 26). Face2face: Real-time face capture and reenactment of rgb videos. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA.
4. Determining authenticity of video evidence in the age of artificial intelligence and in the wake of Deepfake videos10.1177/1365712718807226 ↗
5. Deepfakes and disinformation: Exploring the impact of synthetic political video on deception, uncertainty, and trust in news
6. Chen, H.S., Rouhsedaghat, M., Ghani, H., Hu, S., You, S., and Kuo, C.C.J. (2021, January 5–9). DefakeHop: A Light-Weight High-Performance Deepfake Detector. Proceedings of the 2021 IEEE International Conference on Multimedia and Expo (ICME), Virtual.10.1109/ICME51207.2021.9428361 ↗
7. Tran, V.N., Lee, S.H., Le, H.S., and Kwon, K.R. (2021). High Performance deepfake video detection on CNN-based with attention target-specific regions and manual distillation extraction. Appl. Sci., 11.10.3390/app11167678 ↗
8. A comprehensive survey on passive techniques for digital video forgery detection10.1007/s11042-020-09974-4 ↗
9. The creation and detection of deepfakes: A survey10.1145/3425780 ↗
10. Yang, X., Li, Y., and Lyu, S. (2019, January 12–17). Exposing deep fakes using inconsistent head poses. Proceedings of the ICASSP 2019–2019 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), Brighton, UK.10.1109/ICASSP.2019.8683164 ↗
11. Li, Y., Chang, M.C., and Lyu, S. (2018, January 11–13). In ictu oculi: Exposing ai created fake videos by detecting eye blinking. Proceedings of the 2018 IEEE International Workshop on Information Forensics and Security (WIFS), Hong Kong, China.10.1109/WIFS.2018.8630787 ↗
12. Li, Y., and Lyu, S. (2019, January 16–20). Exposing DeepFake Videos By Detecting Face Warping Artifacts. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition Workshops, Long Beach, CA, USA.
13. Du, M., Pentyala, S., Li, Y., and Hu, X. (2020, January 19–23). Towards Generalizable Deepfake Detection with Locality-aware AutoEncoder. Proceedings of the 29th ACM International Conference on Information &Knowledge Management, Virtual.10.1145/3340531.3411892 ↗
14. Jain, A., Majumdar, P., Singh, R., and Vatsa, M. (2020, January 14–19). Detecting GANs and retouching based digital alterations via DAD-HCNN. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops, Seattle, WA, USA.10.1109/CVPRW50498.2020.00344 ↗
15. Ciftci, U.A., Demir, I., and Yin, L. (2020). Fakecatcher: Detection of synthetic portrait videos using biological signals. IEEE Trans. Pattern Anal. Mach. Intell.
16. Nguyen, H.H., Yamagishi, J., and Echizen, I. (2019, January 12–17). Capsule-forensics: Using capsule networks to detect forged images and videos. Proceedings of the ICASSP 2019–2019 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), Brighton, UK.10.1109/ICASSP.2019.8682602 ↗
17. Haliassos, A., Vougioukas, K., Petridis, S., and Pantic, M. (2021, January 19–25). Lips Don’t Lie: A Generalisable and Robust Approach To Face Forgery Detection. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Nashville, TN, USA.10.1109/CVPR46437.2021.00500 ↗
18. Khormali, A., and Yuan, J.S. (2021). ADD: Attention-Based DeepFake Detection Approach. Big Data Cogn. Comput., 5.10.3390/bdcc5040049 ↗
19. Attention is all you need
20. Devlin, J., Chang, M.W., Lee, K., and Toutanova, K. (2019, January 2–7). BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding. Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), Minneapolis, MN, USA.
21. BioBERT: A pre-trained biomedical language representation model for biomedical text mining10.1093/bioinformatics/btz682 ↗
22. Zhu, X., Su, W., Lu, L., Li, B., Wang, X., and Dai, J. (May, January 26). Deformable DETR: Deformable Transformers for End-to-End Object Detection. Proceedings of the International Conference on Learning Representations, Virtual.
23. Carion, N., Massa, F., Synnaeve, G., Usunier, N., Kirillov, A., and Zagoruyko, S. (2020, January 23–28). End-to-end object detection with transformers. Proceedings of the European Conference on Computer Vision, Online.10.1007/978-3-030-58452-8_13 ↗
24. Dosovitskiy, A., Beyer, L., Kolesnikov, A., Weissenborn, D., Zhai, X., Unterthiner, T., Dehghani, M., Minderer, M., Heigold, G., and Gelly, S. (May, January 26). An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale. Proceedings of the International Conference on Learning Representations, Virtual.
25. Heo, Y.J., Choi, Y.J., Lee, Y.W., and Kim, B.G. (2021). Deepfake Detection Scheme Based on Vision Transformer and Distillation. arXiv.
26. Wodajo, D., and Atnafu, S. (2021). Deepfake Video Detection Using Convolutional Vision Transformer. arXiv.
27. Faceswap (2022, February 07). Faceswap: Deepfakes Software for All. Available online: https://github.com/deepfakes/faceswap.
28. FakeApp (2022, February 07). FakeApp 2.2.0-Download for PC Free. Available online: https://www.malavida.com/en/soft/fakeapp/.
29. Zhu, J.Y., Park, T., Isola, P., and Efros, A.A. (2017, January 22–29). Unpaired image-to-image translation using cycle-consistent adversarial networks. Proceedings of the IEEE International Conference on Computer Vision, Venice, Italy.10.1109/ICCV.2017.244 ↗
30. Kim, T., Cha, M., Kim, H., Lee, J.K., and Kim, J. (2017, January 6–11). Learning to discover cross-domain relations with generative adversarial networks. Proceedings of the 34th International Conference on Machine Learning, Sydney, Australia.
31. Lu, Y., Tai, Y.W., and Tang, C.K. (2018, January 8–14). Attribute-guided face generation using conditional cyclegan. Proceedings of the European Conference on Computer Vision (ECCV), Munich, Germany.10.1007/978-3-030-01258-8_18 ↗
32. Deep video portraits
33. Li, L., Bao, J., Yang, H., Chen, D., and Wen, F. (2019). Faceshifter: Towards high fidelity and occlusion aware face swapping. arXiv.
34. Matern, F., Riess, C., and Stamminger, M. (2019, January 7–11). Exploiting visual artifacts to expose deepfakes and face manipulations. Proceedings of the 2019 IEEE Winter Applications of Computer Vision Workshops (WACVW), Waikoloa Village, HI, USA.10.1109/WACVW.2019.00020 ↗
35. Afchar, D., Nozick, V., Yamagishi, J., and Echizen, I. (2018, January 11–13). Mesonet: A compact facial video forgery detection network. Proceedings of the 2018 IEEE International Workshop on Information Forensics and Security (WIFS), Hong Kong, China.10.1109/WIFS.2018.8630761 ↗
36. Cozzolino, D., Thies, J., Rössler, A., Riess, C., Nießner, M., and Verdoliva, L. (2018). Forensictransfer: Weakly-supervised domain adaptation for forgery detection. arXiv.
37. Rana, M.S., and Sung, A.H. (2020, January 1–3). Deepfakestack: A deep ensemble-based learning technique for deepfake detection. Proceedings of the 2020 7th IEEE International Conference on Cyber Security and Cloud Computing (CSCloud)/2020 6th IEEE International Conference on Edge Computing and Scalable Cloud (EdgeCom), New York, NY, USA.10.1109/CSCloud-EdgeCom49738.2020.00021 ↗
38. Deepfakes: Temporal sequential analysis to detect face-swapped video clips using convolutional long short-term memory10.1117/1.JEI.29.3.033013 ↗
39. Wang, S.Y., Wang, O., Zhang, R., Owens, A., and Efros, A.A. (2020, January 14–19). CNN-generated images are surprisingly easy to spot... for now. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Virtual.10.1109/CVPR42600.2020.00872 ↗
40. Mittal, T., Bhattacharya, U., Chandra, R., Bera, A., and Manocha, D. (2020, January 2–16). Emotions Don’t Lie: An Audio-Visual Deepfake Detection Method using Affective Cues. Proceedings of the 28th ACM International Conference on Multimedia, Seattle, WA, USA.10.1145/3394171.3413570 ↗
41. Progressive transfer learning for face anti-spoofing10.1109/TIP.2021.3066912 ↗
42. GPT-3: Its nature, scope, limits, and consequences10.1007/s11023-020-09548-1 ↗
43. Bazi, Y., Bashmal, L., Rahhal, M.M.A., Dayil, R.A., and Ajlan, N.A. (2021). Vision transformers for remote sensing image classification. Remote Sens., 13.10.3390/rs13030516 ↗
44. Yang, F., Zhai, Q., Li, X., Huang, R., Luo, A., Cheng, H., and Fan, D.P. (2021, January 11–17). Uncertainty-guided transformer reasoning for camouflaged object detection. Proceedings of the IEEE/CVF International Conference on Computer Vision, Montreal, BC, Canada.10.1109/ICCV48922.2021.00411 ↗
45. Chen, J., Lu, Y., Yu, Q., Luo, X., Adeli, E., Wang, Y., Lu, L., Yuille, A.L., and Zhou, Y. (2021). TransUNet: Transformers Make Strong Encoders for Medical Image Segmentation. arXiv.
46. Khan, S.A., and Dai, H. (2021, January 20–24). Video Transformer for Deepfake Detection with Incremental Learning. Proceedings of the 29th ACM International Conference on Multimedia, Virtual Event, China.10.1145/3474085.3475332 ↗
47. Chollet, F. (2017, January 21–26). Xception: Deep learning with depthwise separable convolutions. Proceedings of the IEEE conference on computer vision and pattern recognition, Honolulu, HI, USA.10.1109/CVPR.2017.195 ↗
48. Tan, M., and Le, Q. (2019, January 9–15). Efficientnet: Rethinking model scaling for convolutional neural networks. Proceedings of the International Conference on Machine Learning, PMLR, Long Beach, CA, USA.
49. Rossler, A., Cozzolino, D., Verdoliva, L., Riess, C., Thies, J., and Nießner, M. (2019, January 27–28). Faceforensics++: Learning to detect manipulated facial images. Proceedings of the IEEE/CVF International Conference on Computer Vision, Seoul, Korea.10.1109/ICCV.2019.00009 ↗
50. Deng, J., Guo, J., Ververas, E., Kotsia, I., and Zafeiriou, S. (2020, January 14–19). RetinaFace: Single-Shot Multi-Level Face Localisation in the Wild. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Seattle, WA, USA.10.1109/CVPR42600.2020.00525 ↗
51. Kazemi, V., and Sullivan, J. (2014, January 23–28). One millisecond face alignment with an ensemble of regression trees. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Columbus, OH, USA.10.1109/CVPR.2014.241 ↗
52. Abnar, S., and Zuidema, W. (2020). Quantifying attention flow in transformers. arXiv.10.18653/v1/2020.acl-main.385 ↗
53. He, J., Chen, J.N., Liu, S., Kortylewski, A., Yang, C., Bai, Y., Wang, C., and Yuille, A. (2021). TransFG: A Transformer Architecture for Fine-grained Recognition. arXiv.10.1609/aaai.v36i1.19967 ↗
54. Zhou, D., Kang, B., Jin, X., Yang, L., Lian, X., Jiang, Z., Hou, Q., and Feng, J. (2021). Deepvit: Towards deeper vision transformer. arXiv.
55. Li, Y., Sun, P., Qi, H., and Lyu, S. (2020, January 13–19). Celeb-DF: A Large-scale Challenging Dataset for DeepFake Forensics. Proceedings of the IEEE Conference on Computer Vision and Patten Recognition (CVPR), Seattle, WA, USA.10.1109/CVPR42600.2020.00327 ↗
56. Zi, B., Chang, M., Chen, J., Ma, X., and Jiang, Y.G. (2020, January 12–16). WildDeepfake: A Challenging Real-World Dataset for Deepfake Detection. Proceedings of the 28th ACM International Conference on Multimedia, Seattle, WA, USA.10.1145/3394171.3413769 ↗
57. Jiang, L., Li, R., Wu, W., Qian, C., and Loy, C.C. (2020, January 14–19). Deeperforensics-1.0: A large-scale dataset for real-world face forgery detection. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Seattle, WA, USA.10.1109/CVPR42600.2020.00296 ↗
58. Dolhansky, B., Howes, R., Pflaum, B., Baram, N., and Ferrer, C.C. (2019). The deepfake detection challenge (dfdc) preview dataset. arXiv.
59. Faceswap (2022, February 07). Faceswap. Available online: https://github.com/MarekKowalski/FaceSwap/.
60. Deferred neural rendering: Image synthesis using neural textures10.1145/3306346.3323035 ↗
61. Wang, J., Wu, Z., Chen, J., and Jiang, Y.G. (2021). M2TR: Multi-modal Multi-scale Transformers for Deepfake Detection. arXiv.10.1145/3512527.3531415 ↗
62. Zhao, H., Zhou, W., Chen, D., Wei, T., Zhang, W., and Yu, N. (2021, January 20–25). Multi-attentional deepfake detection. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Nashville, TN, USA.10.1109/CVPR46437.2021.00222 ↗
63. Zhou, P., Han, X., Morariu, V.I., and Davis, L.S. (2017, January 21–26). Two-stream neural networks for tampered face detection. Proceedings of the 2017 IEEE Conference on Computer Vision and Pattern Recognition Workshops (CVPRW), Honolulu, HI, USA.10.1109/CVPRW.2017.229 ↗
64. Imagenet classification with deep convolutional neural networks10.1145/3065386 ↗
65. Simonyan, K., and Zisserman, A. (2015, January 1–15). Very deep convolutional networks for large-scale image recognition. Proceedings of the International Conference on Learning Representation, Lisbon, Portugal.
66. He, K., Zhang, X., Ren, S., and Sun, J. (2016, January 7–13). Identity mappings in deep residual networks. Proceedings of the European Conference on Computer Vision, Graz, Austria.10.1007/978-3-319-46493-0_38 ↗
67. Szegedy, C., Vanhoucke, V., Ioffe, S., Shlens, J., and Wojna, Z. (2016, January 27–30). Rethinking the inception architecture for computer vision. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA.10.1109/CVPR.2016.308 ↗
68. Nguyen, H.H., Fang, F., Yamagishi, J., and Echizen, I. (2019, January 23–26). Multi-task Learning for Detecting and Segmenting Manipulated Facial Images and Videos. Proceedings of the 2019 IEEE 10th International Conference on Biometrics Theory, Applications and Systems (BTAS), Tampa, FL, USA.10.1109/BTAS46853.2019.9185974 ↗
69. Nguyen, H.H., Yamagishi, J., and Echizen, I. (2019). Use of a capsule network to detect fake images and videos. arXiv.10.1109/ICASSP.2019.8682602 ↗
70. Masi, I., Killekar, A., Mascarenhas, R.M., Gurudatt, S.P., and AbdAlmageed, W. (2020, January 23–28). Two-branch recurrent network for isolating deepfakes in videos. Proceedings of the European Conference on Computer Vision, Glasgow, UK.10.1007/978-3-030-58571-6_39 ↗
71. Liu, H., Li, X., Zhou, W., Chen, Y., He, Y., Xue, H., Zhang, W., and Yu, N. (2021, January 20–25). Spatial-phase shallow learning: Rethinking face forgery detection in frequency domain. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Nashville, TN, USA.10.1109/CVPR46437.2021.00083 ↗
72. Li, L., Bao, J., Zhang, T., Yang, H., Chen, D., Wen, F., and Guo, B. (2020, January 14–19). Face X-ray for more general face forgery detection. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Seattle, WA, USA.10.1109/CVPR42600.2020.00505 ↗
73. Qian, Y., Yin, G., Sheng, L., Chen, Z., and Shao, J. (2020, January 23–28). Thinking in frequency: Face forgery detection by mining frequency-aware clues. Proceedings of the European Conference on Computer Vision, Glasgow, UK.10.1007/978-3-030-58610-2_6 ↗
74. Güera, D., and Delp, E.J. (2018, January 27–30). Deepfake video detection using recurrent neural networks. Proceedings of the 2018 15th IEEE International Conference on Advanced Video and Signal Based Surveillance (AVSS), Auckland, New Zealand.10.1109/AVSS.2018.8639163 ↗
75. Charitidis, P., Kordopatis-Zilos, G., Papadopoulos, S., and Kompatsiaris, I. (2020, January 16–17). Investigating the Impact of Pre-processing and Prediction Aggregation on the DeepFake Detection Task. Proceedings of the Truth and Trust Conference, Virtual.
76. Chai, L., Bau, D., Lim, S.N., and Isola, P. (2020, January 23–28). What makes fake images detectable understanding properties that generalize. Proceedings of the European Conference on Computer Vision, Glasgow, UK.10.1007/978-3-030-58574-7_7 ↗
77. Recurrent convolutional strategies for face manipulation detection in videos