Watermarking can quietly weaken hallucination detectors for API users who only see watermarked output. A simple prompt trick, asking each sample to start with a random code, restores self-consistency scores on short answers.
AUROC −.20 −.10 −.05 −.01 0 +.01 +.03 +.05
| TriviaQA | NQ-Open | PopQA | GSM-Plus | |||||||||||||||||
| under watermark | under watermark | under watermark | under watermark | |||||||||||||||||
| Scorer | Clean | KGW | DiP | SID | GS | Clean | KGW | DiP | SID | GS | Clean | KGW | DiP | SID | GS | Clean | KGW | DiP | SID | GS |
| Full access (key and unwatermarked probabilities ) | ||||||||||||||||||||
| Single generation, unwatermarked | ||||||||||||||||||||
| LNSP | .84 | −.004 | −.001 | −.005 | −.003 | .74 | −.000 | −.002 | −.002 | −.003 | .84 | −.001 | −.001 | −.002 | −.005 | .80 | −.006 | −.005 | −.001 | −.008 |
| Mean negentropy | .86 | −.009 | −.002 | −.004 | −.000 | .77 | −.005 | −.003 | −.001 | −.006 | .85 | −.014 | −.000 | −.012 | −.009 | .79 | −.011 | −.001 | −.001 | −.004 |
| Sampling, fresh keys | ||||||||||||||||||||
| Semantic entropy | .84 | −.012 | −.002 | −.003 | −.005 | .74 | −.005 | −.005 | −.004 | −.001 | .88 | −.002 | −.013 | −.012 | −.010 | .77 | −.023 | −.005 | −.003 | −.003 |
| EigV | .87 | −.010 | −.001 | −.004 | −.005 | .79 | −.009 | −.008 | −.001 | −.001 | .90 | −.006 | −.014 | −.006 | −.004 | .77 | −.021 | −.004 | −.011 | −.003 |
| Cosine similarity | .86 | −.011 | −.004 | −.009 | −.001 | .75 | −.007 | −.010 | −.001 | −.006 | .85 | −.013 | −.003 | −.001 | −.011 | .73 | −.027 | −.009 | −.010 | −.012 |
| Reflexive, unwatermarked | ||||||||||||||||||||
| .88 | −.005 | −.001 | −.005 | −.001 | .81 | −.005 | −.004 | −.014 | −.007 | .84 | −.009 | −.003 | −.000 | −.001 | .71 | −.031 | −.011 | −.036 | −.023 | |
| API access (text and watermarked probabilities ) | ||||||||||||||||||||
| Single generation, watermarked | ||||||||||||||||||||
| LNSP | .84 | −.003 | −.018 | −.079 | −.089 | .74 | −.003 | −.002 | −.048 | −.074 | .84 | −.002 | −.002 | −.026 | −.070 | .80 | −.007 | −.009 | −.078 | −.117 |
| Mean negentropy | .86 | −.006 | −.015 | −.078 | −.091 | .77 | −.010 | −.005 | −.061 | −.072 | .85 | −.013 | −.004 | −.030 | −.067 | .79 | −.010 | −.012 | −.047 | −.102 |
| Sampling, fixed key | ||||||||||||||||||||
| Semantic entropy | .84 | −.001 | −.016 | −.168 | −.123 | .74 | −.013 | −.003 | −.096 | −.086 | .88 | −.004 | −.008 | −.134 | −.100 | .77 | −.013 | −.003 | −.141 | −.147 |
| EigV | .87 | −.003 | −.023 | −.188 | −.135 | .79 | −.002 | −.006 | −.133 | −.103 | .90 | −.011 | −.008 | −.140 | −.092 | .77 | −.011 | −.004 | −.135 | −.142 |
| Cosine similarity | .86 | −.002 | −.025 | −.187 | −.131 | .75 | −.005 | −.001 | −.097 | −.080 | .85 | −.015 | −.009 | −.095 | −.068 | .73 | −.024 | −.009 | −.109 | −.139 |
| Sampling, echoed salts | ||||||||||||||||||||
| Semantic entropy | .84 | −.005 | −.005 | −.002 | −.002 | .73 | −.004 | −.007 | −.003 | −.004 | .87 | −.006 | −.001 | −.010 | −.009 | .78 | −.000 | −.006 | −.006 | −.000 |
| EigV | .87 | −.000 | −.004 | −.005 | −.003 | .80 | −.003 | −.000 | −.010 | −.004 | .90 | −.005 | −.006 | −.001 | −.001 | .77 | −.003 | −.003 | −.008 | −.003 |
| Cosine similarity | .86 | −.001 | −.002 | −.007 | −.002 | .75 | −.006 | −.007 | −.013 | −.004 | .86 | −.010 | −.002 | −.000 | −.006 | .76 | −.011 | −.002 | −.012 | −.013 |
| Reflexive, watermarked | ||||||||||||||||||||
| .88 | −.005 | −.094 | −.135 | −.023 | .81 | −.005 | −.084 | −.153 | −.029 | .84 | −.009 | −.098 | −.140 | −.022 | .71 | −.031 | −.069 | −.103 | −.026 | |
Going deeper
| GPT-6-luna | Grok-4.20 | |||||
|---|---|---|---|---|---|---|
| Scorer | None | WM | WM+salt | None | WM | WM+salt |
| Semantic entropy | .780 | .750 | .792 | .764 | .725 | .760 |
| Non-contradiction | .801 | .777 | .823 | .770 | .740 | .798 |
| EigV | .804 | .776 | .821 | .774 | .738 | .776 |
| Cosine similarity | .770 | .744 | .773 | .773 | .732 | .794 |
One way to tell whether a chatbot is guessing is to ask it the same question several times. If the answers agree, it probably knows; if they scatter, be wary. Now picture a chatbot that rolls loaded dice to stamp a hidden mark on its text, and uses the same dice set every time you ask.
With the same dice set, the repeated answers come out alike for reasons that have nothing to do with knowledge. The agreement test then says “confident” far too often, and it gets worse at telling right answers from wrong ones.
The fix is to make each ask start in a different place: tell the bot to open its reply with a random code, then cut the code off. The dice now roll differently each time, the answers scatter as they naturally would, and the agreement test works again, at least for short answers.
The abstract, word for word, with the five densest phrases unpacked.
Uncertainty quantification (UQ) methods detect hallucinations by assigning each LLM response a confidence score based on its token probabilities, self-consistency among sampled responses, or the model’s self-assessment. Regulation increasingly requires watermarking of LLM-generated text1, which changes how the model selects tokens and thereby alters the signals that UQ methods rely on. We evaluate UQ on watermarked LLMs and find that its performance can drop considerably when confidence scores are computed from watermarked token probabilities or from repeated generations that share the same watermark key2, two settings that users of commercial APIs may face. Under SynthID and GumbelSoft, mean AUROC over models and datasets decreases by 0.05–0.09 for token-probability-based scorers and by 0.10–0.15 for self-consistency scorers3. To recover the performance of self-consistency scorers, the conventional approach when token probabilities are unavailable, we propose echoed-salt generation4, a black-box method that prompts the model to begin each sampled response with a distinct random string and discards the string before scoring. Under four watermarking schemes on five open-weight LLMs, and under the deployed watermarks of two commercial LLMs, echoed-salt generation restores the AUROC of self-consistency scorers on four short-form datasets5 to within 0.01 of standard sampling without a watermark.
Two lines meet here: ways to score LLM uncertainty, and ways to watermark text.
Read five parts, in this order.
Skip Section 2 if you know UQ scorers and watermark schemes.
If the fix is weaker than it looks, these places show why.
Table 19 reports the results. Averaged over models, claim–response entailment with fresh keys has AUROC 0.798 without a watermark and between 0.789 and 0.793 under the four schemes. With the fixed key it has AUROC 0.795 without a watermark, 0.794 under KGW, 0.791 under DiPmark, 0.737 under SynthID and 0.755 under GumbelSoft. With echoed salts it has AUROC 0.789 without a watermark, 0.781 under KGW, 0.780 under DiPmark, 0.751 under SynthID and 0.760 under GumbelSoft. Under SynthID and GumbelSoft, salted entailment is therefore 0.040 and 0.029 below fresh-key entailment, and 0.014 and 0.005 above fixed-key entailment. Recovery varied by model. Under SynthID, salting recovered about half of the fixed-key loss in entailment for Qwen3-8B and Llama-3.1-8B, about a third for Nemotron-Nano-9B, and almost none for Gemma-4-12B and Phi-4. Under Gumbel-max sampling, salting raised entailment from 0.589 to 0.731, against 0.789 with fresh keys (Appendix K). The original responses, extracted claims and labels are shared by the three sampling conditions within a scheme, so these differences arise from the reference samples alone.
Echoed salts require the model to follow the instruction, and Llama-3.1-8B did so in as few as 78% of samples on TriviaQA, which reduces the effective number of samples. Salted samples are drawn from p(·midx,σi) rather than p(·midx). Without a watermark, this changed AUROC on the same original responses by at most 0.008 on average, but differences for individual models reached 0.152 on GSM-Plus, so the salt instruction is not neutral for every model and task. We generate all responses at temperature 1, and lower temperatures, which reduce entropy and with it the watermark’s leverage, may change the size of the effects we report. We applied salts only to consistency scorers, so the losses of P(True) from q under DiPmark, SynthID and GumbelSoft remain open for API users of a watermarked LLM. On long-form biographies, echoed salts recovered only part of the loss from key reuse, most under Gumbel-max sampling, because salted samples still share seeds beyond the salted positions (Appendix M).
We use grok-4.20-0309-non-reasoning through the xAI API with temperature 1, no reasoning tokens, and at most 512 completion tokens (544 for salted prompts), and we request no token probabilities. Every watermarked response carried the provider’s watermark header. We generate standard samples without the watermark and standard and echoed-salt samples with it. The model echoed the salt in at least 99.9% of salted samples for every dataset and condition. On GSM-Plus, 28 responses in each run reached the token limit. GSM-Plus has 77 correct original responses of 1,000 without the watermark and 89 with it. Its AUROC values are therefore less precise than those of the other datasets. Table 16 reports repetition and Table 18 reports AUROC with the per-dataset and average changes. We also generated salted samples without the watermark. Averaged over the four datasets, salting raised the AUROC of consistency scorers without the watermark by 0.029 to 0.052, and with salting on both sides the watermark lowered it by 0.021 to 0.037. Echoed salts with the watermark therefore reached the AUROC of standard sampling without it by combining a general gain from salting with a smaller remaining watermark effect. The watermarked and unwatermarked runs use separately generated original responses, and comparisons across them also reflect differences between the two sets of correctness labels. Comparisons within a run, such as salted against standard sampling without the watermark, share the same original responses. Under the watermark, the share of standard samples identical to the original response rose by at most 0.020 across datasets on Grok-4.20 (Table 16), compared with 0.113 on GPT-6-luna (Table 16).
Nothing on this page was recomputed. Every claim points to the paper so you can check it.
More latest news
Read all