{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,6,29]],"date-time":"2026-06-29T19:48:51Z","timestamp":1782762531287,"version":"3.54.5"},"reference-count":52,"publisher":"MDPI AG","issue":"3","license":[{"start":{"date-parts":[[2024,3,11]],"date-time":"2024-03-11T00:00:00Z","timestamp":1710115200000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"name":"Hellenic Foundation for Research and Innovation (HFRI) under the HFRI PhD Fellowship","award":["820"],"award-info":[{"award-number":["820"]}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Information"],"abstract":"<jats:p>The detection of computer-generated (CG) multimedia content has become of utmost importance due to the advances in digital image processing and computer graphics. Realistic CG images could be used for fraudulent purposes due to the deceiving recognition capabilities of human eyes. So, there is a need to deploy algorithmic tools for distinguishing CG images from natural ones within multimedia forensics. Here, an end-to-end framework is proposed to tackle the problem of distinguishing CG images from natural ones by utilizing supervised contrastive learning and arbitrary style transfer by means of a two-stage deep neural network architecture. This architecture enables discrimination by leveraging per-class embeddings and generating multiple training samples to increase model capacity without the need for a vast amount of initial data. Stochastic weight averaging (SWA) is also employed to improve the generalization and stability of the proposed framework. Extensive experiments are conducted to investigate the impact of various noise conditions on the classification accuracy and the proposed framework\u2019s generalization ability. The conducted experiments demonstrate superior performance over the existing state-of-the-art methodologies on the public DSTok, Rahmouni, and LSCGB benchmark datasets. Hypothesis testing asserts that the improvements in detection accuracy are statistically significant.<\/jats:p>","DOI":"10.3390\/info15030158","type":"journal-article","created":{"date-parts":[[2024,3,11]],"date-time":"2024-03-11T07:25:32Z","timestamp":1710141932000},"page":"158","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":4,"title":["Detect with Style: A Contrastive Learning Framework for Detecting Computer-Generated Images"],"prefix":"10.3390","volume":"15","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-7980-7805","authenticated-orcid":false,"given":"Georgios","family":"Karantaidis","sequence":"first","affiliation":[{"name":"School of Informatics, Faculty of Sciences, Aristotle University of Thessaloniki, University Campus, 54124 Thessaloniki, Greece"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Constantine","family":"Kotropoulos","sequence":"additional","affiliation":[{"name":"School of Informatics, Faculty of Sciences, Aristotle University of Thessaloniki, University Campus, 54124 Thessaloniki, Greece"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1968","published-online":{"date-parts":[[2024,3,11]]},"reference":[{"key":"ref_1","unstructured":"(2020, January 24). Autodesk A360 Rendering Gallery. Available online: https:\/\/gallery.autodesk.com\/a360rendering\/."},{"key":"ref_2","unstructured":"(2020, January 24). Artlantis Gallery. Available online: https:\/\/artlantis.com\/en\/gallery\/."},{"key":"ref_3","unstructured":"(2020, January 24). Learn VRay. Available online: https:\/\/www.learnvray.com\/fotogallery\/."},{"key":"ref_4","unstructured":"(2020, January 24). Corona Renderer Gallery. Available online: https:\/\/corona-renderer.com\/gallery."},{"key":"ref_5","doi-asserted-by":"crossref","unstructured":"Yang, P., Baracchi, D., Ni, R., Zhao, Y., Argenti, F., and Piva, A. (2020). A survey of deep learning-based source image forensics. J. Imaging, 6.","DOI":"10.3390\/jimaging6030009"},{"key":"ref_6","doi-asserted-by":"crossref","first-page":"3105","DOI":"10.1049\/iet-ipr.2019.1114","article-title":"Siamese convolutional neural network-based approach towards universal image forensics","volume":"14","author":"Mazumdar","year":"2020","journal-title":"IET Image Process."},{"key":"ref_7","doi-asserted-by":"crossref","first-page":"656","DOI":"10.1049\/ipr2.12051","article-title":"Dual branch convolutional neural network for copy move forgery detection","volume":"15","author":"Goel","year":"2021","journal-title":"IET Image Process."},{"key":"ref_8","doi-asserted-by":"crossref","first-page":"103374","DOI":"10.1109\/ACCESS.2020.2999308","article-title":"Detection of spliced image forensics using texture analysis of median filter residual","volume":"8","author":"Rhee","year":"2020","journal-title":"IEEE Access"},{"key":"ref_9","doi-asserted-by":"crossref","first-page":"104428","DOI":"10.1016\/j.imavis.2022.104428","article-title":"Face anti-spoofing detection based on multi-scale image quality assessment","volume":"121","author":"Chang","year":"2022","journal-title":"Image Vis. Comput."},{"key":"ref_10","doi-asserted-by":"crossref","first-page":"1303","DOI":"10.1109\/TIFS.2019.2935913","article-title":"Gradient-based illumination description for image forgery detection","volume":"15","author":"Matern","year":"2019","journal-title":"IEEE Trans. Inf. Forensics Secur."},{"key":"ref_11","doi-asserted-by":"crossref","first-page":"116287","DOI":"10.1016\/j.image.2021.116287","article-title":"Identifying tampering operations in image operator chains based on decision fusion","volume":"95","author":"Chen","year":"2021","journal-title":"Signal Process. Image Commun."},{"key":"ref_12","doi-asserted-by":"crossref","first-page":"1012","DOI":"10.1109\/JSTSP.2020.2999827","article-title":"Discovering image manipulation history by pairwise relation and forensics tools","volume":"14","author":"Zhang","year":"2020","journal-title":"IEEE J. Sel. Top. Signal Process."},{"key":"ref_13","doi-asserted-by":"crossref","first-page":"720","DOI":"10.1109\/TIFS.2015.2506548","article-title":"Illuminant-based transformed spaces for image forensics","volume":"11","author":"Carvalho","year":"2015","journal-title":"IEEE Trans. Inf. Forensics Secur."},{"key":"ref_14","doi-asserted-by":"crossref","first-page":"23721","DOI":"10.1007\/s11042-016-4153-0","article-title":"Forensics feature analysis in quaternion wavelet domain for distinguishing photographic images and computer graphics","volume":"76","author":"Wang","year":"2017","journal-title":"Multim. Tools Appl."},{"key":"ref_15","doi-asserted-by":"crossref","first-page":"72","DOI":"10.1016\/j.aeue.2016.11.009","article-title":"Discrimination of natural images and computer generated graphics based on multi-fractal and regression analysis","volume":"71","author":"Peng","year":"2017","journal-title":"AEU Int. J. Electron. Commun."},{"key":"ref_16","doi-asserted-by":"crossref","unstructured":"Ng, T., Chang, S., Hsu, J., Xie, L., and Tsui, M. (December2005, January 28). Physics-motivated features for distinguishing photographic images and computer graphics. Proceedings of the 13th Annual CM International Conference on Multimedia, Singapore.","DOI":"10.1145\/1101149.1101192"},{"key":"ref_17","doi-asserted-by":"crossref","unstructured":"Chen, W., Shi, Y.Q., and Xuan, G. (2007, January 2\u20135). Identifying computer graphics using HSV color model and statistical moments of characteristic functions. Proceedings of the IEEE International Conference on Multimedia and Expo, Beijing, China.","DOI":"10.1109\/ICME.2007.4284852"},{"key":"ref_18","unstructured":"Zhang, R., Wang, R., and Ng, T. (2011). Digital Watermarking Techniques in Curvelet and Ridgelet Domain, Springer."},{"key":"ref_19","doi-asserted-by":"crossref","first-page":"116692","DOI":"10.1016\/j.image.2022.116692","article-title":"CGNet: Detecting computer-generated images based on transfer learning with attention module","volume":"105","author":"Yao","year":"2022","journal-title":"Signal Process. Image Commun."},{"key":"ref_20","doi-asserted-by":"crossref","first-page":"301023","DOI":"10.1016\/j.fsidi.2020.301023","article-title":"Learn with diversity and from harder samples: Improving the generalization of CNN-Based detection of computer-generated images","volume":"35","author":"Quan","year":"2020","journal-title":"Forensic Sci. Int. Digit. Investig."},{"key":"ref_21","doi-asserted-by":"crossref","first-page":"592","DOI":"10.1007\/s11390-020-0216-9","article-title":"Distinguishing computer-generated images from natural images using channel and pixel correlation","volume":"35","author":"Zhang","year":"2020","journal-title":"J. Comput. Sci. Technol."},{"key":"ref_22","doi-asserted-by":"crossref","first-page":"1369","DOI":"10.1109\/LSP.2018.2855566","article-title":"Computer graphics identification combining convolutional and recurrent neural networks","volume":"25","author":"He","year":"2018","journal-title":"IEEE Signal Process. Lett."},{"key":"ref_23","doi-asserted-by":"crossref","first-page":"113","DOI":"10.1016\/j.image.2018.04.006","article-title":"Exposing computer generated images by using deep convolutional neural networks","volume":"66","author":"Ruppert","year":"2018","journal-title":"Signal Process. Image Commun."},{"key":"ref_24","doi-asserted-by":"crossref","unstructured":"Rahmouni, N., Nozick, V., Yamagishi, J., and Echizen, I. (2017, January 4\u20137). Distinguishing computer graphics from natural images using convolution neural networks. Proceedings of the IEEE Workshop on Information Forensics and Security (WIFS), Rennes, France.","DOI":"10.1109\/WIFS.2017.8267647"},{"key":"ref_25","unstructured":"He, K., Zhang, X., Ren, S., and Sun, J. (July, January 26). Deep residual learning for image recognition. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition Workshops (CVPRW), Las Vegas, NV, USA."},{"key":"ref_26","first-page":"18661","article-title":"Supervised contrastive learning","volume":"Volume 33","author":"Larochelle","year":"2020","journal-title":"Advances in Neural Information Processing Systems"},{"key":"ref_27","doi-asserted-by":"crossref","first-page":"1276","DOI":"10.1016\/j.jvcir.2013.08.009","article-title":"Computer generated images vs. digital photographs: A synergetic feature and classifier combination approach","volume":"24","author":"Tokuda","year":"2013","journal-title":"J. Visual Commun. Image Repres."},{"key":"ref_28","doi-asserted-by":"crossref","first-page":"8439","DOI":"10.1109\/TIP.2021.3114989","article-title":"Robust texture-aware computer-generated image forensic: Benchmark and algorithm","volume":"30","author":"Bai","year":"2021","journal-title":"IEEE Trans. Image Process."},{"key":"ref_29","doi-asserted-by":"crossref","first-page":"845","DOI":"10.1109\/TSP.2004.839896","article-title":"How realistic is photorealistic?","volume":"53","author":"Lyu","year":"2005","journal-title":"IEEE Trans. Signal Process."},{"key":"ref_30","doi-asserted-by":"crossref","unstructured":"Yao, Y., Hu, W., Zhang, W., Wu, T., and Shi, Y. (2018). Distinguishing computer-generated graphics from natural images based on sensor pattern noise and deep learning. Sensors, 18.","DOI":"10.3390\/s18041296"},{"key":"ref_31","doi-asserted-by":"crossref","first-page":"2772","DOI":"10.1109\/TIFS.2018.2834147","article-title":"Distinguishing between natural and computer-generated images using convolutional neural networks","volume":"13","author":"Quan","year":"2018","journal-title":"IEEE Trans. Inf. Forensics Secur."},{"key":"ref_32","unstructured":"Tariang, D.B., Senguptab, P., Roy, A., Chakraborty, R.S., and Naskar, R. (2019, January 15\u201320). Classification of Computer Generated and Natural Images based on Efficient Deep Convolutional Recurrent Attention Model. Proceedings of the Conference on Computer Vision and Pattern Recognition (CVPR), Long Beach, CA, USA."},{"key":"ref_33","doi-asserted-by":"crossref","unstructured":"He, P., Li, H., Wang, H., and Zhang, R. (2020). Detection of computer graphics using attention-based dual-branch convolutional neural network from fused color components. Sensors, 20.","DOI":"10.3390\/s20174743"},{"key":"ref_34","doi-asserted-by":"crossref","unstructured":"Meena, K.B., and Tyagi, V. (2019, January 12\u201313). Methods to distinguish photorealistic computer generated images from photographic images: A review. Proceedings of the Advances and Applications in Computer Science, Electronics and Industrial Engineering, Ghazibad, India.","DOI":"10.1007\/978-981-13-9939-8_7"},{"key":"ref_35","doi-asserted-by":"crossref","first-page":"130830","DOI":"10.1109\/ACCESS.2019.2940383","article-title":"An evaluation of deep learning-based computer generated image detection approaches","volume":"7","author":"Ni","year":"2019","journal-title":"IEEE Access"},{"key":"ref_36","unstructured":"Simonyan, K., and Zisserman, A. (2014). Very deep convolutional networks for large-scale image recognition. arXiv."},{"key":"ref_37","doi-asserted-by":"crossref","unstructured":"Luo, X., Han, Z., and Yang, L. (2022, January 4\u20138). Progressive Attentional Manifold Alignment for Arbitrary Style Transfer. Proceedings of the Asian Conference on Computer Vision, Macao, China.","DOI":"10.1007\/978-3-031-26293-7_9"},{"key":"ref_38","unstructured":"Izmailov, P., Podoprikhin, D., Garipov, T., Vetrov, D., and Wilson, A. (2018). Averaging weights leads to wider optima and better generalization. arXiv."},{"key":"ref_39","doi-asserted-by":"crossref","unstructured":"Manning, C., Raghavan, P., and Sch\u00fctze, H. (2008). Introduction to Information Retrieval, Cambridge University Press.","DOI":"10.1017\/CBO9780511809071"},{"key":"ref_40","doi-asserted-by":"crossref","unstructured":"Kolkin, N., Salavon, J., and Shakhnarovich, G. (2019, January 15\u201320). Style transfer by relaxed optimal transport and self-similarity. Proceedings of the Conference on Computer Vision and Pattern Recognition (CVPR), Long Beach, CA, USA.","DOI":"10.1109\/CVPR.2019.01029"},{"key":"ref_41","doi-asserted-by":"crossref","unstructured":"Qiu, T., Ni, B., Liu, Z., and Chen, X. (2021, January 22\u201324). Fast optimal transport artistic style transfer. Proceedings of the 27th International Conference on Multimedia Modeling, Prague, Czech Republic.","DOI":"10.1007\/978-3-030-67832-6_4"},{"key":"ref_42","doi-asserted-by":"crossref","unstructured":"Afifi, M., Brubaker, M., and Brown, M. (2021, January 19\u201325). Histogan: Controlling colors of gan-generated and real images via color histograms. Proceedings of the Conference on Computer Vision and Pattern Recognition, Virtual.","DOI":"10.1109\/CVPR46437.2021.00785"},{"key":"ref_43","unstructured":"Piaskiewicz, M. (2020, January 24). Level-Design Reference Database. Available online: http:\/\/level-design.org\/referencedb."},{"key":"ref_44","doi-asserted-by":"crossref","unstructured":"Dang-Nguyen, D., Pasquini, C., Conotter, V., and Boato, G. (2015, January 18\u201320). RAISE: A raw images dataset for digital image forensics. Proceedings of the 6th ACM Multimedia Systems Conference, Portland, OR, USA.","DOI":"10.1145\/2713168.2713194"},{"key":"ref_45","unstructured":"Ng, T., Chang, S., Hsu, J., and Pepeljugoski, M. (2005). Columbia photographic images and photorealistic computer graphics dataset. ADVENT Technical Report, Columbia University."},{"key":"ref_46","doi-asserted-by":"crossref","first-page":"299","DOI":"10.1109\/PGEC.1967.264666","article-title":"A theory of adaptive pattern classifiers","volume":"3","author":"Amari","year":"1967","journal-title":"IEEE Trans. Electron. Comput."},{"key":"ref_47","doi-asserted-by":"crossref","first-page":"107025","DOI":"10.1016\/j.asoc.2020.107025","article-title":"Distinguishing computer-generated images from photographic images using two-stream convolutional neural network","volume":"100","author":"Meena","year":"2021","journal-title":"Appl. Soft Comput."},{"key":"ref_48","doi-asserted-by":"crossref","unstructured":"Nguyen, H., Tieu, T., Nguyen-Son, H., Nozick, V., Yamagishi, J., and Echizen, I. (2018, January 27\u201330). Modular convolutional neural network for discriminating between computer-generated images and photographic images. Proceedings of the 13th International Conference on Availability, Reliability and Security, Hamburg, Germany.","DOI":"10.1145\/3230833.3230863"},{"key":"ref_49","unstructured":"Huang, R., Fang, F., Nguyen, H., Yamagishi, J., and Echizen, I. (2020, January 7\u201310). A method for identifying origin of digital images using a convolutional neural network. Proceedings of the IEEE 2020 Asia-Pacific Signal and Information Processing Association Annual Summit and Conference, Auckland, New Zealand."},{"key":"ref_50","doi-asserted-by":"crossref","first-page":"295","DOI":"10.1016\/j.eswa.2016.08.057","article-title":"Fine-tuning deep convolutional neural networks for distinguishing illustrations from photographs","volume":"66","author":"Gando","year":"2016","journal-title":"Expert Syst. Appl."},{"key":"ref_51","doi-asserted-by":"crossref","unstructured":"Chawla, C., Panwar, D., Anand, G.S., and Bhatia, M. (2018, January 19\u201322). Classification of computer generated images from photographic images using convolutional neural networks. Proceedings of the IEEE 2018 International Conference on Advances in Computing, Communication Control and Networking (ICACCCN), Bangalore, India.","DOI":"10.1109\/ICACCCN.2018.8748829"},{"key":"ref_52","doi-asserted-by":"crossref","first-page":"52","DOI":"10.1109\/34.655649","article-title":"What size test set gives good error rate estimates?","volume":"20","author":"Guyon","year":"1998","journal-title":"IEEE Trans. Pattern Anal. Mach. Intell."}],"container-title":["Information"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/2078-2489\/15\/3\/158\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,10]],"date-time":"2025-10-10T14:11:56Z","timestamp":1760105516000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/2078-2489\/15\/3\/158"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2024,3,11]]},"references-count":52,"journal-issue":{"issue":"3","published-online":{"date-parts":[[2024,3]]}},"alternative-id":["info15030158"],"URL":"https:\/\/doi.org\/10.3390\/info15030158","relation":{},"ISSN":["2078-2489"],"issn-type":[{"value":"2078-2489","type":"electronic"}],"subject":[],"published":{"date-parts":[[2024,3,11]]}}}