MLEP: Multi-granularity Local Entropy Patterns for Generalized AI-generated Image Detection

Jiawei Zhang (Beihang University) · Yan Zhang (Chongqing University of Post and Telecommunications) · Xinbo Gao (Chongqing University of Post and Telecommunications) · Lin Yuan (Chongqing University of Post and Telecommunications) · Xiaowan Li (Chongqing University of Post and Telecommunications) · Hongbo Li (Chongqing University of Post and Telecommunications)
ai-generated imagescnn-based classifierdeepfakesfeature mapsgeneralizationgenerative modelsimage entropyimage generationmisinformationmulti-granularity local entropy patternsopen-world settingpixel dependenciesshannon entropysource-invariant features

Advances in image generation technologies have raised growing concerns about their potential misuse, particularly in producing misinformation and deepfakes. This creates an urgent demand for effective methods to detect AI-generated images (AIGIs). While progress has been made, achieving reliable performance across diverse generative models and scenarios remains challenging due to the absence of source-invariant features and the limited generalization of existing approaches. In this study, we investigate the potential of using image entropy as a discriminative cue for AIGI detection and propose Multi-granularity Local Entropy Patterns (MLEP), a set of feature maps computed based on Shannon entropy from shuffled small patches at multiple image scales. MLEP effectively captures pixel dependencies across scales and dimensions while disrupting semantic content, thereby reducing potential content bias. Based on MLEP, we can easily build a robust CNN-based classifier capable of detecting AIGIs with enhanced reliability. Extensive experiments in an open-world setting, involving images synthesized by 32 distinct generative models, demonstrate that our approach achieves substantial improvements over state-of-the-art methods in both accuracy and generalization.