Frontiers of Data and Computing ›› 2025, Vol. 7 ›› Issue (1): 68-85.

CSTR: 32002.14.jfdc.CN10-1649/TP.2025.01.005

doi: 10.11871/jfdc.issn.2096-742X.2025.01.005

• Special Issue: Generative Artificial Intelligence • Previous Articles     Next Articles

Adversarial Detection Framework for AI-Generated Images Based on Ensemble Learning

JIN Weizheng(),TANG Yunqi*()   

  1. School of Investigation, People’s Public Security University of China, Beijing 100038, China
  • Received:2024-10-16 Online:2025-02-20 Published:2025-02-21

Abstract:

[Objective] With the rapid development of generative adversarial networks (GANs) and the generative diffusion models, the quality of AI-generated images has been continuously improved reaching to the point where it is challenging for the human eye to distinguish the AI-generated images from real images. This technology has been commercialized, allowing users to generate images from text with one-click software products, creating certain commercial value. However, they also pose challenges to forensic identification. Using images as a direct evidence is undoubtedly an important research topic in forensic science. Therefore, detecting AI-generated images has become a critical issue that needs to be addressed. [Methods] Existing methods for detecting AI-generated images mainly focus on detecting images from a single generative model. However, the one-to-one detection method is poor in generalization capabilities when facing unseen generative models. This paper proposes a Stacking-based ensemble learning strategy that integrates various one-to-one detection methods into an adversarial detection framework. It uses a random forest model to combine the output of individual detectors specifically trained for different AI-generated image software, instead of direct generalization. [Results] Experimental results show that the framework achieved an overall accuracy of 98.36% on the GenImage dataset and demonstrated strong robustness on the artificial dataset designed in this study. The scores from the single detector outputs are retained, providing possibilities for subsequent attribution work. [Conclusions] The adversarial detection framework is promising to be used as a platform that can flexibly integrate and update various detection technologies, providing a more comprehensive and effective solution for AI-generated image detection and attribution research..

Key words: AI-generated images detection, ensemble learning, image detection framework