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

Simon Damm, Jonas Ricker, Henning Petzka, Asja Fischer

TL;DR

PRADA introduces a lightweight, highly interpretable method to detect and attribute images generated by autoregressive (AR) models. By analyzing the ratio of conditional to unconditional token probabilities and calibrating a tiny, model-specific score function, it achieves state-of-the-art performance with extreme data efficiency.

What Problem Does This Paper Address?

While most deepfake detection research focuses on Generative Adversarial Networks (GANs) and Diffusion Models (DMs), Autoregressive (AR) image generation—which treats image synthesis like text generation in Large Language Models—is rapidly gaining traction. Models like LlamaGen and VAR generate deceptively realistic images, yet few detection methods specifically target them.

Unlike GANs and DMs, AR models provide explicit likelihoods (probabilities) for the token sequences they generate. In theory, this makes them easier to audit. However, raw likelihoods are notoriously unreliable for forensic detection, and existing metrics borrowed from Membership Inference Attacks (MIAs) fail to generalize across different AR model architectures. PRADA addresses this gap by providing an architecture-agnostic framework that can both detect AR-generated images and attribute them to their exact source model.

Methods

PRADA (Probability-Ratio-Based Attribution and Detection of Autoregressive-Generated Images) works by feeding an image back into a candidate AR model's tokenizer to extract its token-level log-probabilities. It computes two values per token: the conditional probability (given a text prompt or class label) and the unconditional probability (given an empty condition).

Instead of using a rigid, hand-crafted formula to compare these probabilities, PRADA learns a lightweight, model-specific score function using three components:

  1. Ratio Balancing ($\alpha$): A learnable parameter that dynamically weights the importance of conditional versus unconditional log-probabilities.
  2. Token-Wise Scoring ($f_\theta$): A tiny neural network (a multilayer perceptron with just two hidden layers and ~321 parameters) that maps the balanced probability ratio to a token-level score.
  3. Scale Weighting ($w$): For multi-scale AR architectures (which generate images from coarse to fine resolutions), PRADA learns weights to prioritize the scales that offer the cleanest forensic signal.
Figure 1. Overview of our proposed method. For a given image, PRADA extracts conditional and unconditional log-likelihoods for each token and assigns a score to their balanced ratio ∆α(xt, c), see Equation (3). A lightweight calibration step provides a small, model- specific scoring function fθ : R →R. For next-scale prediction models, the scale-wise average of token scores is linearly combined with weights wi to obtain the final PRADA score P(x), see Equation (4). This score is highly effective for detection and model attribution, especially against text-to-image models.

The final PRADA score is an aggregate of these token scores. If the score is above zero, the image is flagged as a fake generated by that specific model.

Datasets

The authors introduced a new benchmark dataset called DARG (Dataset of AutoRegressive-Generated Images), consisting of 84,000 images:

  • Class-to-Image: Images generated by 8 models (variants of HMAR, LlamaGen, VAR, and RAR) trained on ImageNet, balanced against real ImageNet validation images.
  • Text-to-Image: Images generated by 4 models (Infinity-2B, Janus-Pro-1B, LlamaGen-XL, Switti-1024) using prompts from the Synthbuster dataset, balanced against real images from the RAISE-1k dataset.

Key Insights and Ideas

  • One Size Does Not Fit All: Previous research assumed that a fixed scaling function (like ICAS) could universally separate real and fake images across AR models. The authors demonstrate that different architectures exhibit completely opposite probability ratio behaviors, proving that the scoring function must be learned per model.
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.
  • Avoiding Black-Box Overfitting: Traditional deepfake detectors use massive convolutional or transformer networks that often overfit to low-level image textures or dataset biases. PRADA avoids this by training a microscopic network on top of explicit mathematical probabilities, preserving transparency and interpretability.
  • The Nuance of Multi-Scale Generation: In multi-scale models, finer (later) scales contain significantly more tokens and yield a more stable signal. However, early scales can introduce anomalies where real and generated distributions invert, making learned scale weights crucial for "canceling out" these distortions.
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.

Key Results

  • High Detection Accuracy: PRADA achieved an average AUROC of 93.7% on class-to-image models and 99.4% on text-to-image models, performing on par with or outperforming heavy, state-of-the-art black-box classifiers.
  • Precise Model Attribution: In multi-class evaluation, PRADA successfully attributed images to their exact source model with 88.0% accuracy for class-to-image and 96.3% accuracy for text-to-image setups.
  • Extreme Data Efficiency: While standard deep learning detectors require hundreds of thousands of training images, PRADA's tiny parameter footprint allows it to calibrate effectively with as few as 25 to 125 sample images.

Limitations and Future Work

  • White-Box Access Required: PRADA relies on extracting token probabilities from the target models. This makes it highly effective for model creators auditing their own systems or open-source models, but unusable against completely closed-source, API-only generators (like Midjourney or DALL-E 3).
  • Computational Cost at Inference: To evaluate an image, PRADA must run a full forward pass through the AR model to compute token probabilities. This makes inference as computationally expensive as generating an image from scratch.
  • Prompt Dependency: For text-to-image models, PRADA requires a text prompt. While using an automated captioner like BLIP2 yields strong results, sub-optimal or inaccurate prompts can degrade detection performance. The authors suggest optimizing prompt estimation as a key direction for future work.

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