Abstract
As AI-generated imagery reaches photorealistic quality, attributing images to their source models becomes vital for safety and intellectual property protection. Traditional passive attribution methods rely on reconstruction loss, but modern high-performance autoencoders (e.g., FLUX) reconstruct out-of-distribution images with high fidelity, leading to overlapping loss distributions. We present AEDR (AutoEncoder Double-Reconstruction), a training-free method that analyzes the ratio of two successive reconstruction passes. By leveraging the "distribution projection" effect and calibrating for image homogeneity, AEDR achieves 95.1% accuracy—a 25.5% improvement over state-of-the-art—while operating 100x faster than gradient-based alternatives.
Introduction
The proliferation of high-fidelity AI-generated content necessitates robust attribution methods to identify the specific generative model responsible for an image. Existing passive attribution techniques typically utilize "reconstruction loss," predicated on the assumption that a model's autoencoder will reconstruct its own generated images more accurately than those from other sources.
However, modern state-of-the-art (SOTA) models like FLUX utilize extremely powerful autoencoders. These components are so effective that they can reconstruct almost any image with minimal error, regardless of its origin. This results in significant overlap between the reconstruction loss distributions of "belonging" and "non-belonging" images, rendering traditional attribution methods ineffective.
Methodology: Autoencoder Double-Reconstruction (AEDR)
AEDR shifts the focus from absolute reconstruction loss to the trend of loss over two successive passes through the target model's autoencoder.
The Double-Reconstruction Process
- First Pass: An input image $x$ is passed through the autoencoder to produce a reconstruction $x^*$. The first loss is $L_1 = \mathcal{L}(x, x^*)$.
- Second Pass: The reconstructed image $x^*$ is passed through the same autoencoder again to produce $x^{**}$. The second loss is $L_2 = \mathcal{L}(x^*, x^{**})$.
- Loss Ratio: The core attribution signal is the ratio $t = L_1 / L_2$.
Key Insight: Distribution Projection
The effectiveness of AEDR stems from the "distribution projection" effect. When a model reconstructs an image it did not create, the first pass effectively "projects" that image into the model's known distribution. Consequently, the second reconstruction pass ($x^*$ to $x^{**}$) is much easier, leading to a significantly lower $L_2$ relative to $L_1$. For images the model did create, the image is already in-distribution, making $L_1$ and $L_2$ nearly identical.
Calibration and Thresholding
To account for varying image complexity, AEDR incorporates Homogeneity Calibration. By multiplying the loss ratio by a homogeneity metric ($H$), the system ensures that texture-heavy images do not bias the results. Finally, Adaptive Thresholding using Kernel Density Estimation (KDE) allows the system to automatically determine optimal cutoff points without prior knowledge of the data distribution.
Experimental Evaluation
The researchers evaluated AEDR on a dataset of 9,000 images, comprising 1,000 real images from LAION-5B and 8,000 AI-generated images from eight diverse models, including Stable Diffusion (v1.5, v2.1, v2-base, XL, v3.5), FLUX.1-dev, VQDM, and Kandinsky 2.1.
Performance and Efficiency
AEDR demonstrated significant improvements over existing baselines:
- Accuracy: AEDR achieved an average attribution accuracy of 95.1%, vastly outperforming RONAN (50.3%) and LatentTracer (70.4%).
- Speed: By utilizing simple forward passes instead of iterative gradient-based optimization, AEDR is approximately 100x faster than LatentTracer. For SDXL, processing time dropped from 162 seconds to just 1.25 seconds per image.
- Forensic Robustness: The method distinguished AI images from real images with 96.9% accuracy.
Discussion and Conclusion
AEDR provides a highly efficient, training-free solution for AI image attribution that remains effective even against the most advanced generative models. While performance is slightly lower for models using discrete latent spaces (e.g., MoVQ in Kandinsky 2.1 at 82.93%), the method's speed and accuracy represent a major step forward for digital forensics. Future work will focus on improving robustness for quantized latent spaces and exploring applications in other generative domains.
Summary updated