cs.CVNov 23, 2026

Déjà VAE: When Do Autoencoder Traces Reveal Generated Images?

Authors: Saugat Pandey

Organizations: Department of Computer Science, Furman University

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

Figures & tables

Appendix figures & tables9 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Must You See Fakes to Catch Fakes? Language Says What to Look For, Real Images What to Ignore

    Nov 17, 2026Tianchi Xu, Yuxuan Zhou, Yuheng Zhang +3Robustness of AI-Generated Image DetectionAI-Generated Image Detection

  2. RED: Reconstruction Evolution Dynamics for Generalizable AI-Generated Image Detection

    Sep 29, 2026Wenpeng Mu, Junshan Jin, Tanfeng Sun +2Digital Image ForensicsAI-Generated Image Detection

  3. VAE Rhythm: Temporal Decoding Traces for AI-Generated Video Detection

    Nov 16, 2026Ke Sun, Shuwei Li, Haiyang Mei +1Deepfake Detection