Klasifikasi Video Deepfake Pada Manipulasi Wajah Menggunakan CNN-BILSTM Berdasarkan Fitur Spasial Dan Temporal

Authors

  • Vincent Johanes Dareda Universitas Sam Ratulangi
  • Oktavian Abraham Lantang Universitas Sam Ratulangi
  • Muhamad Dwisnanto Putro Universitas Sam Ratulangi

DOI:

https://doi.org/10.30606/rjti.v5i3.4942

Keywords:

Bidirectional LSTM, Deepfake, Temporal Attention, Xception, YOLOv5-Face

Abstract

The rapid advancement of deep learning technology has enabled the creation of increasingly realistic deepfake videos that are difficult to detect visually, posing serious threats to public trust in digital content, particularly videos featuring public figures. This study aims to develop a deepfake video classification model using a CNN-BiLSTM architecture with a Temporal Attention mechanism, evaluate its performance through six comparative experimental scenarios, and analyze the contribution of spatial and temporal features in the detection process. The applied method consists of a five-stage pipeline: video segmentation into 3-second segments with 20 frames per segment, face detection and cropping using YOLOv5-Face, image normalization using ImageNet preprocessing, 2048-dimensional spatial feature extraction through a two-phase fine-tuned Xception model, and temporal modeling using a 128-unit BiLSTM with a Temporal Attention mechanism. The dataset comprises 2,650 videos from Celeb-DF v2 and a self-constructed dataset using FaceFusion, yielding 12,163 segments after segmentation. Each scenario was trained with five random seeds and reported as mean ± standard deviation. With model selection based primarily on the F1-Score, the best-performing model (M4, a BiLSTM without Temporal Attention) achieved an F1-Score of 86.67 ± 0.19% (accuracy 86.41 ± 0.16%, precision 87.51 ± 0.18%, recall 85.85 ± 0.48%, and AUC 0.934 ± 0.003) on the test data. Its difference from M2, M3, and M5 is not statistically significant, and M2 and M5 reach the highest AUC (0.937). The ablation study shows that Xception fine-tuning depth and YOLOv5-Face usage are the two components with a clear contribution, raising the F1-Score from 79.80% to 86.50% and from 80.30% to 86.25% respectively, whereas class weighting, BiLSTM, and Temporal Attention show no measurable improvement. 

Downloads

Download data is not yet available.

References

R. Y. Choi, A. S. Coyner, J. Kalpathy-Cramer, M. F. Chiang, and J. Peter Campbell, "Introduction to machine learning, neural networks, and deep learning," Transl. Vis. Sci. Technol., vol. 9, no. 2, 2020, doi: 10.1167/tvst.9.2.14.

C. Zhang and Y. Lu, "Study on artificial intelligence: The state of the art and future prospects," J. Ind. Inf. Integr., vol. 23, Sep. 2021, doi: 10.1016/j.jii.2021.100224.

V. N. Manju, A. Ritam, S. Supritha, and H. Jyothi, "Deepfake Video Detection Using Hybrid CNN LSTM Architecture Integrating Spatial and Temporal Analysis," in Proceedings of 2025 International Conference on Emerging Technologies in Computing and Communication, ETCC 2025, Institute of Electrical and Electronics Engineers Inc., 2025. doi: 10.1109/ETCC65847.2025.11108350.

D. J. Miller and H. Stevens, "A Shallow History of Deepfakes," 2025. [Online]. Available: https://orcid.org/0000-0002-3230-2631

M. S. Rana, M. N. Nobi, B. Murali, and A. H. Sung, "Deepfake Detection: A Systematic Literature Review," 2022, Institute of Electrical and Electronics Engineers Inc. doi: 10.1109/ACCESS.2022.3154404.

T. Raharjo et al., "ANALISIS FORENSIK DEEPFAKE BERBASIS CONVOLUTIONAL NEURAL NETWORK (CNN) UNTUK DETEKSI INKONSISTENSI TEKSTUR DAN POLA PADA CITRA WAJAH," 2025.

S. Usmani, S. Kumar, and D. Sadhya, "Deepfakes: A comprehensive survey on techniques, challenges and future directions," Computers and Electrical Engineering, vol. 136, Aug. 2026, doi: 10.1016/j.compeleceng.2026.111210.

J. Mu, M. Adrezo, and A. N. Haikal, "Identifikasi Wajah Asli dan Buatan Deepfake Menggunakan Metode Convolutional Neural Network," Teknika, vol. 13, no. 1, pp. 45–50, Jan. 2024, doi: 10.34148/teknika.v13i1.705.

M. Krichen, "Convolutional Neural Networks: A Survey," Computers, vol. 12, no. 8, Aug. 2023, doi: 10.3390/computers12080151.

D. Bhatt et al., "Cnn variants for computer vision: History, architecture, application, challenges and future scope," Oct. 01, 2021, MDPI. doi: 10.3390/electronics10202470.

