Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

FakeInversion: Learning to Detect Images from Unseen Text-to-Image Models by Inverting Stable Diffusion

About

Due to the high potential for abuse of GenAI systems, the task of detecting synthetic images has recently become of great interest to the research community. Unfortunately, existing image-space detectors quickly become obsolete as new high-fidelity text-to-image models are developed at blinding speed. In this work, we propose a new synthetic image detector that uses features obtained by inverting an open-source pre-trained Stable Diffusion model. We show that these inversion features enable our detector to generalize well to unseen generators of high visual fidelity (e.g., DALL-E 3) even when the detector is trained only on lower fidelity fake images generated via Stable Diffusion. This detector achieves new state-of-the-art across multiple training and evaluation setups. Moreover, we introduce a new challenging evaluation protocol that uses reverse image search to mitigate stylistic and thematic biases in the detector evaluation. We show that the resulting evaluation scores align well with detectors' in-the-wild performance, and release these datasets as public benchmarks for future research.

George Cazenavette, Avneesh Sud, Thomas Leung, Ben Usman• 2024

Related benchmarks

TaskDatasetResultRank
AI-generated image detectionCelebA-HQ v2 (test)
ACC99.7
40
AI-generated image detectionImageNet 1k (test)
Accuracy54
20
AI-generated image detectionLSUN Bedroom (test)
Accuracy98.25
20
Synthetic Image DetectionDALL-E 2 (full)
Acc@EER77.3
12
Image Generation DetectionDiffusionForensics ImageNet ADM
AUC100
10
Image Generation DetectionDiffusionForensics LSUN-Bedroom (DDPM)
AUC100
10
Image Generation DetectionDiffusionForensics LSUN-Bedroom PNDM
AUC100
10
Image Generation DetectionDiffusionForensics LSUN-Bedroom SD-v1
AUC100
10
Image Generation DetectionDiffusionForensics LSUN-Bedroom Midjourney
AUC100
10
Image Generation DetectionDiffusionForensics LSUN-Bedroom IDDPM
AUC100
10
Showing 10 of 70 rows

Other info

Code

Follow for update