mlsanityData to 14 Oct 2026

Signature filtering: a lightweight enhancement for statistical watermark detection in large language models

arXiv 2606.18430 ↗First posted 16 Jun 2026cs.LG cs.CRcited by 0

On the map: LLM safety and security → Watermarking generated content and models

Abstract (arXiv)

Statistical watermarks help organizations attribute large language model (LLM) outputs, yet existing detectors often struggle when watermark signals are weak, texts are repetitive, or watermarks are edited. We propose signature filtering, a detection-time module that enhances watermark detection without modifying watermark embedding and text generation. It learns a small set of ``signature'' tokens whose presence makes watermark tests unreliable, and removes these tokens before detection. The signatures are obtained by solving a mixed-integer linear program on a small training set, with constraints that maximize the true positive rate. We additionally derive finite-sample and asymptotic bounds under several attacker models (color-blind, color-adaptive, and distributionally correlated). On four well-known watermark families (Kgw, Sweet, Unigram, Exp), four benchmark corpora (C4, MBPP, HumanEval, Code-Search-Net), and six LLMs (Opt-1.3b, Opt-6.7b, Llama2-13b, Llama3.1-8b, Qwen2.5-14b, Phi-3-medium-14b), 2- and 3-gram signatures raise detection rates in weak-signal and low-entropy settings from 8~31% without filtering to 78~99% with filtering, while keeping false positives controllable and often negligible. In stress tests where we scramble sentences and perturb 25~50% of tokens by dilution, deletions, and substitutions, 2-gram filters for Kgw-style watermarks preserve most of the clean-text detection gains, often matching or outperforming the advanced WinMax watermark detector. Signature filtering thus provides a simple, scalable, and model-agnostic add-on to strengthen watermark-based provenance checks for LLM text in information processing workflows.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Watermarking generated content and models, one of 12 directions in LLM safety and security. Builds on 26 of its 49 references that are in the map. First posted on arXiv 16 Jun 2026.

Builds on

26 of 49 references.

Closest ancestors · 17

Same direction, newest first

  1. 2025MorphMark: Flexible Adaptive Watermarking for Large Language Models14 May
  2. 2024Robust Detection of Watermarks for Large Language Models Under Human Edits21 Nov
  3. 2024Large Language Model Watermark Stealing With Mixed Integer Programming30 May
  4. 2024MarkLLM: An Open-Source Toolkit for LLM Watermarking16 May
  5. 2024A Statistical Framework of Watermarks for Large Language Models: Pivot, Detection Efficiency and Optimal Rules1 Apr
  6. 2024Can Watermarks Survive Translation? On the Cross-lingual Consistency of Text Watermark for Large Language Models21 Feb
  7. 2024GumbelSoft: Diversified Language Model Watermarking via the GumbelMax-trick20 Feb
  8. 2023Optimizing watermarks for large language models28 Dec
  9. 2023A Semantic Invariant Robust Watermark for Large Language Models10 Oct
  10. 2023Robust Distortion-free Watermarks for Language Models28 Jul
  11. 2023Three Bricks to Consolidate Watermarks for Large Language Models26 Jul
  12. 2023Provable Robust Watermarking for AI-Generated Text30 Jun
5 more
  1. 2023On the Reliability of Watermarks for Large Language Models7 Jun
  2. 2023Undetectable Watermarks for Language Models25 May
  3. 2023Who Wrote this Code? Watermarking for Code Generation24 May
  4. 2023The Stable Signature: Rooting Watermarks in Latent Diffusion Models27 Mar
  5. 2023A Watermark for Large Language Models24 Jan

Other references · 9

  1. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  2. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  3. 2021Program Synthesis with Large Language Modelscited by 3,637
  4. 2019CodeSearchNet Challenge: Evaluating the State of Semantic Code Searchcited by 654
  5. 2020Learning under Concept Drift: A Reviewcited by 477
  6. 2018Failing Loudly: An Empirical Study of Methods for Detecting Dataset Shiftcited by 243
  7. 2022Pretrained Language Models for Text Generation: A Surveycited by 122
  8. 2024WaterSeeker: Pioneering Efficient Detection of Watermarked Segments in Large Documentscited by 9
  9. 2021Faster Maximum Feasible Subsystem Solutions for Dense Constraint Matricescited by 1

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025Optimized Couplings for Watermarking Large Language Models
  2. 2025Optimal Detection for Language Watermarks with Pseudorandom Collision
  3. 2024PostMark: A Robust Blackbox Watermark for Large Language Models
  4. 2024Black-Box Detection of Language Model Watermarks
  5. 2026Dataset Watermarking with Provable Black-Box Detection
  6. 2023WaterBench: Towards Holistic Evaluation of Watermarks for Large Language Models
  7. 2025BiMarker: Enhancing Text Watermark Detection for Large Language Models with Bipolar Watermarks
  8. 2024Learnable Linguistic Watermarks for Tracing Model Extraction Attacks on Large Language Models