O. A. H. H. Al-Dulaimi and S. Kurnaz, "A Hybrid CNN-LSTM Approach for Precision Deepfake Image Detection Based on Transfer Learning," Electronics (Switzerland), vol. 13, no. 9, May 2024, doi: 10.3390/electronics13091662.

L. Boongasame, J. Boonpluk, S. Soponmanee, J. Muangprathub, and K. Thammarak, "Design and Implement Deepfake Video Detection Using VGG-16 and Long Short-Term Memory," Applied Computational Intelligence and Soft Computing, vol. 2024, 2024, doi: 10.1155/2024/8729440.

K. Nair, "DEEPFAKE DETECTION: COMPARISON OF PRETRAINED XCEPTION AND VGG16 MODELS MSc Research Project Data Analytics," 2023. [Online]. Available: <https://norma.ncirl.ie/id/eprint/7574>

R. T. H. Hasan and A. B. Sallow, "Face Detection and Recognition Using OpenCV," Journal of Soft Computing and Data Mining, vol. 2, no. 2, pp. 86–97, Oct. 2021, doi: 10.30880/jscdm.2021.02.02.008.

A. Ismail, M. Elpeltagy, M. S. Zaki, and K. Eldahshan, "An integrated spatiotemporal-based methodology for deepfake detection," Neural Comput. Appl., vol. 34, no. 24, pp. 21777–21791, Dec. 2022, doi: 10.1007/s00521-022-07633-3.

S. Tipper, H. F. Atlam, and H. S. Lallie, "An Investigation into the Utilisation of CNN with LSTM for Video Deepfake Detection," Nov. 01, 2024, Multidisciplinary Digital Publishing Institute (MDPI). doi: 10.3390/app14219754.

S. AlMuhaideb, H. Alshaya, L. Almutairi, D. Alomran, and S. T. Alhamed, "LightFakeDetect: A Lightweight Model for Deepfake Detection in Videos That Focuses on Facial Regions," Mathematics, vol. 13, no. 19, Oct. 2025, doi: 10.3390/math13193088.

S. Pashine, S. Mandiya, P. Gupta, and R. Sheikh, "Deep Fake Detection: Survey of Facial Manipulation Detection Solutions," Jun. 2021, [Online]. Available: http://arxiv.org/abs/2106.12605

V. V. V. N. S. Vamsi et al., "Deepfake detection in digital media forensics," Global Transitions Proceedings, vol. 3, no. 1, pp. 74–79, Jun. 2022, doi: 10.1016/j.gltp.2022.04.017.

F. T. Winata, N. J. Tanuwijaya, R. Setiawan, and R. Y. Rumagit, "Comparison of deepfake detection using CNN and hybrid models," Procedia Comput. Sci., vol. 269, pp. 1556–1564, 2025, doi: 10.1016/j.procs.2025.09.097.

A. Hosna, E. Merry, J. Gyalmo, Z. Alom, Z. Aung, and M. A. Azim, "Transfer learning: a friendly introduction," J. Big Data, vol. 9, no. 1, Dec. 2022, doi: 10.1186/s40537-022-00652-w.

S. Natha, F. Ahmed, M. Siraj, M. Lagari, M. Altamimi, and A. A. Chandio, "Deep BiLSTM Attention Model for Spatial and Temporal Anomaly Detection in Video Surveillance," Sensors, vol. 25, no. 1, Jan. 2025, doi: 10.3390/s25010251.

Y. Li, X. Yang, P. Sun, H. Qi, and S. Lyu, "Celeb-DF: A Large-scale Challenging Dataset for DeepFake Forensics," Mar. 2020, [Online]. Available: http://arxiv.org/abs/1909.12962

S. Luo, B. Wang, Q. Gao, Y. Wang, and X. Pang, "Stacking integration algorithm based on CNN-BiLSTM-Attention with XGBoost for short-term electricity load forecasting," Energy Reports, vol. 12, pp. 2676–2689, Dec. 2024, doi: 10.1016/j.egyr.2024.08.078.

P. Liang, G. Liu, Z. Xiong, H. Fan, H. Zhu, and X. Zhang, "A facial geometry based detection model for face manipulation using CNN-LSTM architecture," Inf. Sci. (N. Y)., vol. 633, pp. 370–383, Jul. 2023, doi: 10.1016/j.ins.2023.03.079.

V. C. Seibold, J. Balke, and B. Rolke, "Temporal attention," 2023, Frontiers Media SA. doi: 10.3389/fcogn.2023.1168320.

D. Bahdanau, K. Cho, and Y. Bengio, "Neural Machine Translation by Jointly Learning to Align and Translate," May 2016, [Online]. Available: http://arxiv.org/abs/1409.0473

Downloads

Published

2026-12-01

How to Cite

[1]
V. J. Dareda, O. A. Lantang, and M. D. Putro, “Klasifikasi Video Deepfake Pada Manipulasi Wajah Menggunakan CNN-BILSTM Berdasarkan Fitur Spasial Dan Temporal”, RJTI, vol. 5, no. 3, pp. 728–740, Dec. 2026.