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

Wenpeng Mu, Junshan Jin, Tanfeng Sun, Xinghao Jiang, Qiang XuarXiv 2026

TL;DR

RED (Reconstruction Evolution Dynamics) is a novel framework for detecting AI-generated images by analyzing the process of image reconstruction rather than just the final result. By tracking how a pretrained model builds an image from coarse structure to fine detail, RED identifies subtle forensic cues that generalize across diverse and previously unseen AI generators, achieving a state-of-the-art 92.5% average accuracy.

What Problem Does This Paper Address?

As AI image generators rapidly evolve—moving from GANs to diffusion models and now visual autoregressive models—detectors struggle to keep up. Most current detection methods are "static": they look for specific artifacts in a single image or compare an image to its final reconstruction (the "endpoint").

The authors argue that these endpoint comparisons are insufficient. The magnitude of reconstruction error doesn't have a consistent meaning across different generators. However, the evolution of that error across different scales (from blurry blobs to sharp textures) contains rich, transferable forensic evidence. The core challenge is capturing this "reconstruction trajectory" and determining which stages are most informative for identifying a fake.

Methods

The RED framework consists of three main components designed to capture and weight evidence throughout the reconstruction process:

  1. Reconstruction Trajectory Representation: The system uses a frozen multiscale VQ-VAE to decompose an input image into a hierarchy of discrete tokens. It then progressively reconstructs the image across 10 scales (from $1\times1$ to $16\times16$ token grids). This creates a sequence of images representing the "evolution" of the content.
  2. NLL-Guided Stage Weighting: To decide which scales matter most, RED uses a frozen Visual Autoregressive (VAR) model to calculate the Negative Log-Likelihood (NLL) of the tokens at each scale. This measures "predictability." The authors discovered that the predictability of real vs. fake images often reverses as you move from coarse to fine scales. RED learns image-adaptive weights based on these NLL profiles to highlight the most discriminative stages.
  3. Cross-Stage Evidence Aggregation: Finally, a Transformer encoder jointly processes the original image embedding (from a frozen CLIP model) and the embeddings of all intermediate reconstruction stages. This allows the model to capture interactions and discrepancies along the entire trajectory.
Overview of the RED framework showing the reconstruction trajectory, NLL weighting, and evidence aggregation.

Datasets

The model was trained on a subset of GenImage, covering eight generator families (including BigGAN, Stable Diffusion, and Midjourney). To test its ability to generalize to "unseen" models, it was evaluated on six diverse benchmarks:

  • GenImage (In-domain testing)
  • ARForensics (Autoregressive generators)
  • EvalGEN (Recent text-to-image models)
  • Qwen-Image-Bench (Proprietary and open-source systems)
  • Chameleon (High-quality curated images)
  • GPT-Image-2-Twitter (Real-world user-shared images)

Key Insights and Ideas

  • The Predictability Reversal: One of the paper's most striking findings is that at coarse scales (e.g., $2\times2$), generated images are often less predictable (higher NLL) than real images for most generators. However, at fine scales (e.g., $16\times16$), this relationship often flips. A detector looking only at the final scale would miss the forensic evidence available at the start of the reconstruction.
  • Process over Product: By shifting focus from the "what" (the final pixels) to the "how" (the reconstruction dynamics), the detector becomes much more robust to new types of generators that might not share the same final-layer artifacts as the training data.
  • Foundation Models as Probes: RED demonstrates that frozen, general-purpose models like CLIP and VAR can be repurposed as powerful forensic tools without needing extensive retraining of the backbones themselves.

Key Results

RED achieved the highest average performance across all evaluated methods, showing remarkable generalization:

  • Average Accuracy: 92.5% (outperforming the next best baseline by 3.9%).
  • Average Precision: 97.5%.
  • Generalization: While specific baselines like DIRE performed perfectly on their training domain (99.9% on GenImage), their performance tanked on out-of-distribution sets (falling to ~60%). RED maintained high accuracy (above 86.5%) across all six benchmarks.
Figure 2: Detection accuracy comparison across six benchmarks (%).

The model also showed strong robustness to common image degradations like JPEG compression and Gaussian noise, maintaining a mean Average Precision (mAP) of 95.0% across various distortions.

Limitations and Future Work

  • Sensitivity to Blur: The authors noted that heavy blurring is the most challenging degradation for RED. Blur attenuates the fine-scale textures and structures that the reconstruction trajectory relies on, causing the mAP to drop from 98.0% to 92.4%.
  • Computational Overhead: Because RED requires generating and encoding 10 different reconstruction states for every input image, it is likely more computationally expensive than single-pass detectors.
  • Future Directions: The authors suggest that exploring how these dynamics change with even more advanced generative architectures or different types of multiscale priors could further improve detection reliability.

Summary updated

BibTeX
@misc{mu2026red,
  author = {Wenpeng Mu and Junshan Jin and Tanfeng Sun and Xinghao Jiang and Qiang Xu},
  title = {{RED: Reconstruction Evolution Dynamics for Generalizable AI-Generated Image Detection}},
  year = {2026},
  eprint = {2609.36822},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.36822},
}
Figure