atlas

Research map / Image generation / Autoregressive and latent generation

Breaking Semantic Artifacts for Generalized AI-generated Image Detection

NeurIPS 2024 · Image generation › Autoregressive and latent generation · approach: Generalizable fake image detection · 10 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Shows that AI-image detectors overfit "semantic artifacts" of training scenes and proposes shuffling image patches before training an end-to-end patch-based ResNet-style classifier, improving cross-scene and open-world generalization.

Problem

AI-generated image detectors trained on one scene/dataset fail to generalize to images with different semantics (cross-scene), with high AP but low accuracy due to score-threshold shift.

Approach

Attribute failures to "semantic artifacts" inherited from dataset content and preprocessing; apply random patch shuffle to break global semantics and train a patch-based convolutional classifier with small receptive fields and a linear head over patch features.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use the patch-based classifier with zero padding instead of resizing (ablation)Ours · Open-worldAvg. Acc.: 82.12 -> 85.97Helped
Use the patch-based classifier instead of NPRAI-generated image detection · Cross-sceneAvg. Acc.: 90.44 -> 92.52Helped
Use the patch-based classifier instead of NPRAI-generated image detection · Open-worldAvg. Acc.: 75.38 -> 85.97Helped
Increase the number of same-convolution blocks from 0 to 21 at patch size 64 (ablation)Patch-based classifier · Cross-DiffusionAvg. Acc.: 81.53 -> 88.91Helped
Increase same-convolution blocks to 24 rather than 21 at patch size 64 (ablation)Patch-based classifier · Cross-DiffusionAvg. Acc.: 88.91 -> 87.10Hurt
Use patch size 32 rather than patch size 16 (ablation)Patch-based classifier · Open-worldAvg. Acc.: 77.13 -> 82.12Helped
Increase training images from 10k to 80k (ablation)Patch-based classifier · Open-worldAvg. Acc.: 74.65 -> 81.69Helped
Add MSE denoising loss to BCE loss (ablation)Patch-based classifier · Open-worldAvg. Acc.: 82.12 -> 78.18Hurt
Fuse global ResNet18 features with patch features (ablation)Patch-based classifier · Open-worldAvg. Acc.: 82.12 -> 69.51Hurt
Add self-attention before the linear classifier (ablation)Patch-based classifier · Open-worldAvg. Acc.: 82.12 -> 79.95Hurt
Use zero padding rather than resizing (ablation)Patch-based classifier · Cross-GAN/CNNAvg. Acc.: 72.58 -> 80.13Helped

Surprising findings

Limitations

Experimental setup

Datasets: DiffusionDB LAION-5B ForenSynths LSUN-bedroom LSUN-church CelebA FFHQ ImageNet

Benchmarks: 31 open-world test sets (18 diffusion variants, 7 GANs, 6 CNN-based generators) cross-scene Latent Diffusion variants (6 datasets)

Metrics: accuracy average precision (mAP)

Baselines: CNNDetection PatchFor F3Net Durall DIRE Dogoulis Ojha LGrad NPR

Builds on: CNNDetection (ForenSynths) NPR Ojha et al. (CLIP-based detection) LGrad

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy