# Towards Anytime-Valid Statistical Watermarking

*Baihe Huang, Eric Xu, Kannan Ramchandran, Jiantao Jiao, Michael Jordan*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/148466) · [OpenReview](https://openreview.net/forum?id=xbsjNKS4Iq) · [Open on the map](../papers.html#p148466)

Category: [AI Safety, Security & Alignment](../pcat/16.md) › [LLM Watermarking](../pgroup/571.md) · Type: new method · Keywords: statistical watermarking, e-value, anytime-valid inference, anchor distribution, machine-generated text detection

## Summary
Anchored E-Watermarking introduces an e-value-based watermarking framework that unifies optimal sampling with anytime-valid inference, enabling early stopping while preserving Type-I error guarantees.

## Explained to a 5-year-old
Computers can write stories that look like they were written by people. We need a way to tell which is which quickly. The new method uses a clever math rule that works even if we stop checking early. It helps save time and still makes sure we don't make mistakes. This makes it easier to know if a text is real or fake.

## Explained to a 5-year-old, longer
Computers can write sentences that look just like those people write. Sometimes we want to know if a sentence was written by a computer or by a person. The old ways of checking needed to look at a lot of words before they could be sure. The new idea lets us stop checking early, like when we think we already know the answer. It uses a special rule that keeps the checking safe, even if we stop early. This rule is based on math that watches how likely things are. By using a simpler model to guess the computer's style, we can find the answer faster. The method also tells us how many words we need on average to be confident. It works better than the old methods, using fewer words to get the right answer. This saves time and computer power. It helps us trust the information we read. Overall, it makes checking text easier and quicker.

## For a technical reader
The paper addresses the challenge of detecting machine-generated text with statistical watermarking while allowing early stopping. It proposes constructing a test supermartingale that maintains valid Type-I error control regardless of when inference halts. An anchor distribution approximates the target model, enabling derivation of optimal e-values based on worst-case log-growth rates. This yields an expected stopping time that reduces the token budget needed for detection. Experiments on standard benchmarks show a 13-15% reduction in average tokens compared to existing baselines.

## Problem
Statistical watermarking methods lack a principled way to choose sampling distributions and cannot support valid early stopping due to fixed-horizon hypothesis testing.

## Method
The approach constructs a test supermartingale to enable anytime-valid inference, uses an anchor distribution to approximate the target model, and derives optimal e-values based on worst-case log-growth rates to achieve early stopping with valid Type-I error control.

## Results
The approach reduces the average token budget required for detection by 13-15% compared to state-of-the-art baselines, demonstrating improved sample efficiency.

## Contributions
It provides the first e-value-based watermarking framework that jointly optimizes sampling distributions and supports anytime-valid inference, along with theoretical analysis of optimal stopping times.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/148466)
