Know the Design, Pick the Attack: Sentence-Keyed Watermarks for LLMs

Jon Carmona, Jon Irureta, Jon Imaz, Aizea Lojo, Juan Martínez-Romo +1 more
11/25/2026
cs.CLcs.CR

No confident code implementation found for this paper.

Abstract

A watermark lets the provider of a language model recognise the text its model wrote, which matters more as generated text becomes hard to tell from human writing: provenance underpins academic integrity, the fight against misinformation and new regulation. Providers have started to watermark the text of their models, and to explain how their watermarks work.

Show full abstract

Explaining a watermark, however, also tells an attacker how to break it, and there are two ways to do so: reword the text to erase the mark, or learn the mark and copy it onto text the model never wrote. Each attack has been studied on its own. We study an attacker that reads the published design to choose between them: it erases the watermarks that are hard to learn and forges the ones that survive rewording. Against it, every existing watermark we compare fails. We propose KeyedLex, which reads its secret key from the grammar of the previous sentence, which rewording changes little, and whose detector does not need to recover the key exactly. It outperforms every watermark we compare on both models we test, losing about half of its signal where the best alternative loses two thirds, at no extra cost in text quality over the best-known watermarks.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{carmona2026know,
  title  = {Know the Design, Pick the Attack: Sentence-Keyed Watermarks for LLMs},
  author = {Jon Carmona and Jon Irureta and Jon Imaz and Aizea Lojo and Juan Martínez-Romo and Lourdes Araujo},
  year   = {2026},
  eprint = {2611.34505},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.34505v1}
}

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/2611.34505.svg)](https://codeofpaper.com/paper/2611.34505)

Discussion