Proceedings

Unlocking the Potential of Lightweight Quantized Models for Deepfake Detection

Download BibTeX Cite

Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence. Main Track. Pages 520-528.

https://doi.org/10.24963/ijcai.2025/59

Abstract

Deepfake detection is increasingly crucial due to the rapid rise of AI-generated content. Existing methods achieve high performance relying on computationally intensive large models, making real-time detection on resource-constrained edge devices challenging. Given that deepfake detection is a binary classification task, there is potential for model compression and acceleration. In this paper, we propose a low-bit quantization framework for lightweight and efficient deepfake detection. The Connected Quantized Block extracts common forgery features via the quantized path and retains method-specific textures through the shortcut connections. Additionally, the Shifted Logarithmic Redistribution Quantizer mitigates information loss in near-zero domains by unfolding the unbalanced activations, enabling finer quantization granularity. Comprehensive experiments demonstrate that this new framework significantly reduces 10.8x computational costs and 12.4x storage requirements while maintaining high detection performance, even surpassing SOTA methods using less than 5% FLOPs, paving the way for efficient deepfake detection in resource-limited scenarios.

  1. [Asnani et al., 2023] Vishal Asnani, Xi Yin, Tal Hassner, and Xiaoming Liu. Reverse engineering of generative models: Inferring model hyperparameters from generated images. IEEE Transactions on Pattern Analysis and Machine In- telligence, 2023.
  2. [Cao and others, 2022] Junyi Cao et al. End-to-end reconstruction-classification learning for face forgery de- tection. In CVPR, pages 4113-4122, 2022.
  3. [Chai and others, 2020] Lucy Chai et al. What makes fake images detectable? understanding properties that general- ize. In ECCV, pages 103-120. Springer, 2020.
  4. [Chen and others, 2022] Liang Chen et al. Self-supervised learning of adversarial example: Towards good general- izations for deepfake detection. In CVPR, pages 18710- 18719, 2022.
  5. [Ding et al., 2023] Hongwei Ding, Yu Sun, Nana Huang, Zhidong Shen, and Xiaohui Cui. Tmg-gan: Generative adversarial networks-based imbalanced learning for net- work intrusion detection. IEEE Transactions on Informa- tion Forensics and Security, 19:1156-1167, 2023.
  6. [Ding et al., 2024] Yifu Ding, Weilun Feng, Chuyan Chen, Jinyang Guo, and Xianglong Liu. Reg-ptq: Regression- specialized post-training quantization for fully quantized object detector. In Proceedings of the IEEE/CVF Confer- ence on Computer Vision and Pattern Recognition, pages 16174-16184, 2024.
  7. [Durall and others, 2020] Ricard Durall et al. Watch your up-convolution: Cnn based generative deep neural net- works are failing to reproduce spectral distributions. In CVPR, pages 7890-7899, 2020.
  8. [Esser et al., 2019] Steven K Esser, Jeffrey L McKinstry, Deepika Bablani, Rathinakumar Appuswamy, and Dhar- mendra S Modha. Learned step size quantization. arXiv preprint arXiv:1902.08153, 2019.
  9. [Esser et al., 2020] Steven K. Esser, Jeffrey L. McKinstry, Deepika Bablani, Rathinakumar Appuswamy, and Dhar- mendra S. Modha. Learned step size quantization. In Inter- national Conference on Learning Representations, 2020.
  10. [Frank and others, 2020] Joel Frank et al. Leveraging fre- quency analysis for deep fake image recognition. In ICML, pages 3247-3258. PMLR, 2020.
  11. [He and others, 2021] Yang He et al. Beyond the spectrum: Detecting deepfakes via re-synthesis. In Proceedings of the Thirtieth International Joint Conference on Artificial Intelligence, IJCAI-21, pages 2534-2541. International Joint Conferences on Artificial Intelligence Organization, 2021. IJCAI
  12. [Hernández et al., 2024] Nicolás Hernández, Francisco Almeida, and Vicente Blanco. Optimizing convolutional neural networks for iot devices: performance and energy efficiency of quantization techniques. The Journal of Supercomputing, pages 1-20, 2024.
  13. [Jeong and others, 2022a] Yonghyun Jeong et al. Bihpf: Bi- lateral high-pass filters for robust deepfake detection. In WACV, pages 48-57, 2022.
  14. [Jeong and others, 2022b] Yonghyun Jeong et al. Finger- printnet: Synthesized fingerprints for generated image de- tection. In ECCV, pages 76-94. Springer, 2022.
  15. [Jeong and others, 2022c] Yonghyun Jeong et al. Frepgan: robust deepfake detection using frequency-level perturba- tions. In AAAI, volume 36, pages 1060-1068, 2022.
  16. [Ju and others, 2022] Yan Ju et al. Fusing global and local features for generalized ai-synthesized image detection. In 2022 IEEE International Conference on Image Processing (ICIP), pages 3465-3469. IEEE, 2022.
  17. [Jung et al., 2019] Sangil Jung, Changyong Son, Seohyung Lee, Jinwoo Son, Jae-Joon Han, Youngjun Kwak, Sung Ju Hwang, and Changkyu Choi. Learning to quantize deep networks by optimizing quantization intervals with task loss. In Proceedings of the IEEE/CVF conference on com- puter vision and pattern recognition, pages 4350-4359, 2019.
  18. [Lanzino et al., 2024] Romeo Lanzino, Federico Fontana, Anxhelo Diko, Marco Raoul Marini, and Luigi Cinque. Faster than lies: Real-time deepfake detection using bi- nary neural networks. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) Workshops, pages 3771-3780, June 2024.
  19. [Le and Woo, 2024] Binh M Le and Simon S Woo. Gradi- ent alignment for cross-domain face anti-spoofing. In Pro- ceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 188-199, 2024.
  20. [Liu et al., 2020] Zechun Liu, Zhiqiang Shen, Marios Sav- vides, and Kwang-Ting Cheng. Reactnet: Towards precise binary neural network with generalized activation func- tions. In Computer Vision-ECCV 2020: 16th European Conference, Glasgow, UK, August 23-28, 2020, Proceed- ings, Part XIV 16, pages 143-159. Springer, 2020.
  21. [Liu et al., 2022] Zechun Liu, Kwang-Ting Cheng, Dong Huang, Eric P Xing, and Zhiqiang Shen. Nonuniform-to- uniform quantization: Towards accurate quantization via generalized straight-through estimation. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 4942-4952, 2022.
  22. [Liu et al., 2023] Jun Liu, Jiantao Zhou, Haiwei Wu, Weiwei Sun, and Jinyu Tian. Generating robust adversarial exam- ples against online social networks (osns). ACM Trans- actions on Multimedia Computing, Communications and Applications, 20(4):1-26, 2023.
  23. [Mandelli and others, 2022] Sara Mandelli et al. Detecting gan-generated images by orthogonal training of multiple cnns. In 2022 IEEE International Conference on Image Processing (ICIP), pages 3091-3095. IEEE, 2022.
  24. [Ojha et al., 2023] Utkarsh Ojha, Yuheng Li, and Yong Jae Lee. Towards universal fake image detectors that gen- eralize across generative models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 24480-24489, 2023.
  25. [Qian and others, 2020] Yuyang Qian et al. Thinking in frequency: Face forgery detection by mining frequency- aware clues. In ECCV, pages 86-103. Springer, 2020.
  26. [Shiohara and others, 2022] Kaede Shiohara et al. Detect- ing deepfakes with self-blended images. In CVPR, pages 18720-18729, 2022.
  27. [Tan and others, 2023] Chuangchuang Tan et al. Learning on gradients: Generalized artifacts representation for gan- generated images detection. In CVPR (CVPR), pages 12105-12114, June 2023.
  28. [Tan et al., 2023] Chuangchuang Tan, Yao Zhao, Shikui Wei, Guanghua Gu, and Yunchao Wei. Learning on gradients: Generalized artifacts representation for gan- generated images detection. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 12105-12114, June 2023.
  29. [Tan et al., 2024a] Chuangchuang Tan, Yao Zhao, Shikui Wei, Guanghua Gu, Ping Liu, and Yunchao Wei. Frequency-aware deepfake detection: Improving general- izability through frequency space learning, 2024.
  30. [Tan et al., 2024b] Chuangchuang Tan, Yao Zhao, Shikui Wei, Guanghua Gu, Ping Liu, and Yunchao Wei. Rethink- ing the up-sampling operations in cnn-based generative network for generalizable deepfake detection. In Proceed- ings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 28130-28139, 2024.
  31. [Tan et al., 2025] Chuangchuang Tan, Renshuai Tao, Huan Liu, Guanghua Gu, Baoyuan Wu, Yao Zhao, and Yunchao Wei. C2p-clip: Injecting category common prompt in clip to enhance generalization in deepfake detection. In Pro- ceedings of the AAAI Conference on Artificial Intelligence, volume 39, pages 7184-7192, 2025.
  32. [Tao et al., 2021] Renshuai Tao, Yanlu Wei, Xiangjian Jiang, Hainan Li, Haotong Qin, Jiakai Wang, Yuqing Ma, Libo Zhang, and Xianglong Liu. Towards real-world x-ray se- curity inspection: A high-quality benchmark and lateral inhibition module for prohibited items detection. In Pro- ceedings of the IEEE/CVF international conference on computer vision, pages 10923-10932, 2021.
  33. [Tao et al., 2022] Renshuai Tao, Hainan Li, Tianbo Wang, Yanlu Wei, Yifu Ding, Bowei Jin, Hongping Zhi, Xian- glong Liu, and Aishan Liu. Exploring endogenous shift for cross-domain detection: A large-scale benchmark and perturbation suppression network. In 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 21157-21167. IEEE, 2022.
  34. [Tao et al., 2025a] Renshuai Tao, Manyi Le, Chuangchuang Tan, Huan Liu, Haotong Qin, and Yao Zhao. Oddn: Ad- dressing unpaired data challenges in open-world deepfake detection on online social networks. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 39, pages 799-807, 2025.
  35. [Tao et al., 2025b] Renshuai Tao, Shijie Tang, Haotong Qin, Wei Wang, Yunchao Wei, and Yao Zhao. Lednet: A mul- timodal foundation model for robust deepfake detection. Science China Information Sciences, 68(6):160106, 2025.
  36. [Vice et al., 2024] Jordan Vice, Naveed Akhtar, Richard Hartley, and Ajmal Mian. Bagm: A backdoor attack for manipulating text-to-image generative models. IEEE Transactions on Information Forensics and Security, 2024.
  37. [Wang and others, 2020] Sheng-Yu Wang et al. Cnn- generated images are surprisingly easy to spot... for now. In CVPR, pages 8695-8704, 2020.
  38. [Wang and others, 2021] Chengrui Wang et al. Represen- tative forgery mining for fake face detection. In CVPR, pages 14923-14932, 2021.
  39. [Wang and others, 2023] Zhendong Wang et al. Dire for diffusion-generated image detection. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), pages 22445-22455, October 2023.
  40. [Wang et al., 2023a] Zhendong Wang, Jianmin Bao, Wen- gang Zhou, Weilun Wang, and Houqiang Li. Altfreezing for more general video face forgery detection. In CVPR, pages 4129-4138, 2023.
  41. [Wang et al., 2023b] Zhendong Wang, Hui Chen, Shuxin Yang, Xiao Luo, Dahai Li, and Junling Wang. A lightweight intrusion detection method for iot based on deep learning and dynamic quantization. PeerJ Computer Science, 9:e1569, 2023.
  42. [Wei et al., 2020] Yanlu Wei, Renshuai Tao, Zhangjie Wu, Yuqing Ma, Libo Zhang, and Xianglong Liu. Occluded prohibited items detection: An x-ray security inspection benchmark and de-occlusion attention module. In Pro- ceedings of the 28th ACM international conference on multimedia, pages 138-146, 2020.
  43. [Wu et al., 2023] Haiwei Wu, Jiantao Zhou, Xinyu Zhang, Jinyu Tian, and Weiwei Sun. Robust camera model iden- tification over online social network shared images via multi-scenario learning. IEEE Transactions on Informa- tion Forensics and Security, 2023.
  44. [Wu et al., 2024] Siyang Wu, Jiakai Wang, Jiejie Zhao, Yazhe Wang, and Xianglong Liu. Napguard: Towards de- tecting naturalistic adversarial patches. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pat- tern Recognition, pages 24367-24376, 2024.
  45. [Yin et al., 2024] Zixin Yin, Jiakai Wang, Yisong Xiao, Han- qing Zhao, Tianlin Li, Wenbo Zhou, Aishan Liu, and Xi- anglong Liu. Improving deepfake detection generalization by invariant risk minimization. IEEE Transactions on Mul- timedia, 26:6785-6798, 2024.
  46. [Zeng et al., 2024] Kai Zeng, Kejiang Chen, Jiansong Zhang, Weiming Zhang, and Nenghai Yu. Towards secure and robust steganography for black-box generated images. IEEE Transactions on Information Forensics and Security, 2024.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards