arXiv:2611.02030cs.CRNov 2026

Manuscript Offprint

arXiv:2611.02030

Query-efficient scan-and-search watermark localization

Liyuan Wang, Xinsong Ma, Ziye Ma

Abstract

Recently, the detection of AI-generated content has been of particular importance in various fields of our society. For accountability purposes, many large language models (LLMs) have implicitly watermarked their outputs. Localizing such watermarks requires a piece of text to undergo an additional verification process. Existing localization methods typically rely on dense token-level scoring, making verification costly even when an LLM-generated watermark only sparsely appears. To tackle this problem, we design a new adaptive allocation strategy that first maintains broad document coverage and then progressively concentrates the detection budget on regions that exhibit stronger watermark evidence or are more likely to contain watermarked content. We then transform the statistical signals from the selected regions into e-values and employ the proposed token-weighted e-BH procedure to determine the localized watermark regions. The resulting framework is called BELL (Budgeted E-evidence Localization for LLM Watermarks). Theoretically, BELL can control the token-weighted false discovery rate (FDR) without independence assumptions across regions. Finally, extensive experimental results demonstrate that BELL consistently outperforms competing methods across multiple LLMs, datasets, and watermarking schemes.

1 INTRODUCTION

The rapid development and widespread adoption of large language models (LLMs) have made high-quality machine-generated text increasingly accessible, while also raising concerns about misuse, including misinformation, spam, and academic misconduct (Weidinger et al., 2022; Mitchell et al., 2023; Wang et al., 2025b; Liang et al., 2026; Lalai et al., 2025). Reliable identification of machine-generated content has therefore become an increasingly important problem (Wang et al., 2025b; Liang et al., 2026). Watermarking offers a proactive solution by embedding hidden statistical signals during generation that can later be verified by a detector (Christ et al., 2024; Kuditipudi et al., 2024; Zhao et al., 2024; Mao et al., 2025; Chen et al., 2025; Huang & Wan, 2025).

A substantial number of methods have been proposed for the watermark detection problem, with diverse underlying intuitions. The mainstream families include logit-based methods (Kirchenbauer et al., 2023; Nemecek et al., 2026; Si et al., 2026), sampling-based methods (Hu et al., 2024; Kuditipudi et al., 2024; Mao et al., 2025; Chen et al., 2025; Huang & Wan, 2025), and semantic or transformation-based methods (Liu et al., 2024; Dabiriaghdam & Wang, 2025; Ye et al., 2026; Park et al., 2026). Despite these differences in mechanism, most of these approaches are designed to serve the same goal: document-level classification, i.e., determining whether a document is watermarked as a whole (Lalai et al., 2025; Liang et al., 2026; Bashir, 2026).

Real documents are often mixtures of human- and machine-generated content (Pan et al., 2025; Zhao et al., 2025; Si et al., 2026; Bashir, 2026). For example, a policy report or public-safety document may contain a small number of LLM-generated paragraphs that contain misinformation or fake instructions (Wang et al., 2025b; Liang et al., 2026). A document-level detector may reveal that watermarked content exists somewhere in the document, but fails to identify which parts are potentially machine-generated (Zhao et al., 2025; Si et al., 2026; Bashir, 2026). In such high-stakes settings, reliable localization is essential for targeting the specific watermarked paragraphs. Currently, watermark localization still remains relatively unexplored, with only a few existing works (Pan et al.,

∗^{*}Corresponding author.

2025; Zhao et al., 2025; Si et al., 2026). WinMax (Kirchenbauer et al., 2024) first scores the sequence on a per-token basis and then searches over contiguous windows for the strongest watermark statistic. WaterSeeker (Pan et al., 2025) uses a coarse-to-fine strategy, first extracting a document-wide anomaly signal to identify suspicious regions and then refining them through local traversal. These methods share a common reliance on dense token-level watermark scoring across the entire document. Such document-wide scoring can become costly when obtaining token-level watermark evidence itself involves computationally intensive detectors (Block et al., 2025; Huang & Wan, 2025). Then a question naturally arises:

References (90)