Skip to main content
QUICK REVIEW

[Paper Review] Watermark Stealing in Large Language Models

Nikola Jovanović, Robin Staab|arXiv (Cornell University)|Feb 29, 2024
Advanced Steganography and Watermarking TechniquesComputer Science6 citations
TL;DR

The paper formalizes watermark stealing in LLMs and demonstrates an automated stealing method that enables practical spoofing and scrubbing attacks against state-of-the-art watermarking schemes at low cost, challenging deployment assumptions.

ABSTRACT

LLM watermarking has attracted attention as a promising way to detect AI-generated content, with some works suggesting that current schemes may already be fit for deployment. In this work we dispute this claim, identifying watermark stealing (WS) as a fundamental vulnerability of these schemes. We show that querying the API of the watermarked LLM to approximately reverse-engineer a watermark enables practical spoofing attacks, as hypothesized in prior work, but also greatly boosts scrubbing attacks, which was previously unnoticed. We are the first to propose an automated WS algorithm and use it in the first comprehensive study of spoofing and scrubbing in realistic settings. We show that for under $50 an attacker can both spoof and scrub state-of-the-art schemes previously considered safe, with average success rate of over 80%. Our findings challenge common beliefs about LLM watermarking, stressing the need for more robust schemes. We make all our code and additional examples available at https://watermark-stealing.org.

Motivation & Objective

  • Assess robustness of LLM watermarks to adversarial spoofing and scrubbing attacks.
  • Propose and implement an automated watermark stealing algorithm.
  • Evaluate spoofing and scrubbing effectiveness on KGW2-SELFHASH and other schemes under realistic threat models.
  • Quantify practical costs and performance tradeoffs of watermark stealing in real-world settings.
  • Highlight implications for designing more robust watermarking schemes.

Proposed method

  • Define threat model with detector access and base response availability (D0/D1, B0/B1).
  • Develop an automated watermark stealing algorithm that builds empirical pw and pb distributions from observed watermarked text to score tokens.
  • Compute a unified score s⋆(T, [T1T2T3]) using context and partial-context signals to predict green tokens.
  • Mount downstream spoofing by augmenting the auxiliary model's logits with δatt·s⋆ to promote green tokens (Eq. 2).
  • Mount downstream scrubbing by using negative δatt to demote green tokens during paraphrasing generation.
  • Evaluate across KGW2-SELFHASH and other schemes, measuring spoofing via FPR⋆@f and scrubbing via FNR⋆@f with GPT-4 style text quality checks.

Experimental results

Research questions

  • RQ1Can watermark stealing reliably spoof watermarked outputs in realistic settings across major watermark schemes?
  • RQ2To what extent does watermark stealing enhance scrubbing effectiveness, especially for long texts?
  • RQ3What is the practical query cost required to mount effective spoofing or scrubbing attacks?
  • RQ4How do different threat-model settings (D0/D1, B0/B1) affect attack feasibility and outcomes?

Key findings

  • Automated watermark stealing achieves spoofing with average success rates above 80% across multiple schemes at a one-time query cost below $50.
  • Spoofing can imprint watermarks on harmful text using a weakly-aligned attacker model, challenging attribution and reputational safeguards.
  • Watermark stealing significantly boosts long-text scrubbing, with average success rising to over 80% for KGW2-SELFHASH, far outperforming baselines.
  • KGW2-SUM shows easier scrubbing than KGW2-SELFHASH, while KGW2-SELFHASH partially mitigates spoofing-scrubbing tradeoffs.
  • Unigram (UNIGRAM) remains spoofable with notable vulnerability, while other schemes vary in spoofing/scrubbing robustness; across results, stealing lowers perceived deployment risk of watermarks.
  • Paraphrasing-based scrubbing boosted by the stolen signal achieves high effectiveness across multiple paraphrasers (DIPPER, PEGASUS, etc.).6

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.