D\'ej\`a VAE: When Do Autoencoder Traces Reveal Generated Images?
Saugat Pandey
Key points
From the paper's conclusion- 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.
Abstract
A latent diffusion model's output has already passed through its autoencoder, so a second round trip changes it very little. This "d\'ej\`a 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
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Training-Free Reconstruction-Based AI-Generated Image Detectors Are Inherently Vulnerable to Adversarial ExamplesarXiv · 2026
- Must You See Fakes to Catch Fakes? Language Says What to Look For, Real Images What to IgnorearXiv · 2026
- Real-Anchored Complementary Evidence for Generalizable AI-Generated Image DetectionarXiv · 2026
- DUO: Dual Readouts of Diffusion Models for OOD DetectionarXiv · 2026
- VAE Rhythm: Temporal Decoding Traces for AI-Generated Video DetectionarXiv · 2026
- DEDCA: Test-Time Adaptation for Generalized AI-Generated Image DetectionarXiv · 2026