mlsanityData to 7 Oct 2026

Large Language Model Watermark Stealing With Mixed Integer Programming

arXiv 2405.19677 ↗First posted 30 May 2024cs.CR cs.AIcited by 13

On the map: LLM safety and security → Watermarking generated content and models

Abstract (arXiv)

The Large Language Model (LLM) watermark is a newly emerging technique that shows promise in addressing concerns surrounding LLM copyright, monitoring AI-generated text, and preventing its misuse. The LLM watermark scheme commonly includes generating secret keys to partition the vocabulary into green and red lists, applying a perturbation to the logits of tokens in the green list to increase their sampling likelihood, thus facilitating watermark detection to identify AI-generated text if the proportion of green tokens exceeds a threshold. However, recent research indicates that watermarking methods using numerous keys are susceptible to removal attacks, such as token editing, synonym substitution, and paraphrasing, with robustness declining as the number of keys increases. Therefore, the state-of-the-art watermark schemes that employ fewer or single keys have been demonstrated to be more robust against text editing and paraphrasing. In this paper, we propose a novel green list stealing attack against the state-of-the-art LLM watermark scheme and systematically examine its vulnerability to this attack. We formalize the attack as a mixed integer programming problem with constraints. We evaluate our attack under a comprehensive threat model, including an extreme scenario where the attacker has no prior knowledge, lacks access to the watermark detector API, and possesses no information about the LLM's parameter settings or watermark injection/detection scheme. Extensive experiments on LLMs, such as OPT and LLaMA, demonstrate that our attack can successfully steal the green list and remove the watermark across all settings.

Key facts. Cited by 13 papers in the map (data through 7 Oct 2026). Placed in Watermarking generated content and models, one of 12 directions in LLM safety and security. Builds on 15 of its 26 references that are in the map. First posted on arXiv 30 May 2024.

Builds on

15 of 26 references.

Closest ancestors · 7

Same direction, newest first

  1. 2024Bypassing LLM Watermarks with Color-Aware Substitutions19 Mar
  2. 2023A Robust Semantics-based Watermark for Large Language Model against Paraphrasing15 Nov
  3. 2023Watermarks in the Sand: Impossibility of Strong Watermarking for Generative Models7 Nov
  4. 2023Publicly-Detectable Watermarking for Language Models27 Oct
  5. 2023Who Wrote this Code? Watermarking for Code Generation24 May
  6. 2023Paraphrasing evades detectors of AI-generated text, but retrieval is an effective defense23 Mar
  7. 2023Can AI-Generated Text be Reliably Detected?17 Mar

Other references · 8

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  3. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  4. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
  5. 2016Categorical Reparameterization with Gumbel-Softmaxcited by 2,708
  6. 2023DetectGPT: Zero-Shot Machine-Generated Text Detection using Probability Curvaturecited by 705
  7. 2019Defending Against Neural Fake Newscited by 553
  8. 2023On the Risk of Misinformation Pollution with Large Language Modelscited by 124

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 3; 2025: 8; 2026: 2.

13 papers.

Sort:

By area: