On the Robustness of Watermarking for Autoregressive Image Generation

Andreas Müller, Denis Lukovnikov, Shingo Kodama, Minh Pham, Anubhav Jain, Jonathan Petit, Niv Cohen, Asja Fischer

TL;DR

This paper systematically evaluates the security of in-generation watermarking schemes for autoregressive (AR) image generators, revealing critical vulnerabilities to both removal and forgery attacks. The authors introduce three novel attacks—VQ-Regen, LatentOpt, and Frequency Injection—demonstrating that existing defenses fail against realistic adversaries and enabling "Watermark Mimicry" to protect authentic data from unauthorized scraping.

What Problem Does This Paper Address?

As autoregressive (AR) image models (such as VAR, Infinity, and LlamaGen) grow in popularity, watermarking has emerged as a vital tool to track synthetic content, combat misinformation, and prevent "model collapse" (a phenomenon where generative models degrade after being trained on their own outputs).

In-generation watermarking schemes embed subtle signals directly during the decoding process by slightly shifting token selection probabilities. This makes them inherently more robust against standard post-processing modifications (like cropping or compression) than traditional post-hoc watermarks. However, their robustness against targeted, structural attacks remains largely unexplored. This paper investigates whether these defenses can withstand sophisticated adversaries who want to either erase a watermark or forge one onto real images.

Methods

The authors propose three new attack vectors tailored to the underlying mechanics of AR generators:

  1. Vector-Quantized Regeneration (VQ-Regen): A removal attack designed to disrupt token-level watermarks. Instead of standard nearest-neighbor quantization in the latent space, it maps the latent representation to the $k$-th nearest token index. This introduces controlled structural deviations that break the precise token sequences required by the watermark detector while preserving overall image quality.
  2. Latent Encoder Optimization (LatentOpt): A gradient-guided optimization attack applicable to both removal and forgery. It applies a subtle pixel perturbation ($\Delta x$) using a proxy VQ-VAE encoder to shift the latent representation either away from the watermarked state (for removal) or toward a reference watermarked image (for forgery).
  3. Frequency Injection: A model-agnostic forgery attack targeting bitwise AR watermarks (like BitMark). By analyzing the steganographic footprint of watermarked images, the authors discovered regular spatial artifacts left by the generator. They exploit this by directly injecting magnitude peaks into the Fourier transform of a clean cover image along its diagonals, successfully triggering false positives in the watermark detector.

Datasets

The evaluation uses standard computer vision benchmarks to test the attacks against four prominent AR watermarking frameworks (IndexMark, WMAR, ClusterMark, and BitMark):

  • MS-COCO: Used to provide captions for text-conditional generation and clean cover images for evaluating forgery attacks.
  • ImageNet: Used for class-conditional generation evaluation across different target models (e.g., LlamaGen, RAR-XL).

Key Insights and Ideas

  • The Token vs. Bitwise Trade-off: Discrete token-based watermarks (IndexMark, WMAR, ClusterMark) are relatively easy to remove even in black-box settings but are difficult to forge. Conversely, bitwise multi-scale watermarks (BitMark) are incredibly resilient to removal due to their high statistical significance across scales, but are highly susceptible to forgery.
  • Watermark Mimicry as a Shield: The vulnerability of bitwise watermarks to forgery enables an intriguing adversarial strategy called Watermark Mimicry. Instead of malicious actors faking watermarks to bypass detection, everyday users can forge a generator's watermark onto authentic, human-made images. This tricks automated data scrapers into filtering out real images, effectively shielding human content from being harvested for AI training.
Fig. 1: Watermark Mimicry subverts synthetic content filtering. An image generated with the radioactive BitMark watermark (left) carries an embedded signal that allows service providers to identify synthetic content and exclude it from future training to prevent model collapse. However, other parties can transfer this watermark onto unrelated images, causing the detector to mistake authentic images (here, Ran- itomeya imitator - the mimic poison frog) as AI-generated (right). This adversarial strategy inverts the protective intent of radioactive watermarking: rather than pre- venting real data from being mislabeled, one may exploit the detector’s own decision boundary to shield genuine content from being harvested for training.
  • Transferability of Latent Attacks: LatentOpt attacks exhibit strong transferability. An attacker does not need access to the exact verifier model; using an entirely different proxy encoder (black-box) or an un-finetuned version of the model (grey-box) is often sufficient to break or fake the watermark.

Key Results

  • Token-Based Schemes: Both VQ-Regen and LatentOpt-R successfully reduce the True Positive Rate (TPR) of token-based watermarks to near 0% in white-box settings and significantly degrade it in black-box scenarios, all while maintaining high visual fidelity (PSNR ~31–32 dB).
  • BitMark Removal: While standard post-processing and diffusion-based regeneration attacks fail to remove BitMark, the authors' specialized BitOpt-R white-box attack completely erases the watermark (TPR drops from 1.00 to 0.00) while maintaining exceptional image quality (PSNR > 46 dB).
  • BitMark Forgery: Frequency Injection achieves devastatingly effective forgery against BitMark without requiring any model access, achieving low detector p-values ($10^{-7}$ to $10^{-31}$) while maintaining clean image quality (PSNR up to 37.5 dB).

Limitations and Future Work

The authors note that individual optimization instances during LatentOpt can sometimes oscillate between detectable and non-detectable states, suggesting that more advanced learning rate schedules could stabilize the attack. Additionally, while disabling watermark verification at the finest image scales could mitigate the Frequency Injection forgery attack, doing so would sacrifice roughly 40% of the watermark's embedding capacity, severely weakening its overall robustness. The findings indicate that future research must focus on designing watermarking schemes where the decision boundaries cannot be easily mapped or exploited via proxy encoders.

Summary updated

BibTeX
@inproceedings{muller2026robustness,
  author = {Andreas Müller and Denis Lukovnikov and Shingo Kodama and Minh Pham and Anubhav Jain and Jonathan Petit and Niv Cohen and Asja Fischer},
  title = {{On the Robustness of Watermarking for Autoregressive Image Generation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=qefjBQ3xUo},
}
Figure