SOLO: Towards Sample-Faithful and Detectable LLM Watermarking under Repeated Sampling via Content-Anchored Single-Owner Contexts

Zhongliang Guo, Yan Lin, Yifei Qian, Shuai Zhao, Luwei Xiao, Daizong Liu, Chun Pong LauarXiv 2026

TL;DR

When you ask a watermarked LLM for ten solutions to the same prompt—to vote on the best answer or gauge its confidence—a hidden bug can make all ten answers secretly copy each other. Standard "distortion-free" watermarks use deterministic math keyed to the last few words, meaning common formatting phrases like "Final answer:" force diverging reasoning paths back onto the exact same random seed. This paper introduces SOLO, a clever watermarking scheme that restores true independence across repeated samples while keeping single-key detection sharp and resilient to text edits.

What Problem Does This Paper Address?

Modern LLM providers embed invisible statistical watermarks during text generation to track provenance. The gold standard is distortion-free watermarking (deployed in production systems like SynthID-Text and vLLM), which replaces true sampling randomness with pseudorandomness derived from a secret key and the preceding $h$ tokens (say, the last 4 words). For a single generation, the output distribution is mathematically identical to an unwatermarked model.

Meanwhile, downstream applications routinely draw $K$ parallel responses per prompt—think self-consistency voting, best-of-$n$ scaling, and uncertainty estimation. All of these pipelines assume the $K$ samples are independent draws.

Here is the catch: when prompts enforce structured outputs (JSON fields, "The answer is", etc.), sibling responses inevitably hit identical runs of words right before the final answer. The authors call these template funnels. Even if two responses reasoned differently, hitting the same 4-token funnel feeds the exact same context and key into the pseudorandom generator, snapping their final answers into lockstep!

Figure 1: Overview. (a) A fixed key couples the re- sponses at the answer. (b) Exact remedies pay at detec- tion. (c) SOLO keeps them independent with one key.

Existing fixes force an ugly trade-off:

  • Key pools give each sibling a different key, restoring independence, but the detector must test every key in the pool—paying a steep statistical penalty for multiple hypothesis testing.
  • Shared context histories track used 4-token contexts across the whole batch and fall back to true, unwatermarked randomness on collisions. Because siblings share lots of local phrases, the watermark gets heavily diluted.

Methods

SOLO solves this by combining a standard batch-level safeguard with two novel context-design tricks:

  1. Single-Owner Contexts (Standard foundation): Across all $K$ responses in a request, SOLO maintains a shared history of claimed contexts. The first sibling to hit a context gets the keyed watermark; any sibling hitting it later falls back to true randomness. This mathematically guarantees that the $K$ responses are jointly independent ($K$-sample distortion-free) using just one key.
  2. Content-Anchored Contexts (New): To prevent siblings from constantly colliding on common phrases and diluting the watermark, SOLO shrinks the immediate local context to the last 2 tokens and appends two anchors drawn from further back in the response (windows of $[t-12, t-2)$ and $[t-32, t-12)$ tokens). Two siblings now collide only if they share both the immediate phrase and the same earlier content anchors.
  3. Min-Hash Anchor Selection (New): Picking anchors at fixed distances (e.g., "exactly 20 tokens ago") is brittle—inserting or deleting one word shifts every subsequent index and ruins the watermark. Instead, SOLO picks the token in each window with the smallest hash value (min-hash). Because the minimum hash in a window rarely changes when a single word enters or leaves, random text edits stay local!
Figure 2: SOLO. Step 1: the keyed context is the last two tokens and two min-hash anchors. Step 2: a context owned by a sibling gets true randomness. Step 3: single-key detection.

Datasets

SOLO requires no training; it operates purely at decoding and detection time. The authors evaluate it across five open-weight models (Qwen2.5 7B/14B, Olmo-3 7B, and Ministral-3 8B/14B) on three established public benchmarks—no new datasets are introduced:

  • GSM8K (600 held-out math word problems)
  • MATH-500 (500 competition math problems)
  • TriviaQA (600 held-out trivia questions)

Prompts are tested across plain/Chain-of-Thought formats and structured JSON formats, totaling 26 model-task-format combinations.

