atlas

Research map / Image generation / Autoregressive and latent generation

Any-Resolution AI-Generated Image Detection by Spectral Learning

CVPR 2025 · Image generation › Autoregressive and latent generation · approach: Generalizable fake image detection · 23 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.

Proposes SPAI, a self-supervised spectral AI-generated image detector that learns the real-image frequency distribution via masked frequency reconstruction and flags deviations with spectral reconstruction similarity and spectral context attention for any-resolution inputs.

Problem

Detecting AI-generated images that generalize to generators unseen during training, at native resolutions, while remaining robust to online perturbations.

Approach

Model the spectral distribution of real images with a self-supervised masked frequency reconstruction ViT (MFM), treat generated images as out-of-distribution via spectral reconstruction similarity between original and low/high-pass reconstructions, and fuse patch-level spectral vectors with spectral context attention so any-resolution images can be processed without resizing.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
replace MFM ViT-B/16 with CLIP ViT-B/16 as the backbone (ablation)SPAI · 5 real-image sources, 13 generative modelsAUC: 91.0 -> 87.6Hurt
replace MFM ViT-B/16 with DINOv2 ViT-B/14 as the backbone (ablation)SPAI · 5 real-image sources, 13 generative modelsAUC: 91.0 -> 87.5Hurt
remove spectral pretraining (ablation)SPAI · 5 real-image sources, 13 generative modelsAUC: 91.0 -> 52.5Hurt
remove spectral reconstruction similarity (SRS) (ablation)SPAI · 5 real-image sources, 13 generative modelsAUC: 91.0 -> 71.0Hurt
remove spectral context vector (SCV) (ablation)SPAI · 5 real-image sources, 13 generative modelsAUC: 91.0 -> 84.9Hurt
remove spectral context attention (SCA) (ablation)SPAI · 5 real-image sources, 13 generative modelsAUC: 91.0 -> 83.2Hurt
replace SCA with TenCrop and mean fusion (ablation)SPAI · 5 real-image sources, 13 generative modelsAUC: 91.0 -> 85.3Hurt
replace SCA with TenCrop and max fusion (ablation)SPAI · 5 real-image sources, 13 generative modelsAUC: 91.0 -> 84.2Hurt
remove JPEG compression augmentation (ablation)SPAI · 5 real-image sources, 13 generative modelsAUC: 91.0 -> 89.1Hurt
remove noise and blur distortions (ablation)SPAI · 5 real-image sources, 13 generative modelsAUC: 91.0 -> 84.2Hurt
remove JPEG compression and noise/blur distortions (ablation)SPAI · 5 real-image sources, 13 generative modelsAUC: 91.0 -> 87.7Hurt
add WebP compression augmentation (ablation)SPAI · 5 real-image sources, 13 generative modelsAUC: 91.0 -> 89.3Hurt

Surprising findings

Limitations

Experimental setup

Datasets: ImageNet Corvi et al. 180k real and latent diffusion images RAISE FODB COCO Open Images GigaGAN images Glide SD1.3 SD1.4 DALLE2 SD2

Benchmarks: 13 generative models across 5 real-image sources (RAISE, FODB, ImageNet, COCO, Open Images)

Metrics: AUC

Baselines: NPR Dire CNNDetect FreqDetect Fusing LGrad UnivFD GramNet DeFake PatchCraft DMID RINE

Builds on: Masked Frequency Modeling (MFM) DMID UnivFD Vision Transformer

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