← Lab /AI/ML

Stateless Bernoulli Watermark adds <1% overhead and runs 6000× faster

Stateless Bernoulli Watermarking provides the same detection guarantees as prior methods while dramatically reducing computational overhead

AI/ML arXiv 3 Sep 2026 Method Prototype evidence

Published as “Flip, Don't Shuffle: Watermarking LLMs at the Speed of Inference”

Why it matters

The orders-of-magnitude speedup and negligible overhead make statistical watermarking practical for large-scale LLM deployments.

Summary

Stateless Bernoulli Watermarking (SBW) matches the detection guarantees of the prior KGW statistical watermark while reducing per-token cost to O(1). In production-scale benchmarks SBW adds less than 1% overhead at all batch sizes, achieving 2× lower latency than SynthID and over 6000× lower than KGW. The method also enables full-vocabulary self-salt watermarking and runs as a single fused GPU kernel with zero intermediate allocations. The evidence is based on experiments with Qwen3-8B on a single RTX 3090 and a public C4 prompt set.

What they found 1

  1. SBW adds less than 1% overhead at all batch sizes.

    “SBW adds less than 1% overhead at all batch sizes.”

Caveats 5

  • SBW-ss shows higher perplexity degradation at δ ≥5, with the gap growing substantially at aggressive configurations (Table 5).
  • The main experiments use a single GPU (RTX 3090) and model (Qwen3-8B); while we validate on an additional model and setup (Appendix F), broader evaluation across model families remains future work.
  • While we validate robustness across 19 attack configurations (Appendix G), we did not evaluate adaptive watermark-removal strategies or spoofing attacks; dedicated security analysis remains future work.
  • Our GPU implementation relies on compiler-generated Triton kernels via torch.compile; hand-tuned CUDA kernels with explicit memory coalescing and warp-level optimizations could further reduce latency, particularly at small batch sizes where kernel launch overhead dominates.
  • Finally, while the stateless formulation is architecturally compatible with distributed and multi-device inference (each device can independently compute identical green lists from the shared key), we have not empirically validated this in a tensor-parallel or pipeline-parallel deployment.

What’s new here 4

  • Per-token green-list membership is decided by independent Bernoulli trials, eliminating vocabulary shuffling.
  • Single-kernel, zero-allocation implementation that runs in O(1) time per token.
  • Supports full-vocabulary self-salt watermarking at production scale.
  • Identifies hash function design (Jenkins hash) as a factor affecting watermark calibration and text diversity.