English

Detecting Post-generation Edits to Watermarked LLM Outputs via Combinatorial Watermarking

Machine Learning 2025-10-03 v1

Abstract

Watermarking has become a key technique for proprietary language models, enabling the distinction between AI-generated and human-written text. However, in many real-world scenarios, LLM-generated content may undergo post-generation edits, such as human revisions or even spoofing attacks, making it critical to detect and localize such modifications. In this work, we introduce a new task: detecting post-generation edits locally made to watermarked LLM outputs. To this end, we propose a combinatorial pattern-based watermarking framework, which partitions the vocabulary into disjoint subsets and embeds the watermark by enforcing a deterministic combinatorial pattern over these subsets during generation. We accompany the combinatorial watermark with a global statistic that can be used to detect the watermark. Furthermore, we design lightweight local statistics to flag and localize potential edits. We introduce two task-specific evaluation metrics, Type-I error rate and detection accuracy, and evaluate our method on open-source LLMs across a variety of editing scenarios, demonstrating strong empirical performance in edit localization.

Keywords

Cite

@article{arxiv.2510.01637,
  title  = {Detecting Post-generation Edits to Watermarked LLM Outputs via Combinatorial Watermarking},
  author = {Liyan Xie and Muhammad Siddeek and Mohamed Seif and Andrea J. Goldsmith and Mengdi Wang},
  journal= {arXiv preprint arXiv:2510.01637},
  year   = {2025}
}
R2 v1 2026-07-01T06:12:20.548Z