Huanqi Lin, Jinghui Qin, Xiaoqi Wu, Tianshui Chen, Zhijing Yang
{"title":"Revisiting DIRE: towards universal AI-generated image detection.","authors":"Huanqi Lin, Jinghui Qin, Xiaoqi Wu, Tianshui Chen, Zhijing Yang","doi":"10.1016/j.neunet.2025.108084","DOIUrl":null,"url":null,"abstract":"<p><p>The rapid development of generative models has improved image quality and made image synthesis widely accessible, raising concerns about content credibility. To address this issue, we propose a method called Universal Reconstruction Residual Analysis (UR<sup>2</sup>EA) for detecting synthetic images. Our study reveals that, when GAN- and diffusion-generated images are reconstructed by pre-trained diffusion models, they exhibit significant differences in reconstruction error compared to real images: GAN-generated images show lower reconstruction quality than real images, whereas diffusion-generated images are more accurately reconstructed. We leverage these residual maps as a universal prior to training a model for detecting synthetic images. In addition, we introduce a Multi-scale Channel and Window Attention (MCWA) module to extract fine-grained features from residual maps across multiple scales, capturing both local and global details. To facilitate the exploration of diverse detection methods, we constructed a new UniversalForensics dataset, which includes various representations of synthetic images generated by 30 different models. Compared to the best-performing baselines, our method improves average accuracy by 3.3 % and precision by 1.6 %, achieving state-of-the-art results.</p>","PeriodicalId":49763,"journal":{"name":"Neural Networks","volume":"193 ","pages":"108084"},"PeriodicalIF":6.3000,"publicationDate":"2025-09-06","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Neural Networks","FirstCategoryId":"94","ListUrlMain":"https://doi.org/10.1016/j.neunet.2025.108084","RegionNum":1,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE","Score":null,"Total":0}
引用次数: 0
Abstract
The rapid development of generative models has improved image quality and made image synthesis widely accessible, raising concerns about content credibility. To address this issue, we propose a method called Universal Reconstruction Residual Analysis (UR2EA) for detecting synthetic images. Our study reveals that, when GAN- and diffusion-generated images are reconstructed by pre-trained diffusion models, they exhibit significant differences in reconstruction error compared to real images: GAN-generated images show lower reconstruction quality than real images, whereas diffusion-generated images are more accurately reconstructed. We leverage these residual maps as a universal prior to training a model for detecting synthetic images. In addition, we introduce a Multi-scale Channel and Window Attention (MCWA) module to extract fine-grained features from residual maps across multiple scales, capturing both local and global details. To facilitate the exploration of diverse detection methods, we constructed a new UniversalForensics dataset, which includes various representations of synthetic images generated by 30 different models. Compared to the best-performing baselines, our method improves average accuracy by 3.3 % and precision by 1.6 %, achieving state-of-the-art results.
期刊介绍:
Neural Networks is a platform that aims to foster an international community of scholars and practitioners interested in neural networks, deep learning, and other approaches to artificial intelligence and machine learning. Our journal invites submissions covering various aspects of neural networks research, from computational neuroscience and cognitive modeling to mathematical analyses and engineering applications. By providing a forum for interdisciplinary discussions between biology and technology, we aim to encourage the development of biologically-inspired artificial intelligence.