SOLO: Towards Sample-Faithful and Detectable LLM Watermarking under Repeated Sampling via Content-Anchored Single-Owner Contexts
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.
Figures & tables
| TriviaQA | TriviaQA, CoT | TriviaQA, JSON | GSM8K | GSM8K, JSON | |||||||||||
| Watermark | Ident. (%) | maj@10 (%) | AUROC (%) | Ident. (%) | maj@10 (%) | AUROC (%) | Ident. (%) | maj@10 (%) | AUROC (%) | Ident. (%) | maj@10 (%) | AUROC (%) | Ident. (%) | maj@10 (%) | AUROC (%) |
| Unwatermarked | 36 | 57.1 | 83 | 2 | 63.5 | 87 | 0 | 59.3 | 85 | 0 | 92.8 | 89 | 0 | 92.8 | 91 |
| Gumbel (default) | 100 | 54.7 | 50 | 88 | 59.4 | 52 | 99 | 54.4 | 50 | 8 | 90.7 | 82 | 23 | 88.3 | 76 |
| Gumbel, dedup all | 36 | 57.2 | 83 | 20 | 60.2 | 78 | 91 | 54.2 | 52 | 1 | 92.8 | 87 | 3 | 88.7 | 85 |
| Gumbel + prompt nonce | 81 | 53.6 | 62 | 41 | 59.3 | 68 | 42 | 54.1 | 69 | 2 | 90.8 | 87 | 4 | 89.2 | 84 |
| Dual-key, | 69 | 55.6 | 69 | 24 | 60.6 | 76 | 12 | 53.7 | 78 | 0 | 91.2 | 87 | 0 | 90.9 | 91 |
| vLLM | GumbelSoft | Tournament | Key pools | Request-scoped history | ||||||
| Model | Task | Fixed key | Dedup all | SynthID-Text | Random | Stratified | Context history | SOLO | ||
| Qwen2.5-7B | GSM8K | 30.6 ∗ | 29.3 ∗ | 33.3 † | 32.1 † | 19.3 ∗ | 14.3 † | 16.2 | 15.6 | 21.9 |
| GSM8K, JSON | 51.6 ∗ | 51.4 ∗ | 53.5 † | 52.8 † | 42.1 ∗ | 29.1 † | 33.1 | 28.6 | 37.1 | |
| MATH-500 | 34.5 ∗ | 34.3 ∗ | 35.7 † | 35.2 † | 22.7 ∗ | 16.0 † | 17.5 | 18.3 | 20.8 | |
| MATH-500, JSON | 83.4 ∗ | 83.6 ∗ | 84.9 ∗ | 84.6 ∗ | 74.4 ∗ | 68.4 ∗ | 71.3 | 69.7 | 74.3 | |
| TriviaQA, CoT | 15.6 ∗ | 13.6 ∗ | 15.1 ∗ | 14.8 ∗ | 8.3 ∗ | 7.6 † | 8.6 | 9.0 | 10.2 | |
| Watermark | One resp. | resp. | Keys | Dilution |
| Fixed key | ✓ | 1 | none | |
| Dedup all | ✓ | 1 | none | |
| GumbelSoft | 1 | none | ||
| SynthID-Text | ✓ | 1 | none | |
| Random keys | ✓ | 16 | none | |
| Stratified keys | ✓ | ✓ | 10 | none |
| Watermark | Rule (of 26) | Adm. (of 5) | Ident. (%) | Infl. (%) | SE | maj @10 | cov. |
| Fixed key | 1 | 0 | 67.2 | +85.4 | 27.8 | 6.1 | 8.2 |
| Dedup all | 4 | 0 | 15.5 | +60.8 | 17.1 | 4.9 | 5.7 |
| GumbelSoft ( ) | 11 | 0 | 3.9 | +14.0 | 3.7 | 4.2 | 1.9 |
| GumbelSoft ( ) | 11 | 0 | 9.6 | +30.9 | 6.7 | 4.8 | 2.9 |
| SynthID-Text | 1 | 0 | 27.1 | +43.8 | 9.2 | 3.7 | 4.4 |
| Random keys | 16 | 1 | 0.9 | +4.8 | 0.2 | 1.6 | 0.6 |
| GSM8K, JSON | |||||
| Variant | maj | AUROC | Clean | Subst. | Ins./del. |
| SOLO | 37.1 | 14.6 | 17.6 | ||
| w/o anchors | 18.4 | 10.5 | 11.5 | ||
| w/o single owner | 55.7 | 24.9 | 28.6 | ||
| one window | 26.2 | 12.4 | 15.2 | ||
| 30.8 | 13.5 | 15.6 | |||
Appendix figures & tables21 assets
Supplementary material from the paper’s appendix.
Appendix
| Claim | Decisive comparison | Scope | Evidence |
| RQ1: revisiting watermarks under repeated sampling | |||
| Deployed fixed-key watermarks couple the responses of a request at template funnels | Identical responses, maj@10, and vote-share AUROC against unwatermarked sampling, plus agreement inflation against marker length | vLLM 0.30 with two models on TriviaQA and GSM8K | Section 4.1 , Tables 1 and 6 , Appendices B and I |
| Inexact remedies leave part of the coupling | of Theorem 2 , a toy simulation, and dual-key routing on real requests | Toy model and vLLM 0.30 | Section 4.2 , Table 1 , Appendices B , D and E |
| Exact remedies lose detection power | TPR of stratified keys against the fixed key, and TPR of the context history against stratified keys | Held-out GSM8K | Sections 4.3 and 4.3 , Table 2 |
| RQ2: faithful and detectable | |||
| SOLO is -sample distortion-free | Theorem 3 and the admissibility rule on every task | 26 combinations | Sections 6 and 7.2 , Table 4 , Appendices K and L |
| Model | GSM8K | GSM8K, JSON | MATH-500 | MATH-500, JSON | TriviaQA, CoT | TriviaQA, JSON |
| Qwen2.5-7B | 4.6 | 0.4 | 8.4 | 0.9 | 0.1 | 0.0 |
| Olmo-3-7B | 17.6 | 1.5 | – | 4.4 | 3.1 | 1.9 |
| Ministral-3-8B | 12.8 | 5.6 | – | 26.4 | 2.7 | 3.2 |
| Qwen2.5-14B | 6.6 | 0.3 | – | 0.2 | 0.6 | 0.0 |
| Ministral-3-14B | 12.4 | 5.0 | – | 24.3 | 2.0 | 2.7 |
| GSM8K, JSON | GSM8K | |||||||||
| Variant | maj | AUROC | Clean | Subst. | Ins./del. | maj | AUROC | Clean | Subst. | Ins./del. |
| SOLO ( , two windows) | 37.1 | 14.6 | 17.6 | 21.9 | 8.7 | 9.2 | ||||
| w/o anchors | 18.4 | 10.5 | 11.5 | 9.1 | 5.4 | 5.6 | ||||
| w/o single-owner contexts | 55.7 | 24.9 | 28.6 | 35.0 | 13.2 | 15.1 | ||||
| one window | 26.2 | 12.4 | 15.2 | 14.0 | 6.8 | 7.5 | ||||
| 30.8 | 13.5 | 15.6 | 17.1 | 6.6 | 8.2 | |||||
| Model | Task | Stratified keys | Random keys | Context history |
| Qwen2.5-7B | GSM8K | +5.6 [+3.4, +8.1] | +7.5 [+5.2, +9.9] | +6.2 [+4.2, +8.2] |
| GSM8K, JSON | +4.1 [+1.6, +6.8] | +8.0 [+5.6, +10.3] | +8.6 [+5.6, +12.0] | |
| MATH-500 | +3.3 [+1.8, +4.9] | +4.8 [+3.2, +6.4] | +2.5 [+0.7, +4.0] | |
| MATH-500, JSON | +3.0 [+0.7, +5.4] | +5.9 [+4.1, +7.7] | +4.6 [+2.0, +7.0] | |
| TriviaQA, CoT | +1.6 [+0.3, +2.8] | +2.6 [+1.3, +3.5] | +1.2 [ 0.1, +2.3] | |
| TriviaQA, JSON | +3.5 [+1.5, +5.4] | +3.6 [+1.9, +5.3] | +2.3 [+0.6, +4.3] |
| Model | Task | Stratified keys | Random keys | Context history |
| Qwen2.5-7B | GSM8K | +3.4 [+2.2, +4.9] | +4.5 [+3.4, +5.8] | +1.3 [ 0.3, +3.0] |
| GSM8K, JSON | +2.8 [+0.6, +4.9] | +4.1 [+2.4, +5.8] | +1.7 [+0.1, +3.3] | |
| MATH-500 | +2.4 [+1.1, +3.8] | +3.2 [+2.1, +4.5] | +0.8 [ 0.4, +2.0] | |
| MATH-500, JSON | +3.2 [+1.1, +6.0] | +5.9 [+2.3, +9.7] | 1.2 [ 3.4, +1.3] | |
| TriviaQA, CoT | +0.3 [ 1.2, +1.7] | +0.8 [+0.1, +1.9] | 0.1 [ 1.1, +0.8] | |
| TriviaQA, JSON | +0.7 [ 0.5, +1.8] | +0.9 [+0.0, +1.9] | 0.3 [ 1.4, +0.9] |
| Model | Task | Stratified keys | Random keys | Context history |
| Qwen2.5-7B | GSM8K | +3.6 [+2.6, +4.6] | +4.2 [+3.2, +5.4] | +1.4 [+0.2, +2.7] |
| GSM8K, JSON | +4.1 [+2.5, +6.1] | +6.5 [+4.9, +8.6] | +3.3 [+1.6, +5.0] | |
| MATH-500 | +2.2 [+1.0, +3.7] | +3.6 [+2.4, +4.9] | +1.2 [ 0.3, +3.0] | |
| MATH-500, JSON | +6.5 [+4.4, +8.4] | +9.0 [+6.7, +11.1] | +2.3 [+0.1, +4.6] | |
| TriviaQA, CoT | +0.7 [ 0.0, +1.3] | +1.3 [+0.7, +2.1] | +0.3 [ 0.5, +1.1] | |
| TriviaQA, JSON | +1.5 [+0.7, +2.2] | +2.1 [+1.4, +2.8] | +0.6 [ 0.4, +1.5] |
| 1% | 0.1% | 0.01% | ||||||
| Model | Task | SOLO | Opp. | SOLO | Opp. | SOLO | Opp. | Opponent |
| Qwen2.5-7B | GSM8K | 19.7 (0.73) | 15.7 (0.93) | 9.0 (0.06) | 7.7 (0.10) | 4.8 (0.01) | 4.3 (0.01) | Stratified keys |
| GSM8K, JSON | 33.8 (0.74) | 33.4 (1.12) | 19.0 (0.09) | 20.0 (0.08) | 11.5 (0.02) | 12.6 (0.02) | Stratified keys | |
| MATH-500 | 22.8 (1.29) | 17.9 (0.91) | 11.7 (0.16) | 8.1 (0.10) | 6.3 (0.01) | 3.9 (0.00) | Context history | |
| MATH-500, JSON | 73.7 (0.87) | 72.3 (1.23) | 61.1 (0.13) | 61.1 (0.14) | 51.0 (0.01) | 52.3 (0.02) | Stratified keys | |
| TriviaQA, CoT | 13.0 (2.56) | 12.7 (3.09) | 6.6 (0.42) | 6.3 (0.50) | 3.7 (0.04) | 3.7 (0.06) | Context history | |
| Qwen2.5-14B-Instruct (GSM8K, JSON) | Ministral-3-8B-Instruct (GSM8K, JSON) | |||||||||
| Variant | maj | AUROC | Clean | Subst. | Ins./del. | maj | AUROC | Clean | Subst. | Ins./del. |
| SOLO ( , two windows) | 32.8 | 13.6 | 14.7 | 48.0 | 24.8 | 26.3 | ||||
| w/o anchors | 14.0 | 8.9 | 9.4 | 29.5 | 21.4 | 22.4 | ||||
| w/o single-owner contexts | 51.1 | 22.6 | 25.3 | 68.1 | 40.6 | 43.5 | ||||
| one window | 21.2 | 10.6 | 12.7 | 38.4 | 21.7 | 24.4 | ||||
| 24.6 | 10.3 | 12.7 | 41.2 | 21.4 | 24.1 | |||||
| Watermark | gen. time (%) | Detection (ms) | Detection ( fixed key) |
| Fixed key | 7.3 | 1.45 | 1.0 |
| Dedup all | 5.6 | 1.52 | 1.0 |
| GumbelSoft ( ) | +3.9 | 1.50 | 1.0 |
| GumbelSoft ( ) | +1.2 | 1.50 ‡ | 1.0 |
| SynthID-Text | +15.5 | 1.59 | 1.1 |
| Random keys | +2.4 | 23.40 | 16.2 |
| Task | Watermark | maj | AUROC [95% CI] | Ident. | Infl. (%) [95% CI] | cov. | Adm. |
| GSM8K | Fixed key | [ , ] | 4.2 | [ , ] | no | ||
| Dedup all | [ , ] | 1.7 | [ , ] | no | |||
| GumbelSoft ( ) | [ , ] | 0.0 | [ , ] | yes | |||
| GumbelSoft ( ) | [ , ] | 0.0 | [ , ] | yes | |||
| SynthID-Text | [ , ] | 1.1 | [ , ] | no | |||
| Random keys | [ , ] | 0.0 | [ , ] | yes |
| Task | Watermark | maj | AUROC [95% CI] | Ident. | Infl. (%) [95% CI] | cov. | Adm. |
| GSM8K | Fixed key | [ , ] | 11.4 | [ , ] | no | ||
| Dedup all | [ , ] | 0.6 | [ , ] | yes | |||
| GumbelSoft ( ) | [ , ] | 0.0 | [ , ] | yes | |||
| GumbelSoft ( ) | [ , ] | 0.0 | [ , ] | yes | |||
| SynthID-Text | [ , ] | 2.8 | [ , ] | no | |||
| Random keys | [ , ] | 0.0 | [ , ] | yes |
| Task | Watermark | maj | AUROC [95% CI] | Ident. | Infl. (%) [95% CI] | cov. | Adm. |
| GSM8K | Fixed key | [ , ] | 3.8 | [ , ] | no | ||
| Dedup all | [ , ] | 0.1 | [ , ] | no | |||
| GumbelSoft ( ) | [ , ] | 0.0 | [ , ] | yes | |||
| GumbelSoft ( ) | [ , ] | 0.0 | [ , ] | yes | |||
| SynthID-Text | [ , ] | 0.1 | [ , ] | no | |||
| Random keys | [ , ] | 0.0 | [ , ] | yes |
| Task | Watermark | maj | AUROC [95% CI] | Ident. | Infl. (%) [95% CI] | cov. | Adm. |
| GSM8K | Fixed key | [ , ] | 0.7 | [ , ] | no | ||
| Dedup all | [ , ] | 0.0 | [ , ] | yes | |||
| GumbelSoft ( ) | [ , ] | 0.0 | [ , ] | yes | |||
| GumbelSoft ( ) | [ , ] | 0.1 | [ , ] | yes | |||
| SynthID-Text | [ , ] | 0.1 | [ , ] | no | |||
| Random keys | [ , ] | 0.0 | [ , ] | yes |
| Task | Watermark | maj | AUROC [95% CI] | Ident. | Infl. (%) [95% CI] | cov. | Adm. |
| GSM8K | Fixed key | [ , ] | 3.1 | [ , ] | no | ||
| Dedup all | [ , ] | 0.2 | [ , ] | yes | |||
| GumbelSoft ( ) | [ , ] | 0.0 | [ , ] | yes | |||
| GumbelSoft ( ) | [ , ] | 0.0 | [ , ] | yes | |||
| SynthID-Text | [ , ] | 0.1 | [ , ] | no | |||
| Random keys | [ , ] | 0.0 | [ , ] | yes |
| Model | Task | None (%) | Fixed key | Dedup all | GumbelSoft ( ) | GumbelSoft ( ) | SynthID-Text | Random keys | Stratified keys | Context history | SOLO |
| Qwen2.5-7B | TriviaQA, CoT | 85.7 | ∗ | ∗ | ∗ | ∗ | ∗ | ||||
| TriviaQA, JSON | 84.6 | ∗ | ∗ | ∗ | ∗ | ∗ | |||||
| Olmo-3-7B | TriviaQA, CoT | 84.4 | ∗ | ∗ | ∗ | ∗ | ∗ | ||||
| TriviaQA, JSON | 86.6 | ∗ | ∗ | ∗ | ∗ | ∗ | |||||
| Ministral-3-8B | TriviaQA, CoT | 86.7 | ∗ | ∗ | ∗ | ∗ | ∗ | ||||
| TriviaQA, JSON | 87.1 | ∗ | ∗ | ∗ | ∗ | ∗ |
LLM Watermarking
Large language model watermarking embeds or detects signals in text and models to trace provenance, ownership, and unauthorized use.
See all 125 papers