[Paper Review] Towards Anytime-Valid Statistical Watermarking
The paper introduces Anchored E-Watermarking, showing that e-value-based watermarking improves detection efficiency over baselines while maintaining text quality and enabling anytime-valid inferences with faster detection.
The proliferation of Large Language Models (LLMs) necessitates efficient mechanisms to distinguish machine-generated content from human text. While statistical watermarking has emerged as a promising solution, existing methods suffer from two critical limitations: the lack of a principled approach for selecting sampling distributions and the reliance on fixed-horizon hypothesis testing, which precludes valid early stopping. In this paper, we bridge this gap by developing the first e-value-based watermarking framework, Anchored E-Watermarking, that unifies optimal sampling with anytime-valid inference. Unlike traditional approaches where optional stopping invalidates Type-I error guarantees, our framework enables valid, anytime-inference by constructing a test supermartingale for the detection process. By leveraging an anchor distribution to approximate the target model, we characterize the optimal e-value with respect to the worst-case log-growth rate and derive the optimal expected stopping time. Our theoretical claims are substantiated by simulations and evaluations on established benchmarks, showing that our framework can significantly enhance sample efficiency, reducing the average token budget required for detection by 13-15% relative to state-of-the-art baselines.
Motivation & Objective
- Motivate the need for watermarking methods that allow anytime-valid inference and flexible stopping.
- Propose Anchored E-Watermarking to improve detection efficiency while preserving generation quality.
- Theoretically justify the optimal e-value framework and its implications for stopping times.
- Empirically compare against baselines on real-world language models and report efficiency gains.
Proposed method
- Propose Anchored E-Watermarking, a framework that uses e-values instead of p-values for watermark detection.
- Derive and characterize the optimal e-value with respect to worst-case log-growth rate.
- Formulate a worst-case optimization over distributions and transport plans to justify the watermarking design.
- Empirically evaluate detection efficiency and generation quality against baselines (e.g., SEAL) across perturbations and private keys.
- Highlight that the approach enables anytime-valid inference without sacrificing utility.
Experimental results
Research questions
- RQ1Can e-values provide valid optional stopping guarantees for watermark detection without inflating Type-I error?
- RQ2Does Anchored E-Watermarking improve detection efficiency and maintain generation quality compared to baseline methods?
- RQ3What is the theoretical optimum e-value and corresponding stopping time under worst-case conditions?
- RQ4How does the proposed method perform across different perturbations and private keys in real-world language models?
Key findings
- Anchored E-Watermarking significantly outperforms baselines in detection efficiency while maintaining high generation quality.
- The method achieves nearly 2× speed improvement (from 145 to 72.0 tokens) compared to the best non-anchored baseline.
- Quality scores of the proposed method remain competitive with baselines, indicating a favorable trade-off between detectability and utility.
- The framework enables anytime-valid inference, addressing fixed-horizon limitations of traditional p-value-based testing.
- Empirical results on real-world language models show substantial efficiency gains with preserved text quality.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.