atlas

Research map / Image generation / Autoregressive and latent generation

PiD: Generalized AI-Generated Images Detection with Pixelwise Decomposition Residuals

ICML 2025 · Image generation › Autoregressive and latent generation · approach: Generalizable fake image detection

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.

Proposes PiD, a generator-free AI-generated image detector that feeds a ResNet with pixelwise color-space quantization residuals (RGB→YUV→quantize→back to RGB, residual = input minus quantized output).

Problem

Detecting AI-generated images from unseen generators (GANs and diffusion models) is hard because detectors overfit to generator-specific artifacts, and reconstruction-based methods are computationally expensive and generator-biased.

Approach

Generative models optimize high-level semantics and overlook low-level residual components; PiD extracts a pixelwise decomposition residual by mapping RGB pixels to a color space (YUV), quantizing, and inverting, then uses the quantization residual as the detector input, with no generative model needed.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use pixelwise YUV decomposition residuals instead of RGB input (ablation)PiD detector · GenImageaccuracy: Base (RGB): 67.5, 98.7, 55.9, 61.6; YUV: 95.5, 99.6, 96.0, 96.2Helped
Use YUV rather than XYZ transformation (ablation)PiD · GenImageaccuracy: Midjourney: 96.5 vs 95.5; SDv1.4: 97.8 vs 99.6; ADM: 96.5 vs 96.0; BigGAN: 81.6 vs 96.2Mixed
Use YUV rather than a diagonal transformation matrix (ablation)PiD · GenImageaccuracy: Midjourney: 88.2 vs 95.5; SDv1.4: 94.2 vs 99.6; ADM: 88.3 vs 96.0; BigGAN: 88.4 vs 96.2Helped
Use YUV rather than a customized full-rank matrix (ablation)PiD · GenImageaccuracy: Midjourney: 87.2 vs 95.5; SDv1.4: 96.5 vs 99.6; ADM: 89.4 vs 96.0; BigGAN: 91.7 vs 96.2Mixed
Scale the YUV transformation by 0.2 instead of 1.0 (ablation)PiD · GenImageaccuracy: 0.2: 93.6, 99.2, 87.4, 91.2; 1.0: 95.5, 99.6, 96.0, 96.2Mixed
Scale the YUV transformation by 0.5 instead of 1.0 (ablation)PiD · GenImageaccuracy: 0.5: 96.7, 98.7, 92.8, 97.9; 1.0: 95.5, 99.6, 96.0, 96.2Mixed
Scale the YUV transformation by 0.8 instead of 1.0 (ablation)PiD · GenImageaccuracy: 0.8: 92.6, 98.8, 92.0, 91.3; 1.0: 95.5, 99.6, 96.0, 96.2Mixed
Scale the YUV transformation by 1.5 instead of 1.0 (ablation)PiD · GenImageaccuracy: 1.5: 84.6, 93.1, 69.0, 79.6; 1.0: 95.5, 99.6, 96.0, 96.2Hurt
Scale the YUV transformation by 2.0 instead of 1.0 (ablation)PiD · GenImageaccuracy: 2.0: 79.6, 93.3, 63.1, 76.4; 1.0: 95.5, 99.6, 96.0, 96.2Hurt
Use floor quantization instead of round quantization (ablation)PiD · GenImageaccuracy: 98.0 vs 97.8Mixed
Use floor quantization instead of round quantization (ablation)PiD · Self-Synthesis 9 GANsaccuracy: 94.7 -> 96.9Helped

Surprising findings

Limitations

Experimental setup

Datasets: ForenSynths GenImage UniversalFakeDetect Self-Synthesis GAN dataset

Benchmarks: UniversalFakeDetect GenImage Self-Synthesis GAN dataset

Metrics: accuracy average precision

Baselines: CNN-Spot UnivFD LGrad FreqNet NPR FatFormer C2P-CLIP DIRE LARE2 DRCT Effort

Builds on: NPR DIRE FreqNet UnivFD

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