ISSN: 2245-4578 (Online Version) ISSN:2245-1439 (Print Version)
Deepfake Image Detection Using Squeeze-and-Excitation Attention and Adaptive Threshold Optimization
PDF
HTML

Keywords

AIGC detection
Deepfake
cross-modal semantic consistency
social network security
content security

How to Cite

[1]
C. . Li, “Deepfake Image Detection Using Squeeze-and-Excitation Attention and Adaptive Threshold Optimization”, JCSANDM, vol. 15, no. 05, pp. 1233–1252, Oct. 2026.

Abstract

Artificial intelligence-generated content (AIGC) has significantly improved the realism of manipulated facial images and videos, creating serious risks for social-network misinformation, content security, and digital trust. This study focuses on visual deepfake image detection rather than multimodal misinformation detection. Existing convolutional neural network (CNN)-based deepfake detectors commonly rely on a fixed decision threshold of 0.5, which may be unstable when facial images are affected by compression, cropping, noise, and distribution shifts in practical social-media environments. To improve detection reliability, this paper proposes a lightweight deepfake image detection framework that integrates a CNN backbone, a Squeeze-and-Excitation (SE) attention module, and an adaptive threshold optimization strategy. The key novelty of this work is not conventional threshold tuning alone, but a lightweight detection framework that jointly combines SE-based channel-wise feature recalibration, F1-score-driven adaptive threshold optimization, and leakage-aware group-level evaluation. Compared with post-hoc threshold tuning or calibration methods that mainly adjust the output boundary after training, the proposed framework improves both forgery-sensitive feature representation and the final classification decision mechanism. Specifically, the SE module enhances forgery-related feature representation through channel-wise feature recalibration, while the adaptive threshold is selected according to the F1-score, which is the harmonic mean of precision and recall. A group-level data split is also adopted to ensure that frames from the same video are not shared across the training, validation, and test sets, thereby reducing identity leakage. Experiments are conducted on a FaceForensics++-derived dataset using multiple CNN backbones and five-fold cross-validation. The evaluation metrics include accuracy, F1-score, the area under the receiver operating characteristic curve (ROC-AUC), and the area under the precision-recall curve (PR-AUC). The results show that threshold optimization improves the ResNet18 baseline accuracy from 0.8835 ± 0.0186 to 0.9016 ± 0.0151 and the F1-score from 0.8773 ± 0.0253 to 0.9042 ± 0.0138. Among the tested backbones, ResNet50 achieves the best cross-validation performance, with an accuracy of 0.9061 ± 0.0161 and a ROC-AUC of 0.9680 ± 0.0075. Under the strict group-level test setting, the proposed framework achieves 0.9960 accuracy and 0.9959 F1-score on the constructed test set. Compared with more complex detection pipelines. The proposed method is simple, computationally practical, and easy to integrate into common CNN-based deepfake detectors. Therefore, this work provides a practical visual security detection approach for social-media content verification and cyber-security applications.

https://doi.org/10.13052/jcsm2245-1439.1554
PDF
HTML

References

Rössler, A., Cozzolino, D., Verdoliva, L., Riess, C., Thies, J., and Nießner, M. “FaceForensics++: Learning to detect manipulated facial images,” in Proc. IEEE/CVF International Conference on Computer Vision (ICCV), pp. 1–11, 2019.

Li, Y., Yang, X., Sun, P., Qi, H., and Lyu, S. “Celeb-DF: A large-scale challenging dataset for deepfake forensics,” in Proc. IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 3204–3213, 2020.

Chollet, F. “Xception: Deep learning with depthwise separable convolutions,” in Proc. IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pp. 1251–1258, 2017.

Hu, J., Shen, L., and Sun, G. “Squeeze-and-excitation networks,” in Proc. IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 7132–7141, 2018.

Woo, S., Park, J., Lee, J.-Y., and Kweon, I. S. “CBAM: Convolutional block attention module,” in Computer Vision – ECCV 2018, Lecture Notes in Computer Science, vol. 11211, pp. 3–19, Springer, 2018.

Afchar, D., Nozick, V., Yamagishi, J., and Echizen, I. “MesoNet: A compact facial video forgery detection network,” in Proc. IEEE International Workshop on Information Forensics and Security (WIFS), pp. 1–7, 2018.

Thies, J., Zollhöfer, M., Stamminger, M., Theobalt, C., and Nießner, M. “Face2Face: Real-time face capture and reenactment of RGB videos,” in Proc. IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pp. 2387–2395, 2016.

Thies, J., Zollhöfer, M., and Nießner, M. “Deferred neural rendering: Image synthesis using neural textures,” ACM Transactions on Graphics, vol. 38, no. 4, Article 66, pp. 1–12, 2019.

Ciftci, U. A., Demir, I., and Yin, L. “FakeCatcher: Detection of synthetic portrait videos using biological signals,” IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 43, no. 7, pp. 2365–2379, 2021.

Shang, Z., Xie, H., Zha, Z., Yu, L., Li, Y., and Zhang, Y. “PRRNet: Pixel-region relation network for face forgery detection,” Pattern Recognition, vol. 116, Article 107950, 2021.

Tolosana, R., Vera-Rodriguez, R., Fierrez, J., Morales, A., and Ortega-Garcia, J. “Deepfakes and beyond: A survey of face manipulation and fake detection,” Information Fusion, vol. 64, pp. 131–148, 2020.

