Skip to main content

STN-Net: A Robust GAN-Generated Face Detector

  • Conference paper
  • First Online:
Information Systems Security (ICISS 2023)

Abstract

Massive advancements in Generative Artificial Intelligence in the recent years, have introduced hyper-realistic fake multimedia content. Where such technologies have become a boon to industries such as entertainment and gaming, malicious uses of the same in disseminating fabricated information eventually have invited serious social perils. Generative Adversarial Network (GAN) generated images, especially non-existent human facial images, lately have widely been used to disseminate propaganda and fake news in Online Social Networks (OSNs), by creating fake OSN profiles. Being visually indistinguishable from authentic images, GAN-generated image detection has become a massive challenge to the forensic community. Even though countermeasure solutions based on various Machine Learning (ML) and Deep Learning (DL) techniques have been proposed recently, most of their performance drops significantly for OSN-compressed images. Also, DL solutions based on Convolutional Neural Networks (CNN) tend to be highly complex and time-consuming for training.

This work proposes a solution to these problems by introducing STN-Net, a CNN classifier with an extremely reduced set of parameters, which adopts a carefully crafted minimal image feature set, computed based on Sine Transformed Noise (STN). Despite having a much-reduced feature set compared to other State-of-the-Art (SOTA) CNN-based solutions, our model achieves very high detection accuracy (\(average \ge 99\%\)). It also achieves promising detection performance on post-processed images, which mimic real-world OSN contexts.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

Notes

  1. 1.

    https://thispersondoesnotexist.com/.

  2. 2.

    https://www.npr.org/2022/12/15/1143114122/ai-generated-fake-faces-have-become-a-hallmark-of-online-influence-operations.

  3. 3.

    https://edition.cnn.com/2020/02/28/tech/fake-twitter-candidate-2020/index.html.

  4. 4.

    https://edition.cnn.com/2020/02/20/tech/fake-faces-deepfake/index.html.

