atlas

Research map / Image generation / Autoregressive and latent generation

Forgery-aware Adaptive Transformer for Generalizable Synthetic Image Detection

CVPR 2024 · Image generation › Autoregressive and latent generation · approach: Generalizable fake image detection · 112 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 FatFormer, which adapts a frozen-then-tuned CLIP ViT with a forgery-aware adapter (image + DWT frequency attention) and language-guided contrastive alignment to detect GAN and diffusion-generated images from ProGAN-only training.

Problem

Generalizable synthetic image detection: detectors trained on one generator (ProGAN) fail on unseen GANs and diffusion models, and fixed frozen pre-trained paradigms (e.g., UniFD) learn insufficient forgery representations.

Approach

Instead of freezing CLIP and training a linear probe, insert forgery-aware adapters (image convolution branch plus DWT-based inter/intra-band attention) into the ViT stages and supervise them with language-guided contrastive alignment between patch tokens, text prompts and image CLS tokens.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Adapt CLIP with FatFormer instead of using the fixed UniFD paradigmCLIP ViT-L/14 · GANs dataset, 4-class ProGAN; meanACCM: 89.1% -> 98.4%; 9.3% ACCHelped
Adapt CLIP with FatFormer instead of using the fixed UniFD paradigmCLIP ViT-L/14 · Diffusion models; meanACC: 85.4% -> 95.0%; 9.6% ACCHelped
Add frequency-domain features to the forgery-aware adapter (ablation)FatFormer · GANs dataset, 4-class ProGAN; meanACCM: 95.4 -> 98.4; over −3.0% ACC gapsHelped
Add image-domain features to the forgery-aware adapter (ablation)FatFormer · GANs dataset, 4-class ProGAN; meanACCM: 97.3 -> 98.4Helped
Add inter-band attention alongside intra-band attention (ablation)FatFormer frequency forgery extractor · GANs dataset, 4-class ProGAN; meanACCM: 97.4 -> 98.4Helped
Add intra-band attention alongside inter-band attention (ablation)FatFormer frequency forgery extractor · GANs dataset, 4-class ProGAN; meanACCM: 96.6 -> 98.4Helped
Use image and text prompts with vanilla contrastive objectives instead of image-only linear probing (ablation)FatFormer · GANs dataset, 4-class ProGAN; meanACCM: 95.3 -> 96.4Helped
Use augmented contrastive objectives instead of vanilla contrastive objectives (ablation)FatFormer · GANs dataset, 4-class ProGAN; meanACCM: 2.0% ACC gainHelped
Use auto context embeddings instead of a fixed hand-crafted template (ablation)FatFormer text prompts · GANs dataset, 4-class ProGAN; meanACCM: 0.9% ACCHelped
Condition auto context embeddings on patch tokens instead of the CLS token (ablation)FatFormer text prompts · GANs dataset, 4-class ProGAN; meanACCM: 98.1 -> 98.4Helped
Add the forgery-aware adapter (ablation)FatFormer · GANs dataset, 4-class ProGAN; meanACCM: −6.9% ACCHelped
Add language-guided alignment instead of binary labels alone (ablation)FatFormer · GANs dataset, 4-class ProGAN; meanACCM: 3.1% ACC and 0.5% AP gainsHelped

Surprising findings

Limitations

Experimental setup

Datasets: ProGAN 4-class training data (Wang et al.) GANs test set (Wang et al.) diffusion model dataset (Ojha et al. / Corvi et al.)

Benchmarks: GANs dataset (Wang et al.) diffusion model dataset (Ojha et al.)

Metrics: accuracy (ACC) average precision (AP) mean ACC (ACC_M) mean AP (AP_M)

Baselines: UniFD LGrad Wang et al. CNN detector F3Net FrePGAN BiHPF Frank Durall PatchFor Blend

Builds on: UniFD CLIP CoOp F3Net 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