atlas

Research map / Image generation / Autoregressive and latent generation

DRCT: Diffusion Reconstruction Contrastive Training towards Universal Detection of Diffusion Generated Images

ICML 2024 · Image generation › Autoregressive and latent generation · approach: Reconstruction-based diffusion 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 DRCT, which trains AI-generated image detectors on diffusion-reconstructed real and fake images with a contrastive plus cross-entropy loss, and releases the DRCT-2M dataset for evaluating generalization to unseen diffusion models.

Problem

Generated image detectors trained on one diffusion model often fail to generalize to images from unseen diffusion models.

Approach

Create hard negatives by reconstructing real images through Stable Diffusion VAE-latent noising and DDIM denoising, then train detectors with a margin-based contrastive loss plus cross-entropy so they learn subtle diffusion artifacts.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add real reconstructed images to training (ablation)Conv-B · GenImageaccuracy: increased by 6.55%Helped
Add original SDv1.4 fake images to training with real and real reconstructed images (ablation)Conv-B · GenImageaccuracy: increased by another 2.5%Helped
Add fake reconstructed images to training (ablation)Conv-B · GenImageaccuracy: additional 0.96%Helped
Add contrastive loss to the BCE loss (ablation)Conv-B with real, real reconstructed, fake, and fake reconstructed images · GenImageaccuracy: increase of 6.54%Helped
Use SDv2 rather than SDv1 for reconstructionDRCT · DRCT-2MaccuracyHelped
Enhance UnivFD with DRCTUnivFD · GenImageaccuracy: 79.45 -> 89.49Helped
Enhance UnivFD with DRCTUnivFD · DRCT-2M-Wildaccuracy: 63.55 -> 96.90Helped

Surprising findings

Limitations

Experimental setup

Datasets: MSCOCO DRCT-2M GenImage

Benchmarks: DRCT-2M DRCT-2M-Wild GenImage

Metrics: accuracy

Baselines: CNNSpot F3Net CLIP/RN50 GramNet De-fake DIRE Conv-B UnivFD

Builds on: DIRE UnivFD Stable Diffusion margin-based contrastive loss

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