Déjà VAE: When Do Autoencoder Traces Reveal Generated Images?
Abstract
A latent diffusion model's output has already passed through its autoencoder, so a second round trip changes it very little. This "déjà vu" underlies reconstruction-based detectors of generated images; we analyse when it reveals a generated image and when it does not. Read by a frozen vision foundation model without training, the trace is strongest in intermediate layers, and, unlike pixel-level reconstruction error, it treats blur as a sign of a real image. It belongs to the generator's exact decoder: on Synthbuster, the exact decoders of Stable Diffusion 1.3, 1.4, 2 and XL are the strongest of eight autoencoders and catch 94-100% of their generators' images at a 5% false-alarm rate (SDXL's version identified post hoc), while near-identical versions catch 7-42%. A detector trained only on real photographs and their autoencoder copies matches one trained on 162k generated images on GenImage (+2.3 points, 95% CI [0.9, 3.7]) and complements it in fusion, but one resize with JPEG re-save, or a mild blur, costs it 19-27 points. Two lessons concern benchmarks. The in-the-wild benchmark Chameleon can be solved from image width alone. And on Synthbuster, how the real photographs are matched to the generated images' size decides whether our detector leads or trails (+4.4 or -9.7 points): the matching protocol alone can reverse a detector comparison. Code and per-image scores: https://github.com/iamsaugatpandey/deja-vae
Create a lesson
Metadata
- Comments
- 29 pages, 10 figures, 7 tables. Code and per-image scores: https://github.com/iamsaugatpandey/deja-vae
Related papers
Graph2Scene: Relation-Aware Text-to-Image Generation with Graph-Guided Diffusion Model
Shared title terminologycs.CVPeizheng Li, Xin Ai, Guanghui Cheng et al.
Speculate in the Right Order: Efficient Self-Speculative Decoding for Autoregressive Image Generation
Shared title terminologycs.CVYihan Chen, Jintao Zhang, Jun Zhu
When Do Spatial Plans Help Text-to-Image Generation? Causal Control, System Utility, and Text Responsiveness
Shared title terminologycs.CVLu Han, Jingyao Zhang
AIGI-26: A Benchmark for AI-Generated Image Detection Across Diverse Modern Generators
Shared title terminologycs.CVQishuai Ding, Yifeng Wang, Shichuang Xie et al.
EditGRN: Inversion-Free Image Editing by Source-Target Generative Synchronization
Shared title terminologycs.CVJiahuan Wang, Jianan Chen, Jian Han et al.
SF-Flow: Spectral Flow Matching with High Structural Fidelity for Hallucination-Suppressed Scientific Image Generation
Shared title terminologycs.CVZehua Wang, Patxi Fernandez-Zelaia, Mohamed Wahib et al.