Scaling Up AI-Generated Image Detection with Generator-Aware Prototypes

Zi-Heng Qin, Yu-Heng Ji, Ren-Shuai Tao, Yuxuan Tian, Yu-Yang Liu +2 more
12/1/2025
14 citations

No official code found. Best implementation: UltraCapture/GAPL (36 stars).

Abstract

The pursuit of a universal AI-generated image (AIGI) detector often relies on aggregating data from numerous generators to improve generalization. However, this paper identifies a paradoxical phenomenon we term the Benefit then Conflict dilemma, where detector performance stagnates and eventually degrades as source diversity expands.

Show full abstract

Our systematic analysis, diagnoses this failure by identifying two core issues: severe data-level heterogeneity, which causes the feature distributions of real and synthetic images to increasingly overlap, and a critical model-level bottleneck from fixed, pretrained encoders that cannot adapt to the rising complexity. To address these challenges, we propose Generator-Aware Prototype Learning (GAPL), a framework that constrain representation with a structured learning paradigm. GAPL learns a compact set of canonical forgery prototypes to create a unified, low-variance feature space, effectively countering data heterogeneity.To resolve the model bottleneck, it employs a two-stage training scheme with Low-Rank Adaptation, enhancing its discriminative power while preserving valuable pretrained knowledge. This approach establishes a more robust and generalizable decision boundary. Through extensive experiments, we demonstrate that GAPL achieves state-of-the-art performance, showing superior detection accuracy across a wide variety of GAN and diffusion-based generators. Code is available at https://github.com/UltraCapture/GAPL

View on arXivView PDF

Code Implementations(1)

UltraCapture/GAPLCommunity25%

implementation of the paper Scaling Up AI-Generated Image Detection with Generator-Aware Prototypes

362

Similar Papers

Cite this paper

@article{qin2025scaling,
  title  = {Scaling Up AI-Generated Image Detection with Generator-Aware Prototypes},
  author = {Zi-Heng Qin and Yu-Heng Ji and Ren-Shuai Tao and Yuxuan Tian and Yu-Yang Liu and Yi-Pu Wang and Xiao-Long Zheng},
  year   = {2025},
  eprint = {2512.12982},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2512.12982},
  journal = {Computer Vision and Pattern Recognition}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2512.12982.svg)](https://codeofpaper.com/paper/2512.12982)

Discussion