{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,7,27]],"date-time":"2026-07-27T07:39:15Z","timestamp":1785137955661,"version":"3.55.0"},"reference-count":47,"publisher":"MDPI AG","issue":"8","license":[{"start":{"date-parts":[[2021,7,30]],"date-time":"2021-07-30T00:00:00Z","timestamp":1627603200000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["J. Imaging"],"abstract":"<jats:p>To properly contrast the Deepfake phenomenon the need to design new Deepfake detection algorithms arises; the misuse of this formidable A.I. technology brings serious consequences in the private life of every involved person. State-of-the-art proliferates with solutions using deep neural networks to detect a fake multimedia content but unfortunately these algorithms appear to be neither generalizable nor explainable. However, traces left by Generative Adversarial Network (GAN) engines during the creation of the Deepfakes can be detected by analyzing ad-hoc frequencies. For this reason, in this paper we propose a new pipeline able to detect the so-called GAN Specific Frequencies (GSF) representing a unique fingerprint of the different generative architectures. By employing Discrete Cosine Transform (DCT), anomalous frequencies were detected. The \u03b2 statistics inferred by the AC coefficients distribution have been the key to recognize GAN-engine generated data. Robustness tests were also carried out in order to demonstrate the effectiveness of the technique using different attacks on images such as JPEG Compression, mirroring, rotation, scaling, addition of random sized rectangles. Experiments demonstrated that the method is innovative, exceeds the state of the art and also give many insights in terms of explainability.<\/jats:p>","DOI":"10.3390\/jimaging7080128","type":"journal-article","created":{"date-parts":[[2021,7,30]],"date-time":"2021-07-30T12:59:24Z","timestamp":1627649964000},"page":"128","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":104,"title":["Fighting Deepfakes by Detecting GAN DCT Anomalies"],"prefix":"10.3390","volume":"7","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-8343-2049","authenticated-orcid":false,"given":"Oliver","family":"Giudice","sequence":"first","affiliation":[{"name":"Department of Mathematics and Computer Science, University of Catania, 95125 Catania, Italy"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-8315-351X","authenticated-orcid":false,"given":"Luca","family":"Guarnera","sequence":"additional","affiliation":[{"name":"Department of Mathematics and Computer Science, University of Catania, 95125 Catania, Italy"},{"name":"iCTLab s.r.l., Spinoff of University of Catania, 95125 Catania, Italy"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-6127-2470","authenticated-orcid":false,"given":"Sebastiano","family":"Battiato","sequence":"additional","affiliation":[{"name":"Department of Mathematics and Computer Science, University of Catania, 95125 Catania, Italy"},{"name":"iCTLab s.r.l., Spinoff of University of Catania, 95125 Catania, Italy"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1968","published-online":{"date-parts":[[2021,7,30]]},"reference":[{"key":"ref_1","unstructured":"Goodfellow, I., Pouget-Abadie, J., Mirza, M., Xu, B., Warde-Farley, D., Ozair, S., Courville, A., and Bengio, Y. (2014, January 8\u201313). Generative adversarial nets. Proceedings of the Advances in Neural Information Processing Systems, Montreal, QC, Canada."},{"key":"ref_2","doi-asserted-by":"crossref","unstructured":"Vaccari, C., and Chadwick, A. (2020). Deepfakes and disinformation: Exploring the impact of synthetic political video on deception, uncertainty, and trust in news. Soc. Media+ Soc., 6.","DOI":"10.1177\/2056305120903408"},{"key":"ref_3","doi-asserted-by":"crossref","unstructured":"Guarnera, L., Giudice, O., and Battiato, S. (2020, January 14\u201319). DeepFake Detection by Analyzing Convolutional Traces. Proceedings of the IEEE\/CVF Conference on Computer Vision and Pattern Recognition Workshops, Seattle, WA, USA.","DOI":"10.1109\/CVPRW50498.2020.00341"},{"key":"ref_4","doi-asserted-by":"crossref","unstructured":"Guarnera, L., Giudice, O., Nastasi, C., and Battiato, S. (2020, January 23\u201325). Preliminary Forensics Analysis of DeepFake Images. Proceedings of the 2020 AEIT International Annual Conference (AEIT), Catania, Italy.","DOI":"10.23919\/AEIT50178.2020.9241108"},{"key":"ref_5","doi-asserted-by":"crossref","unstructured":"Zhang, X., Karaman, S., and Chang, S.F. (2019, January 9\u201312). Detecting and simulating artifacts in gan fake images. Proceedings of the 2019 IEEE International Workshop on Information Forensics and Security (WIFS), Delft, The Netherlands.","DOI":"10.1109\/WIFS47025.2019.9035107"},{"key":"ref_6","doi-asserted-by":"crossref","first-page":"145","DOI":"10.1023\/A:1011139631724","article-title":"Modeling the shape of the scene: A holistic representation of the spatial envelope","volume":"42","author":"Oliva","year":"2001","journal-title":"Int. J. Comput. Vis."},{"key":"ref_7","doi-asserted-by":"crossref","unstructured":"Xu, K., Qin, M., Sun, F., Wang, Y., Chen, Y.K., and Ren, F. (2020, January 14\u201319). Learning in the frequency domain. Proceedings of the IEEE\/CVF Conference on Computer Vision and Pattern Recognition, Seattle, WA, USA.","DOI":"10.1109\/CVPR42600.2020.00181"},{"key":"ref_8","doi-asserted-by":"crossref","unstructured":"Xu, Z.Q.J., Zhang, Y., and Xiao, Y. (2019). Training behavior of deep neural network in frequency domain. Neural Information Processing, Springer.","DOI":"10.1007\/978-3-030-36708-4_22"},{"key":"ref_9","unstructured":"Yin, D., Gontijo Lopes, R., Shlens, J., Cubuk, E.D., and Gilmer, J. (2019, January 8\u201314). A Fourier Perspective on Model Robustness in Computer Vision. Proceedings of the Advances in Neural Information Processing Systems, Vancouver, BC, Canada."},{"key":"ref_10","unstructured":"Rahaman, N., Baratin, A., Arpit, D., Draxler, F., Lin, M., Hamprecht, F., Bengio, Y., and Courville, A. (2019, January 9\u201315). On the spectral bias of neural networks. Proceedings of the International Conference on Machine Learning, Long Beach, CA, USA."},{"key":"ref_11","doi-asserted-by":"crossref","first-page":"1086","DOI":"10.1016\/j.patcog.2014.05.014","article-title":"Representing scenes for real-time context classification on mobile devices","volume":"48","author":"Farinella","year":"2015","journal-title":"Pattern Recognit."},{"key":"ref_12","doi-asserted-by":"crossref","first-page":"260","DOI":"10.1016\/j.patcog.2015.10.021","article-title":"Semantic segmentation of images exploiting DCT based features and random forest","volume":"52","author":"Bober","year":"2016","journal-title":"Pattern Recognit."},{"key":"ref_13","doi-asserted-by":"crossref","first-page":"1661","DOI":"10.1109\/83.869177","article-title":"A mathematical analysis of the DCT coefficient distributions for images","volume":"9","author":"Lam","year":"2000","journal-title":"IEEE Trans. Image Process."},{"key":"ref_14","doi-asserted-by":"crossref","unstructured":"Tolosana, R., Vera-Rodriguez, R., Fierrez, J., Morales, A., and Ortega-Garcia, J. (2020). Deepfakes and beyond: A survey of face manipulation and fake detection. arXiv.","DOI":"10.1016\/j.inffus.2020.06.014"},{"key":"ref_15","doi-asserted-by":"crossref","first-page":"910","DOI":"10.1109\/JSTSP.2020.3002101","article-title":"Media Forensics and DeepFakes: An overview","volume":"14","author":"Verdoliva","year":"2020","journal-title":"IEEE J. Sel. Top. Signal Process."},{"key":"ref_16","doi-asserted-by":"crossref","unstructured":"Choi, Y., Choi, M., Kim, M., Ha, J.W., Kim, S., and Choo, J. (2018, January 18\u201322). Stargan: Unified generative adversarial networks for multi-domain image-to-image translation. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA.","DOI":"10.1109\/CVPR.2018.00916"},{"key":"ref_17","doi-asserted-by":"crossref","unstructured":"Karras, T., Laine, S., and Aila, T. (2019, January 16\u201320). A style-based generator architecture for generative adversarial networks. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Long Beach, CA, USA.","DOI":"10.1109\/CVPR.2019.00453"},{"key":"ref_18","doi-asserted-by":"crossref","unstructured":"Karras, T., Laine, S., Aittala, M., Hellsten, J., Lehtinen, J., and Aila, T. (2020, January 14\u201319). Analyzing and improving the image quality of stylegan. Proceedings of the IEEE\/CVF Conference on Computer Vision and Pattern Recognition, Seattle, WA, USA.","DOI":"10.1109\/CVPR42600.2020.00813"},{"key":"ref_19","doi-asserted-by":"crossref","first-page":"5464","DOI":"10.1109\/TIP.2019.2916751","article-title":"Attgan: Facial attribute editing by only changing what you want","volume":"28","author":"He","year":"2019","journal-title":"IEEE Trans. Image Process."},{"key":"ref_20","doi-asserted-by":"crossref","unstructured":"Cho, W., Choi, S., Park, D.K., Shin, I., and Choo, J. (2019, January 16\u201320). Image-to-image translation via group-wise deep whitening-and-coloring transformation. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Long Beach, CA, USA.","DOI":"10.1109\/CVPR.2019.01089"},{"key":"ref_21","doi-asserted-by":"crossref","unstructured":"Liu, Z., Luo, P., Wang, X., and Tang, X. (2015, January 7\u201313). Deep learning face attributes in the wild. Proceedings of the IEEE International Conference on Computer Vision, Santiago, Chile.","DOI":"10.1109\/ICCV.2015.425"},{"key":"ref_22","doi-asserted-by":"crossref","first-page":"1377","DOI":"10.1080\/02699930903485076","article-title":"Presentation and validation of the Radboud Faces Database","volume":"24","author":"Langner","year":"2010","journal-title":"Cogn. Emot."},{"key":"ref_23","doi-asserted-by":"crossref","unstructured":"Zhu, J.Y., Park, T., Isola, P., and Efros, A.A. (2017, January 22\u201329). Unpaired image-to-image translation using cycle-consistent adversarial networks. Proceedings of the IEEE International Conference on Computer Vision, Venice, Italy.","DOI":"10.1109\/ICCV.2017.244"},{"key":"ref_24","doi-asserted-by":"crossref","unstructured":"Lee, H.Y., Tseng, H.Y., Huang, J.B., Singh, M., and Yang, M.H. (2018, January 8\u201314). Diverse image-to-image translation via disentangled representations. Proceedings of the European Conference on Computer Vision (ECCV), Munich, Germany.","DOI":"10.1007\/978-3-030-01246-5_3"},{"key":"ref_25","doi-asserted-by":"crossref","unstructured":"Wilber, M.J., Fang, C., Jin, H., Hertzmann, A., Collomosse, J., and Belongie, S. (2017, January 22\u201329). Bam! The behance artistic media dataset for recognition beyond photography. Proceedings of the IEEE International Conference on Computer Vision, Venice, Italy.","DOI":"10.1109\/ICCV.2017.136"},{"key":"ref_26","unstructured":"Durall, R., Keuper, M., Pfreundt, F.J., and Keuper, J. (2019). Unmasking deepfakes with simple features. arXiv."},{"key":"ref_27","unstructured":"Karras, T., Aila, T., Laine, S., and Lehtinen, J. (2017). Progressive growing of gans for improved quality, stability, and variation. arXiv."},{"key":"ref_28","doi-asserted-by":"crossref","unstructured":"Wang, R., Ma, L., Juefei-Xu, F., Xie, X., Wang, J., and Liu, Y. (2019). Fakespotter: A simple baseline for spotting AI-synthesized fake faces. arXiv.","DOI":"10.24963\/ijcai.2020\/476"},{"key":"ref_29","doi-asserted-by":"crossref","unstructured":"Liu, M., Ding, Y., Xia, M., Liu, X., Ding, E., Zuo, W., and Wen, S. (2019, January 16\u201320). Stgan: A unified selective transfer network for arbitrary image attribute editing. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Long Beach, CA, USA.","DOI":"10.1109\/CVPR.2019.00379"},{"key":"ref_30","doi-asserted-by":"crossref","unstructured":"Rossler, A., Cozzolino, D., Verdoliva, L., Riess, C., Thies, J., and Nie\u00dfner, M. (2019, January 27\u201328). Faceforensics++: Learning to detect manipulated facial images. Proceedings of the IEEE International Conference on Computer Vision, Seoul, Korea.","DOI":"10.1109\/ICCV.2019.00009"},{"key":"ref_31","doi-asserted-by":"crossref","unstructured":"Li, Y., Yang, X., Sun, P., Qi, H., and Lyu, S. (2020, January 14\u201319). Celeb-DF: A Large-scale Challenging Dataset for DeepFake Forensics. Proceedings of the IEEE\/CVF Conference on Computer Vision and Pattern Recognition, Seattle, WA, USA.","DOI":"10.1109\/CVPR42600.2020.00327"},{"key":"ref_32","doi-asserted-by":"crossref","unstructured":"Jain, A., Majumdar, P., Singh, R., and Vatsa, M. (2020, January 14\u201319). 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.","DOI":"10.1109\/CVPRW50498.2020.00344"},{"key":"ref_33","doi-asserted-by":"crossref","unstructured":"Ledig, C., Theis, L., Husz\u00e1r, F., Caballero, J., Cunningham, A., Acosta, A., Aitken, A., Tejani, A., Totz, J., and Wang, Z. (2017, January 21\u201326). Photo-realistic single image super-resolution using a generative adversarial network. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Honolulu, HI, USA.","DOI":"10.1109\/CVPR.2017.19"},{"key":"ref_34","unstructured":"Radford, A., Metz, L., and Chintala, S. (2015). Unsupervised representation learning with deep convolutional generative adversarial networks. arXiv."},{"key":"ref_35","doi-asserted-by":"crossref","unstructured":"Pathak, D., Krahenbuhl, P., Donahue, J., Darrell, T., and Efros, A.A. (2016, January 27\u201330). Context encoders: Feature learning by inpainting. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA.","DOI":"10.1109\/CVPR.2016.278"},{"key":"ref_36","doi-asserted-by":"crossref","unstructured":"Liu, Z., Qi, X., and Torr, P.H. (2020, January 14\u201319). Global texture enhancement for fake face detection in the wild. Proceedings of the IEEE\/CVF Conference on Computer Vision and Pattern Recognition, Seattle, WA, USA.","DOI":"10.1109\/CVPR42600.2020.00808"},{"key":"ref_37","doi-asserted-by":"crossref","unstructured":"Hulzebosch, N., Ibrahimi, S., and Worring, M. (2020, January 14\u201319). Detecting CNN-Generated Facial Images in Real-World Scenarios. Proceedings of the IEEE\/CVF Conference on Computer Vision and Pattern Recognition Workshops, Seattle, WA, USA.","DOI":"10.1109\/CVPRW50498.2020.00329"},{"key":"ref_38","doi-asserted-by":"crossref","first-page":"165085","DOI":"10.1109\/ACCESS.2020.3023037","article-title":"Fighting Deepfake by Exposing the Convolutional Traces on Images","volume":"8","author":"Guarnera","year":"2020","journal-title":"IEEE Access"},{"key":"ref_39","doi-asserted-by":"crossref","first-page":"47","DOI":"10.1109\/79.543975","article-title":"The expectation-maximization algorithm","volume":"13","author":"Moon","year":"1996","journal-title":"IEEE Signal Process. Mag."},{"key":"ref_40","doi-asserted-by":"crossref","first-page":"2405","DOI":"10.1109\/TSMCB.2004.837586","article-title":"A face and palmprint recognition approach based on discriminant DCT feature extraction","volume":"34","author":"Jing","year":"2004","journal-title":"IEEE Trans. Syst. Man Cybern. Part B Cybern."},{"key":"ref_41","doi-asserted-by":"crossref","first-page":"88","DOI":"10.1016\/j.dsp.2015.01.002","article-title":"Camera model identification based on DCT coefficient statistics","volume":"40","author":"Thai","year":"2015","journal-title":"Digit. Signal Process."},{"key":"ref_42","doi-asserted-by":"crossref","first-page":"97","DOI":"10.1109\/LSP.2003.821789","article-title":"Analysis of the DCT coefficient distributions for document coding","volume":"11","author":"Lam","year":"2004","journal-title":"IEEE Signal Process. Lett."},{"key":"ref_43","first-page":"1755","article-title":"Dlib-ml: A Machine Learning Toolkit","volume":"10","author":"King","year":"2009","journal-title":"J. Mach. Learn. Res."},{"key":"ref_44","doi-asserted-by":"crossref","unstructured":"Wang, S.Y., Wang, O., Zhang, R., Owens, A., and Efros, A.A. (2020, January 14\u201319). CNN-generated images are surprisingly easy to spot\u2026 for now. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Seattle, WA, USA.","DOI":"10.1109\/CVPR42600.2020.00872"},{"key":"ref_45","doi-asserted-by":"crossref","unstructured":"Zhou, B., Zhao, H., Puig, X., Fidler, S., Barriuso, A., and Torralba, A. (2017, January 21\u201326). Scene parsing through ade20k dataset. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Honolulu, HI, USA.","DOI":"10.1109\/CVPR.2017.544"},{"key":"ref_46","unstructured":"Bishop, C.M. (2006). Pattern Recognition and Machine Learning, Springer."},{"key":"ref_47","doi-asserted-by":"crossref","unstructured":"Thies, J., Zollhofer, M., Stamminger, M., Theobalt, C., and Nie\u00dfner, M. (2016, January 27\u201330). 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.","DOI":"10.1109\/CVPR.2016.262"}],"container-title":["Journal of Imaging"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/2313-433X\/7\/8\/128\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,11]],"date-time":"2025-10-11T06:37:26Z","timestamp":1760164646000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/2313-433X\/7\/8\/128"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2021,7,30]]},"references-count":47,"journal-issue":{"issue":"8","published-online":{"date-parts":[[2021,8]]}},"alternative-id":["jimaging7080128"],"URL":"https:\/\/doi.org\/10.3390\/jimaging7080128","relation":{},"ISSN":["2313-433X"],"issn-type":[{"value":"2313-433X","type":"electronic"}],"subject":[],"published":{"date-parts":[[2021,7,30]]}}}