Key Insights and Ideas

  • Prompt tweaks cannot fix late funnels: Adding random nonces to prompts or leaving the first few tokens unwatermarked fails because deterministic answer templates re-synchronize responses right at the finish line.
  • Injecting partial randomness leaves coupling behind: Schemes like dual-key routing (randomly picking between two keys per token) still leave at least 50% of the fixed-key collision rate intact (82% under vLLM's default setting).
  • Specificity beats dilution without sacrificing edit locality: Min-hash anchors give each response a unique "fingerprint" from its earlier reasoning—raising the fraction of watermarked tokens from 53% to 68% on JSON GSM8K—while losing only ~5.9 token positions per insertion/deletion (nearly matching standard 4-token contexts at 4.4, versus 27.0 for fixed-distance anchors).

Key Results

  • Catastrophic failure of defaults: Under vLLM's default fixed-key watermark on TriviaQA (Qwen2.5-7B, $K=10$), 99.9% of requests return ten identical short answers. Vote-share AUROC for predicting correctness plummets from 83% to 50%—no better than a coin flip.
  • Faithful repeated sampling: Across all 26 test combinations, SOLO passes strict admissibility checks for preserving majority-vote accuracy (maj@10, staying within 0.2 points on average on TriviaQA vs. a 6.1-point drop for fixed keys), pass@10 coverage, and semantic-entropy AUROC.
  • Superior detection: At a calibrated 1% false positive rate (FPR), SOLO detects significantly more clean watermarked responses than 10-key stratified pools on 21 of 26 combinations (by up to +8.9 percentage points) and beats standard 4-token context histories on 20 of 26.
  • Edit robustness & speed: After randomly inserting/deleting 10% of tokens, SOLO still significantly outperforms stratified keys on 21 of 26 combinations. Detection takes just 2.17 ms per 250-token response on one CPU thread—nearly 7$\times$ faster than testing a 10-key stratified pool (14.64 ms).

Limitations and Future Work

  • Scale and task scope: Experiments were limited to open instruction-tuned models up to 14B parameters with up to $K=10$ samples at temperature 1. Evaluating larger frontier models and code generation with execution-based selection remains open.
  • Request-scoped guarantees: Independence is guaranteed within a single request's $K$ responses; separate requests still share the provider's key. Extending single-owner state across requests is a natural next step.
  • Adversarial edits: The experiments used a public hash function to pick min-hash anchors. An adversary who knows this hash could deliberately insert "minimum-hash" tokens to disrupt windows; real deployments should cryptographically key the anchor hash alongside the main watermark key.

Summary updated

Abstract

Providers watermark the outputs of large language models, while applications sample many responses per prompt for self-consistency, best-of-n selection, and uncertainty estimation. We show that deployed configurations of distortion-free watermarks, which deduplicate keyed contexts only within a response, couple the responses of a request: answer templates make all responses query the watermark with the same context before the answer, so collisions across responses, usually assumed rare, become the norm. Key pools reduce or avoid the coupling at the cost of multiple testing, and the exact remedy of a context history shared across the request leaves many positions unwatermarked. We propose SOLO, which keeps a request-scoped context history but anchors its keyed contexts on content selected by min-hash, so that siblings rarely compete for a context and random edits stay local. Its responses are jointly distributed as independent unwatermarked responses, each detectable with a single key. On five language models from three families and three benchmarks, SOLO preserves self-consistency and uncertainty estimation and, at a 1% false positive rate, detects more responses than four-token key pools on most tasks, also after randomly editing 10% of the tokens, and more than the context history on most clean tasks. Code is available at https://github.com/ZhongliangGuo/solo-watermark.
BibTeX
@misc{guo2026solo,
  author = {Zhongliang Guo and Yan Lin and Yifei Qian and Shuai Zhao and Luwei Xiao and Daizong Liu and Chun Pong Lau},
  title = {{SOLO: Towards Sample-Faithful and Detectable LLM Watermarking under Repeated Sampling via Content-Anchored Single-Owner Contexts}},
  year = {2026},
  eprint = {2611.34190},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.34190},
}
Figure