PGC: Peak-Guided Calibration for Generalizable AI-Generated Image Detection

Xiaoyu Zhou, Jianwei Fei, Peipeng Yu, Jingchang Xie, Chong Cheng, Zhihua Xia · 2026

Read PGC: Peak-Guided Calibration for Generalizable AI-Generated Image Detection by Xiaoyu Zhou, Jianwei Fei, Peipeng Yu, Jingchang Xie, Chong Cheng, Zhihua Xia (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2605-21207.txt.

Introduction

Xiaoyu Zhou and colleagues present Peak-Guided Calibration, a tool to spot AI-made images. As generators improve, fine clues get swamped by strong image content, and tools that read only the whole image miss them. Their peak-sensitive method spotlights the sharpest local clues and uses them to tune the global call. They also add CommGen15, a test set from fifteen commercial models, on which the tool leads prior methods.

Catalog record

CREATORXiaoyu Zhou, Jianwei Fei, Peipeng Yu, Jingchang Xie, Chong Cheng, Zhihua Xia
YEAR2026
COLLECTIONPAPERS
FORMATTXT
FILE SIZE68906
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2605.21207

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

PGC: Peak-Guided Calibration for Generalizable AI-Generated Image Detection Xiaoyu Zhou, Jianwei Fei, Peipeng Yu, Jingchang Xie, Chong Cheng, Zhihua Xia Abstract The rapid evolution of generative AI, from GANs to modern diffusion models, has resulted in increasingly subtle discriminative clues. These fine-grained signals are often overshadowed by dominant, high-fidelity image content (e.g., the main subject), limiting the reliability of existing detectors that predominantly rely on global representations. To address this challenge, we propose the Peak-Guided Calibration (PGC) framework. PGC introduces a novel strategy that aggregates salient features via a peak-focusing mechanism. Specifically, by employing a peak-sensitive aggregation that accentuates the most discriminative local clues, PGC leverages these critical signals to calibrate the global decision. This approach recovers subtle patterns that would otherwise be submerged in the global context. Furthermore, to better simulate real-world threats, we introduce the CommGen15 dataset, a challenging benchmark comprising samples from 15 commercial models. Extensive experiments demonstrate that PGC achieves state-of-the-art performance. Specifically, it improves mean accuracy by +12.3% on our CommGen15 dataset, and sets new records on standard benchmarks, including GenImage ( +2.1% ), AIGI ( +3.5% ), and UniversalFakeDetect ( +1.7% ). Code is available at https://github.com/xiaoyu6868/PGC. Figure 1 : Motivation. Visualization of discriminative traces. Columns from left to right display: (1) The original input images; (2) Critical evidentiary patches identified by our PGC (highlighted with red bounding boxes); and (3) The decision heatmaps (CAM) of the PGC detector. Observation: While real images trigger attention on the main subject, AI-generated images (Google Imagen, Flux, Kling) shift focus to the background, indicating that the high-fidelity generation of the semantic subject overshadows the subtle discriminative artifacts. Figure 2 : Comparison between the conventional global representation paradigm and our proposed approach. (a) In global representations, subtle discriminative artifacts (red) are suppressed by the dominant high-fidelity foreground. (b) Our PGC framework highlights peak feature regions to calibrate the global representation, thereby amplifying subtle discriminative traces. (c) As a result, high-fidelity samples initially misclassified by the baseline ( x<0.5 ) are correctly classified ( y>0.5 ). 1 Introduction The domain of AI-generated images has undergone a transformative shift, moving from the era of GANs ( 18 ) to the modern diffusion models ( 16 ) . While early generative models left observable fingerprints, recent high-fidelity generators produce content with exceptional visual quality ( 71 ) . Although numerous detection strategies have been proposed, including low-level artifacts in the spatial ( 58 ) or frequency domains ( 57 ) , and methods leveraging pre-trained foundation models ( 44 ; 35 ) , performance degrades when confronting the state-of-the-art commercial forgeries ( 21 ) . This performance degradation stems from the spatially uneven allocation of generative attention. Unlike early models with globally consistent artifacts, modern algorithms prioritize the main semantic subject ( 71 ; 39 ) , concentrating their generative capacity on foreground fidelity. This attentional bias creates a resource trade-off that rigorously optimizes the subject, effectively displacing discriminative artifacts to the less constrained background regions. However, existing detectors primarily rely on global representations ( 59 ; 58 ) , which are biased toward high-energy semantic regions. This causes subtle, localized traces to be overshadowed by the dominant high-fidelity foreground. As illustrated in Figure 1 , this semantic dominance results in a divergence in attentional patterns: while detectors focus on the semantic foreground (e.g., the main subject) in real images, their attention shifts toward the background (e.g., non-subject areas) in AI-generated samples. 1 1 1 More examples are provided in Appendix Figs. 10 and 11 . This indicates that the high-fidelity foreground acts as a semantic distractor, obscuring the discriminative traces required for robust detection. To address this limitation, we propose the Peak-Guided Calibration (PGC) framework. Diverging from the reliance on global contexts, PGC is designed to capture subtle local discriminative clues. Specifically, it performs a dense evaluation across spatial patches, identifying and amplifying “peak patches” that exhibit the most critical evidence for classification. These localized peaks are then utilized to calibrate the global decision. As shown in Figure 2 , this approach counters the masking effect of the realistic foreground, amplifying the subtle forgery traces required for robust detection. Specifically, while the baseline method (X-axis) misclassifies high-quality samples as “Real” due to the overwhelming realistic content, our method (Y-axis) successfully rectifies these predictions by preserving and amplifying the critical local evidence. To better simulate real-world threats overlooked by existing datasets, we introduce the Commercial Generation benchmark (CommGen15) . The CommGen15 includes samples from 15 commercial models (e.g., Sora, Kling, Google Imagen), capturing the intricate post-processing and diverse degradations characteristic of “In-the-Wild” scenarios. Our main contributions are summarized as follows: • We propose the Peak-Guided Calibration (PGC) framework, which leverages local “peak patches” to calibrate the global representation, effectively capturing fine-grained discriminative traces that are suppressed by high-fidelity content. • We introduce CommGen15 , a comprehensive benchmark collected from 15 state-of-the-art commercial models, designed to better simulate high-fidelity and complex real-world threats. • Extensive experiments demonstrate that PGC achieves state-of-the-art performance, surpassing existing detectors by +12.3% on CommGen15 while demonstrating superior generalization on standard benchmarks, including GenImage ( +2.1% ), AIGI ( +3.5% ), and UniversalFakeDetect ( +1.7% ) datasets. 2 Related Work 2.1 Specialized Forensic Representations Early detection methods focused on extracting specific fingerprints from transformation domains to distinguish generated images ( 40 ; 73 ; 55 ) . Approaches like FreqNet ( 57 ) utilize Fourier or wavelet transforms to uncover spectral artifacts caused by up-sampling operations, while methods in the spatial domain ( 72 ) exploit gradient maps ( 59 ) , neighboring pixel relationships ( 58 ) , or statistical entropy ( 11 ) to capture structural inconsistencies. Recently, recognizing the limitations of holistic analysis, methods such as SAFE ( 31 ) , LaDeDa ( 3 ) , and AIDE ( 66 ) have shifted focus toward capturing micro-scale anomalies through cropping strategies or regional awareness. However, these approaches predominantly assign uniform importance to varying spatial regions. They lack a strategy to leverage discriminative “peak” features, leaving critical localized artifacts prone to being submerged by the dominant realistic content. Table 1 : Statistics of CommGen15. For video subsets, the count denotes “Frames (Videos)” (e.g., 2615 frames extracted from 358 Akool videos). Note: While Sora is primarily a video generation model, we include 1275 samples collected from community repositories (e.g., PromptHero) where they are explicitly generated or rendered as static images. Type Platform Name Count Original Format Image ChatGPT 355 PNG, JPEG Flux 2106 PNG, JPG Google Imagen 1942 PNG, JPG Ideogram 1120 PNG Lexica 9525 WEBP Midjourney 1106 PNG Nano Banana 388 JPG, PNG Sora 1275 PNG Stable Diffusion 1655 PNG, JPG Video Akool 2615 (358) MP4 Doubao 2187 (729) MP4 Hailuo 3776 (1390) MP4 Hunyuan 240 (49) MP4 Kling 3932 (2184) MP4 Veo 1172 (420) MP4 Figure 3 : Accuracy (%) comparison on CommGen15. The radar chart highlights that existing methods (inner lines) struggle to generalize across diverse commercial models, whereas our method (outermost red line) maintains robust performance. 2.2 Foundation Model Adaptation To address the rapid evolution of generative architectures, a dominant trend involves adapting pre-trained foundation models (e.g., CLIP ( 49 ) ) to enhance generalization ( 37 ) . Early approaches like UnivFD

Read the complete text