Lune

ACL2025Top-tier venue

Efficiently Identifying Watermarked Segments in Mixed-Source Texts

Xuandong Zhao, Chenwen Liao, Yuxiang Wang, Lei Li

Abstract

Text watermarks in large language models (LLMs) are increasingly used to detect synthetic text, mitigating misuse cases like fake news and academic dishonesty. While existing watermarking detection techniques primarily focus on classifying entire documents as watermarked or not, they often neglect the common scenario of identifying individual watermark segments within longer, mixed-source documents. Drawing inspiration from plagiarism detection systems, we propose two novel methods for partial watermark detection. First, we develop a geometry cover detection framework aimed at determining whether there is a watermark segment in long text. Second, we introduce an adaptive online learning algorithm to pinpoint the precise location of watermark segments within the text. Evaluated on three popular watermarking techniques (KGW-Watermark, Unigram-Watermark, and Gumbel-Watermark), our approach achieves high accuracy, significantly outperforming baseline methods. Moreover, our framework is adaptable to other watermarking techniques, offering new insights for precise watermark detection. Our code is publicly available at https://github.com/ XuandongZhao/llm-watermark-location .

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

2 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Stability-Aware Feature Design for Robust Watermark Detection in Machine-Generated Text cites A Watermark for Large Language Models
  • Stability-Aware Feature Design for Robust Watermark Detection in Machine-Generated Text cites On the Reliability of Watermarks for Large Language Models
  • DetectGPT: Zero-Shot Machine-Generated Text Detection using Probability Curvature cites A Watermark for Large Language Models
  • SAEMark: Steering Personalized Multilingual LLM Watermarks with Sparse Autoencoders cites Provable Robust Watermarking for AI-Generated Text
  • SAEMark: Steering Personalized Multilingual LLM Watermarks with Sparse Autoencoders cites Unbiased Watermark for Large Language Models
  • SAEMark: Steering Personalized Multilingual LLM Watermarks with Sparse Autoencoders cites A Watermark for Large Language Models
  • Provable Robust Watermarking for AI-Generated Text cites DetectGPT: Zero-Shot Machine-Generated Text Detection using Probability Curvature
  • Unbiased Watermark for Large Language Models cites A Watermark for Large Language Models
  • On the Reliability of Watermarks for Large Language Models cites DetectGPT: Zero-Shot Machine-Generated Text Detection using Probability Curvature
  • On the Reliability of Watermarks for Large Language Models cites A Watermark for Large Language Models
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers2

  1. SAEMark: Steering Personalized Multilingual LLM Watermarks with Sparse AutoencodersZhuohao Yu, Xingru Jiang, Weizheng Gu, Yidong Wang et al.NeurIPS 2025 · 6 citations
  2. Stability-Aware Feature Design for Robust Watermark Detection in Machine-Generated TextSina Mansouri, Mohit Marvania, Abolfazl SafikhaniICML 2026

Builds on5

  1. DetectGPT: Zero-Shot Machine-Generated Text Detection using Probability CurvatureEric Mitchell, Yoonho Lee, Alexander Khazatsky, Christopher D. Manning et al.ICML 2023 · 988 citations
  2. A Watermark for Large Language ModelsJohn Kirchenbauer, Jonas Geiping, Yuxin Wen, Jonathan Katz et al.ICML 2023 · 854 citations
  3. Provable Robust Watermarking for AI-Generated TextXuandong Zhao, Prabhanjan Vijendra Ananth, Lei Li, Yu-Xiang WangICLR 2024 · 312 citations
  4. On the Reliability of Watermarks for Large Language ModelsJohn Kirchenbauer, Jonas Geiping, Yuxin Wen, Manli Shu et al.ICLR 2024 · 202 citations
  5. Unbiased Watermark for Large Language ModelsZhengmian Hu, Lichang Chen, Xidong Wu, Yihan Wu et al.ICLR 2024 · 103 citations

Related papers

  1. Segmenting Watermarked Texts From Language ModelsXingchi Li, Guanxun Li, Xianyang ZhangNeurIPS 2024 · 5 citations
  2. Token-Specific Watermarking with Enhanced Detectability and Semantic Coherence for Large Language ModelsMingjia Huo, Sai Ashish Somayajula, Youwei Liang, Ruisi Zhang et al.ICML 2024 · 37 citations
  3. Theoretically Grounded Framework for LLM Watermarking: A Distribution-Adaptive ApproachHaiyun He, Yepeng Liu, Ziqiao Wang, Yongyi Mao et al.NeurIPS 2025 · 26 citations
  4. An Unforgeable Publicly Verifiable Watermark for Large Language ModelsAiwei Liu, Leyi Pan, Xuming Hu, Shuang Li et al.ICLR 2024 · 63 citations
  5. DualGuard: Dual-stream Large Language Model Watermarking Defense against Paraphrase and Spoofing AttackHao Li, Yubing Ren, Yanan Cao, Yingjie Li et al.ACL Findings 2026
Dusk over the sea between two cliffs drawn in fine vertical lines