Cheng, Z., Wang, Y., Wan, Y., and Jiang, C. “DeepFake detection method based on multi-scale interactive dual-stream network,” Journal of Visual Communication and Image Representation, vol. 104, Article 104263, 2024.

Xu, Q., Chen, H., Du, H., Zhang, H., Lukasik, S., Zhu, T., and Yu, X. “M3A: A multimodal misinformation dataset for media authenticity analysis,” Computer Vision and Image Understanding, vol. 249, Article 104205, 2024.

Ge, S., and Chen, Y. “Confidence-aware multimodal learning for trustworthy fake news detection,” INFORMS Journal on Computing, 2025. DOI:10.1287/ijoc.2024.0655.

Zhang, D., Zhu, W., Ding, X., Yang, G., Li, F., Deng, Z., and Song, Y. “SRTNet: A spatial and residual based two-stream neural network for deepfakes detection,” Multimedia Tools and Applications, vol. 82, no. 10, pp. 14859–14877, 2023.

Ni, Y., Zeng, W., Xia, P., Yang, G. S., and Tan, R. “A deepfake detection algorithm based on Fourier transform of biological signals,” Computers, Materials & Continua, vol. 79, no. 3, pp. 5295–5312, 2024.

Hernandez-Ortega, J., Tolosana, R., Fierrez, J., and Morales, A. “DeepFakes detection based on heart rate estimation: Single- and multi-frame,” in Handbook of Digital Face Manipulation and Detection: From DeepFakes to Morphing Attacks, pp. 255–273, Springer, 2022.

Borji, A. “Qualitative failures of image generation models and their application in detecting deepfakes,” Image and Vision Computing, vol. 137, Article 104771, 2023.

Li, L., Bao, J., Zhang, T., Yang, H., Chen, D., Wen, F., and Guo, B. “Face X-Ray for more general face forgery detection,” in Proc. IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 5000–5009, 2020.

Jiang, L., Li, R., Wu, W., Qian, C., and Loy, C. C. “DeeperForensics-1.0: A large-scale dataset for real-world face forgery detection,” in Proc. IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 2889–2898, 2020.

Shiohara, K., and Yamasaki, T. “Detecting deepfakes with self-blended images,” in Proc. IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 18720–18729, 2022.

Qi, H., Guo, Q., Juefei-Xu, F., Xie, X., Ma, L., Feng, W., Liu, Y., and Zhao, J. “DeepRhythm: Exposing DeepFakes with attentional visual heartbeat rhythms,” in Proc. 28th ACM International Conference on Multimedia (ACM MM), pp. 4318–4327, 2020.

Qian, Y., Yin, G., Sheng, L., Chen, Z., and Shao, J. “Thinking in frequency: Face forgery detection by mining frequency-aware clues,” in Computer Vision – ECCV 2020, Lecture Notes in Computer Science, vol. 12357, pp. 86–103, Springer, 2020.

Zhao, H., Zhou, W., Chen, D., Wei, T., Zhang, W., and Yu, N. “Multi-attentional deepfake detection,” in Proc. IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 2185–2194, 2021.

Sun, Z., Han, Y., Hua, Z., Ruan, N., and Jia, W. “Improving the efficiency and robustness of deepfakes detection through precise geometric features,” in Proc. IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 3609–3618, 2021.

Zhao, T., Xu, X., Xu, M., Ding, H., Xiong, Y., and Xia, W. “Learning self-consistency for deepfake detection,” in Proc. IEEE/CVF International Conference on Computer Vision (ICCV), pp. 15003–15013, 2021.

Mirsky, Y., and Lee, W. “The creation and detection of deepfakes: A survey,” ACM Computing Surveys, vol. 54, no. 1, Article 7, pp. 1–41, 2021. DOI:10.1145/3425780.

Jing, J., Wu, H., Sun, J., Fang, X., and Zhang, H. “Multimodal fake news detection via progressive fusion networks,” Information Processing & Management, vol. 60, no. 1, Article 103120, 2023.

Xu, Q., Qiao, H., Liu, S., and Liu, S. “Deepfake detection based on remote photoplethysmography,” Multimedia Tools and Applications, vol. 82, no. 23, pp. 35439–35456, 2023.

Patel, Y., Tanwar, S., Bhattacharya, P., Gupta, R., Alsuwian, T., Davidson, I. E., and Mazibuko, T. F. “An improved dense CNN architecture for deepfake image detection,” IEEE Access, vol. 11, pp. 22081–22095, 2023.

Wang, C., Ma, W., Zou, L., Xia, Z., Li, Q., Ma, B., and Liu, Y. “Toward robust deepfake detection: A proactive method based on watermarking and knowledge distillation,” in Proc. ACM International Conference on Multimedia (ACM MM), pp. 4798–4807, 2025.

Lipton, Z. C., Elkan, C., and Naryanaswamy, B. “Optimal thresholding of classifiers to maximize F1 measure,” in Machine Learning and Knowledge Discovery in Databases, Lecture Notes in Computer Science, vol. 8725, pp. 225–239, Springer, 2014.

Steinebach, M., Liu, H., and Gotkowski, K. “Fake news detection by image montage recognition,” Journal of Cyber Security and Mobility, vol. 9, no. 2, pp. 175–202, 2020.

Steinebach, M., Berwanger, T., and Liu, H. “Image hashing robust against cropping and rotation,” Journal of Cyber Security and Mobility, vol. 12, no. 2, pp. 129–160, 2023.

Creative Commons License

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.

Copyright (c) 2026 Journal of Cyber Security and Mobility

Downloads

Download data is not yet available.