Study: character-level perturbations can break LLM watermarks, and a genetic-algorithm-based removal attack is proposedCharacter-Level Perturbations Disrupt LLM Watermarks
Translation in progress — untranslated text is omitted.
The paper "Character-Level Perturbations Disrupt LLM Watermarks" proposes that character-level perturbations (such as typos, character swaps, deletions, homoglyphs) can affect multiple tokens at once by disrupting the tokenization process, thereby removing LLM watermarks more effectively than conventional methods under a restricted threat model. The authors first formalize the system model of LLM watermarks and characterize two realistic threat models with restricted access to the watermark detector, then analyze the attack scope of different perturbation types. Based on this, they propose a guided removal attack using a genetic algorithm (GA) optimized with a reference detector, which shows strong removal effectiveness under the realistic threat model where the detector can only be queried a limited number of times in a black-box manner. The authors also propose an adversarial dilemma: any fixed defense can be bypassed by an appropriate perturbation strategy, and accordingly design adaptive composite character-level attacks, which experiments show can effectively defeat existing defenses. The research concludes that current LLM watermark schemes have significant vulnerabilities and require the development of new robust mechanisms.
- LLM watermarks inject detectable signals at generation time for attribution and misuse prevention. The authors believe existing removal attacks make overly strong assumptions and mostly use token- or sentence-level perturbations, which may overestimate robustness.
- The authors compare the attack scope of a single edit: token-level is h+1, character-level after disrupting tokenization is h+3. AC1 randomly modifies characters; AC2 trains a BERT reference detector with limited queries, then uses a genetic algorithm to select positions.
- Across the five watermarks on OPT and LLaMA, character-level ASR is mostly higher than token-level at the same ER; for OPT, KGW, ER=0.1, it is 0.2228 vs. 0.0224 (Table II). Character-level GA on OPT achieves an average ASR of 0.6514 across the five schemes. Gradient-transfer ASR is below 0.1.
- The conclusion proposes the need for specialized defenses, and suggests improving tokenization and watermark schemes, as well as studying watermark forgery. Experiments use OPT-1.3B and LLaMA-3-8B with five inference-time watermarks; the paper does not report Table II sample size and repetition count.
Related papers
- Watermark Stealing in Large Language ModelsAttacksarXiv