References

  1. Carlini, N., Farid, H.: Evading deepfake-image detectors with white-and black-box attacks. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops, pp. 658–659 (2020)

    Google Scholar 

  2. Chen, B., Ju, X., Xiao, B., Ding, W., Zheng, Y., de Albuquerque, V.H.C.: Locally GAN-generated face detection based on an improved Xception. Inf. Sci. 572, 16–28 (2021)

    Article  Google Scholar 

  3. Chen, B., Liu, X., Zheng, Y., Zhao, G., Shi, Y.Q.: A robust GAN-generated face detection method based on dual-color spaces and an improved Xception. IEEE Trans. Circ. Syst. Video Technol. 32(6), 3527–3538 (2021)

    Article  Google Scholar 

  4. Chollet, F.: Xception: deep learning with depthwise separable convolutions. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 1251–1258 (2017)

    Google Scholar 

  5. Ciftci, U.A., Demir, I., Yin, L.: FakeCatcher: detection of synthetic portrait videos using biological signals. IEEE Trans. Pattern Anal. Mach. Intell. (2020). https://doi.org/10.1109/TPAMI.2020.3009287

  6. Cozzolino, D., Gragnaniello, D., Poggi, G., Verdoliva, L.: Towards universal GAN image detection. In: 2021 International Conference on Visual Communications and Image Processing (VCIP), pp. 1–5. IEEE (2021)

    Google Scholar 

  7. Frank, J., Eisenhofer, T., Schönherr, L., Fischer, A., Kolossa, D., Holz, T.: Leveraging frequency analysis for deep fake image recognition. In: International Conference on Machine Learning, pp. 3247–3258. PMLR (2020)

    Google Scholar 

  8. Fu, Y., Sun, T., Jiang, X., Xu, K., He, P.: Robust GAN-face detection based on dual-channel CNN network. In: 2019 12th International Congress on Image and Signal Processing, BioMedical Engineering and Informatics (CISP-BMEI), pp. 1–5. IEEE (2019)

    Google Scholar 

  9. Goodfellow, I., et al.: Generative adversarial nets. In: Advances in Neural Information Processing Systems, vol. 27 (2014)

    Google Scholar 

  10. Gragnaniello, D., Cozzolino, D., Marra, F., Poggi, G., Verdoliva, L.: Are GAN generated images easy to detect? A critical analysis of the state-of-the-art. In: 2021 IEEE International Conference on Multimedia and Expo (ICME), pp. 1–6. IEEE (2021)

    Google Scholar 

  11. Guo, H., Hu, S., Wang, X., Chang, M.C., Lyu, S.: Eyes tell all: irregular pupil shapes reveal GAN-generated faces. In: ICASSP 2022–2022 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pp. 2904–2908. IEEE (2022)

    Google Scholar 

  12. He, K., Zhang, X., Ren, S., Sun, J.: Deep residual learning for image recognition. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 770–778 (2016)

    Google Scholar 

  13. Karras, T., Aila, T., Laine, S., Lehtinen, J.: Progressive growing of GANs for improved quality, stability, and variation. arXiv preprint arXiv:1710.10196 (2017)

  14. Karras, T., et al.: Alias-free generative adversarial networks. In: Advances in Neural Information Processing Systems, vol. 34, pp. 852–863 (2021)

    Google Scholar 

  15. Karras, T., Laine, S., Aila, T.: A style-based generator architecture for generative adversarial networks. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 4401–4410 (2019)

    Google Scholar 

  16. Karras, T., Laine, S., Aittala, M., Hellsten, J., Lehtinen, J., Aila, T.: Analyzing and improving the image quality of StyleGAN. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 8110–8119 (2020)

    Google Scholar 

  17. Marra, F., Gragnaniello, D., Cozzolino, D., Verdoliva, L.: Detection of GAN-generated fake images over social networks. In: 2018 IEEE Conference on Multimedia Information Processing and Retrieval (MIPR), pp. 384–389. IEEE (2018)

    Google Scholar 

  18. Matern, F., Riess, C., Stamminger, M.: Exploiting visual artifacts to expose deepfakes and face manipulations. In: 2019 IEEE Winter Applications of Computer Vision Workshops (WACVW), pp. 83–92. IEEE (2019)

    Google Scholar 

  19. Mishra, M., Adhikary, F.: Digital image tamper detection techniques-a comprehensive study. arXiv preprint arXiv:1306.6737 (2013)

  20. Nataraj, L., et al.: Detecting GAN generated fake images using co-occurrence matrices. arXiv preprint arXiv:1903.06836 (2019)

  21. Nightingale, S., Agarwal, S., Härkönen, E., Lehtinen, J., Farid, H.: Synthetic faces: how perceptually convincing are they? J. Vis. 21(9), 2015–2015 (2021)

    Article  Google Scholar 

  22. Nowroozi, E., Mekdad, Y.: Detecting high-quality GAN-generated face images using neural networks. In: Big Data Analytics and Intelligent Systems for Cyber Threat Intelligence, pp. 235–252 (2023)

    Google Scholar 

  23. Qiao, T., et al.: CSC-Net: cross-color spatial co-occurrence matrix network for detecting synthesized fake images. IEEE Trans. Cogn. Dev. Syst. (2023). https://doi.org/10.1109/TCDS.2023.3274450

  24. Sharif, M., Mohsin, S., Javed, M.Y., Ali, M.A.: Single image face recognition using Laplacian of Gaussian and discrete cosine transforms. Int. Arab J. Inf. Technol. 9(6), 562–570 (2012)

    Google Scholar 

  25. Simonyan, K., Zisserman, A.: Very deep convolutional networks for large-scale image recognition. arXiv preprint arXiv:1409.1556 (2014)

  26. Szegedy, C., Vanhoucke, V., Ioffe, S., Shlens, J., Wojna, Z.: Rethinking the inception architecture for computer vision. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 2818–2826 (2016)

    Google Scholar 

  27. Tan, M., Le, Q.: EfficientNet: rethinking model scaling for convolutional neural networks. In: International Conference on Machine Learning, pp. 6105–6114. PMLR (2019)

    Google Scholar 

  28. Verdoliva, L.: Media forensics and deepfakes: an overview. IEEE J. Sel. Top. Sig. Process. 14(5), 910–932 (2020)

    Article  Google Scholar 

  29. Wan, J., He, X., Shi, P.: An iris image quality assessment method based on Laplacian of Gaussian operation. In: MVA, pp. 248–251 (2007)

    Google Scholar 

  30. Wang, B., Wu, X., Tang, Y., Ma, Y., Shan, Z., Wei, F.: Frequency domain filtered residual network for deepfake detection. Mathematics 11(4), 816 (2023)

    Article  Google Scholar 

  31. Xia, Z., Qiao, T., Xu, M., Zheng, N., Xie, S.: Towards DeepFake video forensics based on facial textural disparities in multi-color channels. Inf. Sci. 607, 654–669 (2022)

    Article  Google Scholar 

  32. Yang, X., Li, Y., Qi, H., Lyu, S.: Exposing GAN-synthesized faces using landmark locations. In: Proceedings of the ACM Workshop on Information Hiding and Multimedia Security, pp. 113–118 (2019)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Tanusree Ghosh .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Ghosh, T., Naskar, R. (2023). STN-Net: A Robust GAN-Generated Face Detector. In: Muthukkumarasamy, V., Sudarsan, S.D., Shyamasundar, R.K. (eds) Information Systems Security. ICISS 2023. Lecture Notes in Computer Science, vol 14424. Springer, Cham. https://doi.org/10.1007/978-3-031-49099-6_9

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-49099-6_9

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-49098-9

  • Online ISBN: 978-3-031-49099-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics