Privacy Attacks on Image AutoRegressive Models

Antoni Kowalczuk, Jan Dubiński, Franziska Boenisch, Adam Dziedzic

Abstract

While Image AutoRegressive (IAR) models are rapidly rivaling Diffusion Models (DMs) in generative performance and efficiency, their privacy implications have remained largely unexamined. This paper, presented at ICML 2025, provides the first comprehensive privacy audit of IAR architectures such as VAR, RAR, and MAR. Our findings reveal a sobering reality: IARs are significantly more vulnerable to privacy attacks than their diffusion-based counterparts. We demonstrate that new attack vectors can achieve an 86% success rate in identifying training images and can extract hundreds of verbatim training samples with minimal computational overhead. This study highlights a fundamental privacy-utility trade-off inherent in the next-token prediction paradigm for visual data.

Introduction

The generative AI landscape has seen a significant shift. While Diffusion Models (DMs) initially dominated the field, a new paradigm has emerged: Image AutoRegressive models (IARs). By treating images as sequences of discrete tokens—mirroring the architecture of Large Language Models (LLMs)—models like VAR and RAR have achieved state-of-the-art results in image quality and generation speed.

However, the privacy risks associated with this architectural shift are profound. While the tendency of DMs to "memorize" training data is well-documented, IARs have operated as a black box regarding data exposure. This research investigates whether the transition to autoregressive structures introduces new privacy backdoors, specifically focusing on Membership Inference (MIA), Dataset Inference (DI), and Data Extraction.

Methodology

The authors developed a suite of attacks specifically tailored to the unique mechanics of IARs, moving beyond standard loss-based metrics used in previous generative model audits.

Tailored Membership Inference (MIA)

Unlike DMs, which predict noise levels, IARs predict the probability distribution (logits) of the next token. The researchers leveraged Classifier-Free Guidance (CFG) signals to measure the discrepancy between the model's output when provided with a class label versus a "null" label. This discrepancy provides a significantly stronger membership signal than standard loss-based attacks, allowing attackers to distinguish between training data ("members") and unseen data ("non-members") with high precision.

Optimized Dataset Inference (DI)

Dataset Inference aims to prove whether a model was trained on a specific proprietary dataset. The authors simplified the standard DI pipeline by bypassing complex linear classifiers. Instead, they found that simple normalization and summation of MIA scores across a small number of samples were sufficient to identify a training set with high confidence.

Prefix-based Extraction

Borrowing techniques from LLM security research, the authors utilized "prefix-based" extraction. By providing the model with the top portion of a known training image (the prefix) and allowing the model to complete the sequence, they triggered the model's tendency to "fill in the blanks" with memorized training data. Because IARs are trained to predict the next token based on an exact sequence, they are highly prone to verbatim reconstruction.

Why IARs are Inherently More Vulnerable

The study identifies several architectural reasons why IARs leak more information than DMs:

  1. The "Logit" Leak: IARs expose per-token logits, which are highly informative probability distributions. DMs only output a single noise prediction per step, which is a much "noisier" and less informative signal for an attacker.
  2. Data Density per Update: During training, an IAR "sees" every possible sequence prefix of an image. For a $16 \times 16$ token grid, the model effectively learns from 256 different sequences for a single image in one pass. In contrast, DMs only see one noisy version of the image per training step.
  3. Scaling Risks: As IARs scale in parameter count to improve image fidelity, their capacity for verbatim memorization increases sharply, making larger models more dangerous from a privacy perspective.

Experimental Results

The study evaluated state-of-the-art IAR architectures (VAR, RAR, and MAR) against DMs (LDM, DiT) using the ImageNet-1k dataset. The results demonstrate a massive gap in privacy resilience:

  • MIA Success: The tailored attack achieved an 86.38% True Positive Rate (at a 1% False Positive Rate) on the VAR-d30 model. A comparable Diffusion Model only reached 6.38% under similar conditions.
  • Dataset Detection: To prove a model used a specific dataset, an attacker requires only 6 samples for an IAR, compared to 200 samples for a DM.
  • Verbatim Extraction: The researchers successfully extracted 698 high-resolution training images from VAR-d30 using only 5,000 generation attempts. For context, previous successful attacks on DMs required 175 million generations to extract just 50 images.

The MAR Exception

Interestingly, the Masked AutoRegressive (MAR) model proved to be the most private among the IARs tested. The authors attribute this to MAR's use of a small internal diffusion module to generate tokens. This suggests that incorporating diffusion-based components can act as a natural privacy buffer, even within an autoregressive framework.

Conclusion and Future Work

The transition to Image AutoRegressive models offers significant performance gains but at a steep privacy cost. Standard heuristic defenses, such as adding noise to outputs, fail because they severely degrade image quality, creating a difficult privacy-utility trade-off.

The authors conclude that the community must prioritize the development of dedicated privacy-preserving techniques, such as Differential Privacy (DP), specifically optimized for the autoregressive image paradigm. Without these safeguards, the deployment of IARs on sensitive or proprietary data poses a substantial risk of verbatim data exposure.

Summary updated

BibTeX
@inproceedings{kowalczuk2025privacy,
  author = {Antoni Kowalczuk and Jan Dubiński and Franziska Boenisch and Adam Dziedzic},
  title = {{Privacy Attacks on Image AutoRegressive Models}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=7SXXczJCWP},
}
Figure