Watermark Smoothing Attacks against Language Models

Hongyan Chang, Hamed Hassani, Reza Shokri
7/19/2024
cs.LG

No official code found. Best implementation: changhongyan123/watermark_smoothing (0 stars, Apache-2.0, last commit 2025-09-02).

Abstract

Watermarking is a key technique for detecting AI-generated text. In this work, we study its vulnerabilities and introduce the Smoothing Attack, a novel watermark removal method. By leveraging the relationship between the model's confidence and watermark detectability, our attack selectively smoothes the watermarked content, erasing watermark traces while preserving text quality. We validate our attack on open-source models ranging from $1.3$B to $30$B parameters on $10$ different watermarks, demonstrating its effectiveness. Our findings expose critical weaknesses in existing watermarking schemes and highlight the need for stronger defenses.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Official implementation for the paper "Watermark Smoothing Attacks against Language Models" accepted at EMNLP 2025 Findings.

00Shell, CythonSep 2, 20251 years agoApache-2.0

Cite this paper

@article{chang2024watermark,
  title  = {Watermark Smoothing Attacks against Language Models},
  author = {Hongyan Chang and Hamed Hassani and Reza Shokri},
  year   = {2024},
  eprint = {2407.14206},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.14206v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2407.14206.svg)](https://codeofpaper.com/paper/2407.14206)

Discussion