Beyond the Last Layer: Global Inter-Layer Aggregation for AI-Generated Image Detection
Abstract
The rapid development of generative models has made AI-generated images increasingly close to real images. It has also brought several challenges to detectors, including rapid generator updates, large changes in data distribution, and limited cross-dataset generalization. Many existing methods based on pretrained vision encoders primarily use the global representation from the last layer, potentially leaving useful information from intermediate layers underexplored. To address this issue, we propose Global Inter-Layer Aggregation (GILA). GILA extracts global representations from different depths of a frozen encoder, models interactions among layer representations through inter-layer self-attention, and adaptively aggregates the resulting contextualized representations. The method is not tied to a single pretraining objective and does not require fine-tuning the pretrained encoder. We evaluated GILA on three vision backbones with different pretraining objectives, ten seen generators, and three external datasets. The experimental results show that GILA makes better use of multi-layer information in pretrained encoders and improves detection performance and cross-dataset generalization.
Create a lesson
Metadata
- Categories
- cs.CV, cs.AI
Related papers
Beyond Generator-Specific Shortcuts: Open-World AI-Generated Video Detection via Adversarial Training
Shared title terminologycs.CVQi Zhou, Yuanfan Li, Huiqi Deng et al.
Typographic Attack Against VLM-based AI-generated Image Detection
Shared title terminologycs.CVEunmin Lee, Jungwoo Kim, Jong-Seok Lee
Steering Fields: Adaptive Vector Fields for Safe Image Generation and Beyond
Shared title terminologycs.CVSimone Facchiano, Jan Eric Lenssen, Bernt Schiele et al.
Spe3DUp: Faithful Trajectory Distillation for Fast Image-to-3D Generation
Shared title terminologycs.CVLiangchao Xu, Jiaye Fu, Youtian Lin et al.
An Image Detectability Field as a Viewpoint Utility for 2D-3D Localization in Sparse Maps
Shared title terminologycs.CVHan Sun, Jun Li, Christy Jie Liang
Hijacking 3D Generation: Targeted Adversarial Attacks against Image-to-3D Models via Prefix Trajectory Alignment
Shared title terminologycs.CVYilong Yang, Jiale Teng, Yule Liu et al.