PRADA: Probability-Ratio-Based Attribution and Detection of Autoregressive-Generated Images

Simon Damm, Jonas Ricker, Henning Petzka, Asja Fischer

TL;DR

PRADA introduces a highly effective, interpretable method for detecting and attributing images generated by autoregressive (AR) models. By analyzing the ratio of a model's conditional and unconditional token log-likelihoods, PRADA achieves near-perfect detection and attribution accuracy using only a fraction of the training data required by traditional black-box classifiers.

What Problem Does This Paper Address?

Most state-of-the-art deepfake detectors are built to counter Generative Adversarial Networks (GANs) or Diffusion Models (DMs). However, a new paradigm has rapidly gained traction: Autoregressive (AR) image generation (e.g., LlamaGen, VAR). These models treat image synthesis as a sequence modeling task, mimicking the token-by-token generation of Large Language Models (LLMs).

Because AR models are relatively new, there is a distinct lack of forensic tools tailored to them. Fortunately, AR models possess a unique property that GANs and DMs lack: they provide explicit, tractable token-level probabilities. This paper addresses how to exploit these explicit likelihoods to determine if an image was generated by a specific AR model, and if so, which one.

Methods

Instead of training a massive, black-box convolutional or transformer network on raw pixels, the authors propose PRADA (Probability-Ratio-Based Attribution and Detection of Autoregressive-Generated Images). PRADA works by passing an image's ground-truth tokens back through a target AR model to extract token-wise conditional probabilities $p(x_t|c, x_{<t})$ (given a class or text prompt $c$) and unconditional probabilities $p(x_t|x_{<t})$.

PRADA learns a lightweight, model-specific score function consisting of three components:

  1. Probability Ratio Balancing ($\alpha$): A learnable parameter that dynamically adjusts the weight between conditional and unconditional log-likelihoods.
  2. Token-Wise Scoring ($f_\theta$): A tiny neural network (just two hidden layers with 16 neurons each) that maps the balanced probability ratio to a localized token score.
  3. Scale Weighting ($w$): For multi-scale AR models (which generate images across different resolution scales), PRADA learns scale-specific weights to aggregate the token scores.

The final PRADA score is a weighted sum of the scale-wise means of these token scores. To attribute an image across an ensemble of candidate models, the image is assigned to the model that yields the highest positive PRADA score.

Figure 2. Distributions of features derived from log probabilities of AR image generators for real and generated images. While neither conditional probabilities (1st col), nor probability ratios (2nd col) or ICAS (3rd col) consistently tell real and generated images apart, our PRADA score separates their distributions.

Datasets

The authors introduced a new benchmark dataset called DARG (Dataset of AutoRegressive-Generated Images), which contains 84,000 images. DARG features generations from:

  • 8 Class-to-Image Models: Variants of HMAR, LlamaGen, VAR, and RAR trained on ImageNet.
  • 4 Text-to-Image Models: Infinity-2B, Janus-Pro-1B, LlamaGen-XL, and Switti-1024.

Real baseline images were sourced from the ImageNet validation set (for class-to-image evaluation) and the RAISE-1k dataset (for text-to-image evaluation).

Key Insights and Ideas

  • MIA Metrics Don't Generalize: Prior work on Membership Inference Attacks (MIAs) used a fixed score function called ICAS to see if a model "remembered" an image. The authors discovered that while ICAS works beautifully for VAR models, it fails completely on newer architectures like Infinity-2B. This underscores the necessity of PRADA's learned, model-specific scoring net.
  • Extreme Data Efficiency: Because PRADA operates directly on the model's internal probability space rather than learning visual features from pixels, it is incredibly data-efficient. It can be calibrated effectively with as few as 25 to 125 image pairs, whereas standard deep learning detectors require hundreds of thousands of images.
  • White-Box Interpretability: PRADA avoids the black-box problem. By inspecting the learned scale weights ($w$) and the token-wise scoring function ($f_\theta$), researchers can directly interpret which resolution scales or probability distributions are providing the strongest forensic evidence.

Key Results

  • State-of-the-Art Detection: PRADA achieves an average AUROC of 93.7% on class-to-image models and an exceptional 99.4% on text-to-image models, performing on par with or better than heavy pixel-based classifiers.
  • Accurate Model Attribution: In multi-model settings, PRADA correctly identifies the exact source architecture with 88.0% accuracy for class-to-image models and 96.3% for text-to-image models.
Confusion matrix showing PRADA's high accuracy in attributing class-to-image generations to their exact source model.
  • Robustness to Perturbations: Robustness heavily depends on the generator type. While class-to-image models degrade under cropping and noise, text-to-image models remain highly resilient to heavy JPEG compression, blurring, and noise.
Figure 5. Robustness analysis for PRADA. We report the AUROC (%) for images generated by class-to-image (top) and text-to-image models (bottom) under varying degrees of perturbation.

Limitations and Future Work

PRADA relies on a white-box assumption: you must have access to the candidate model's tokenizer and internal token probabilities. This limits its immediate deployment against completely closed-source, commercial web APIs where only the final image is visible. Furthermore, extracting token probabilities requires a full forward pass of the generative model, making inference computationally identical to generating an image.

For text-to-image models, PRADA also requires the prompt. While using an image captioner like BLIP2 to guess the prompt yields strong results, performance drops if the guessed prompt is highly inaccurate. The authors suggest that future work focusing on optimizing prompt estimation and combining probability ratios with quantization errors could yield an even more robust forensic tool.

Summary updated

BibTeX
@inproceedings{damm2026prada,
  author = {Simon Damm and Jonas Ricker and Henning Petzka and Asja Fischer},
  title = {{PRADA: Probability-Ratio-Based Attribution and Detection of Autoregressive-Generated Images}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=Pukpp7eVzW},
}
Figure