cs.CLNov 25, 2026

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

Authors: Jon Carmona, Jon Irureta, Jon Imaz, Aizea Lojo, Juan Martínez-Romo, Lourdes Araujo

Organizations: J. Carmona, J. Irureta, J. Imaz and A. Lojo are with IKERLAN Technology Research Centre, Basque Research and Technology Alliance (BRTA), Arrasate-Mondragón, Spain. · J. Carmona, J. Martínez-Romo and L. Araujo are with Universidad Nacional de Educación a Distancia (UNED), Madrid, Spain.

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. 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.

Figures & tables

Appendix figures & tables1 asset

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. TextSeal2: Distortion-Free LLM Watermarking with Copula Mixing and Memoryless Races

    Oct 29, 2026Tom Sander, Pierre Fernandez, Itai Gat +11LLM Watermarking

  2. Language Model Fingerprinting Requires Rethinking Watermark Teachers

    Oct 3, 2026Jeongyeon Hwang, Anshul Nasery, Sewoong Oh +1Language Model FingerprintingFingerprint Identification