Take It with a Grain of Salt: When Watermarking Undermines Uncertainty Quantification for LLMs
Abstract
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 text, 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 key, 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 scorers. To recover the performance of self-consistency scorers, the conventional approach when token probabilities are unavailable, we propose \emph{echoed-salt generation}, a black-box method that prompts the model to begin each sampled response with a distinct random string and discards the string before scoring. Across four watermarking schemes, five open-weight LLMs and four short-form datasets, echoed-salt generation restores the AUROC of self-consistency scorers to within 0.01 of standard sampling without a watermark and recovers most of the lost AUROC on two commercial LLMs.
Additional Features