TL;DR for operators
A retrieval-augmented generation system can find the correct evidence and still produce an incorrect fact after watermarking is enabled. In controlled experiments, KGW watermarking caused a 12.9-percentage-point net factual accuracy decrease on LLaMA 3.1 8B at a watermark detection rate of 90%, with false positives fixed at 1%.
The problem comes from both altered token selection and the accumulated influence of earlier watermarked words. Researchers developed two complementary interventions that reduced this additional net accuracy loss to 0.9 percentage points at the same detection target, a 93.0% relative reduction.
For enterprises deploying watermarked RAG, provenance detection and factual preservation need separate acceptance tests. The interventions offer promising implementation options, but stronger watermarking still produces substantial residual errors, and the study does not validate production performance.
The source was correct. The generated answer was not.
Imagine a company generating answers from its internal documents. The retrieval system identifies the correct reference number, date, or contractual amount. Without watermarking, the model reproduces it accurately.
The company then enables watermarking to make AI-generated content identifiable. The answer remains fluent, but a factual detail changes.
This is the failure investigated by Haocheng Ye and colleagues in Invisible Ink, Visible Lies: How Production Watermarking Causes LLMs to Hallucinate.1
Their experiments show that a mechanism intended to establish output provenance can itself reduce factual reliability. Under KGW watermarking on LLaMA 3.1 8B, the additional net factual accuracy loss reaches 12.9 percentage points at 90% watermark detection and 22.3 points at 98% detection.
The distinction matters because detecting AI-generated text does not establish that the text accurately preserves its sources.
Even ordinary language-quality metrics can miss the problem. In one illustrative benchmark example, the supporting context identifies a case as Doe v. Smith. The watermarked output changes it to Doe v. Smithson, yet receives a lower perplexity score than the correct answer: 3.31 versus 4.17.
The example is illustrative, not an independently verified legal precedent. Its measurement lesson is nevertheless clear: a linguistically probable answer can contain the wrong entity.
Paired generation isolates the factual cost of watermarking
The researchers construct 1,000 context-grounded evaluation items from Wikipedia passages associated with Natural Questions. The benchmark contains 250 items each involving numerical, identifier, temporal, and qualitative facts.
For each item, they compare clean and watermarked generations while holding the prompt, supporting context, sampling configuration, and random-seed schedule constant.
Their central measure, net factual accuracy decrease, counts correct-to-incorrect transitions and subtracts incorrect-to-correct transitions. It measures the additional net accuracy loss associated with watermarking, not the model’s overall hallucination rate.
They evaluate six primary watermarking methods across three instruction-tuned model families, calibrating each configuration to comparable watermark-detection performance.
At TPR@1%FPR = 0.90, a detector recognizes 90% of watermarked outputs while incorrectly flagging 1% of unwatermarked outputs. Comparing methods at this operating point helps separate factuality differences from unequal detection strength.
On LLaMA 3.1 8B, all six methods show positive net factual accuracy decreases. Their magnitudes vary considerably: SWEET reaches 15.0 percentage points, KGW 12.9, GumbelSoft 8.3, DiPmark 6.8, Gumbel-Max 3.7, and SynthID-style watermarking 2.7.
These are controlled main-experiment comparisons, not rankings of deployed watermarking products. They demonstrate that watermark design affects the factuality cost even when measured detectability is comparable.
The damage can accumulate before the next factual token
A decoding-time watermark influences how the model selects tokens. The paper separates two interacting mechanisms.
Direct token perturbation occurs when the watermarking rule changes token-selection scores or sampling decisions. An incorrect date or identifier can become preferable to the evidence-supported alternative, particularly when the correct token has only a small score advantage.
Prefix-induced drift is more persistent. Autoregressive generation conditions each new token on previously generated text. If watermarking changes earlier words, subsequent model predictions operate on a different history.
The researchers observe reduced attention to fact-bearing context tokens even when direct watermark perturbation of the current factual token is disabled. They measure attention assigned to the positions containing supporting evidence, using that quantity as an observable indicator of evidence use.
This attention measurement supports a prefix-mediated mechanism, although it does not completely explain the model’s internal reasoning.
Generation position compounds the concern. In the KGW position experiment, prefix-related residual error becomes the dominant component after approximately 70 generated tokens. That threshold is an experimental observation, not a universal limit for safe generation.
Consequently, protecting only the final factual word may be insufficient. Earlier watermark decisions can already have weakened the generation trajectory’s connection to its evidence.
Protecting factual tokens and restoring attention
The authors introduce two interventions targeting these distinct mechanisms.
Fact-Preserving Token Intervention (FPTI) identifies fact-bearing tokens from the supporting context and excludes them from direct watermark score perturbations. Other tokens remain eligible for watermarking.
Fact-Preserving Attention Intervention (FPAI) increases attention logits at input positions containing relevant evidence. The compensation strength is calibrated using the watermark score of the generated prefix and its relative generation position.
The interventions are complementary: FPTI protects factual output-token selection, while FPAI addresses declining attention to factual input context.
The main intervention results show substantial improvement under matched detectability.
| KGW configuration | Net factual loss at 90% detection | At 98% detection |
|---|---|---|
| Watermark only | 12.9 pp | 22.3 pp |
| With FPTI | 2.4 pp | 8.7 pp |
| With FPTI + FPAI | 0.9 pp | 6.3 pp |
Source: Section 5.1, Table 1. LLaMA 3.1 8B; detection measured at 1% false-positive rate. Lower values are better.
At 90% detection, FPTI alone reduces KGW’s additional net factuality loss by 81.4%. Combining the interventions produces a 93.0% relative reduction, while measured decoding speed changes only from 1.48 to 1.46 tokens per second.
In the paper’s comparison experiment, the joint approach also outperforms the evaluated general hallucination-mitigation methods: DoLa leaves 9.6 percentage points of net loss, and DeCoRe leaves 3.2.
These comparisons favor interventions designed for the identified watermark mechanisms. They do not show that the combined intervention eliminates 93% of all hallucinations or achieves 99.1% absolute factual accuracy.
Stronger detection still carries a factuality cost
The remaining 6.3-percentage-point loss at 98% KGW detection is particularly relevant to deployment decisions.
It shows that reducing the incremental damage at one detection setting does not guarantee comparable preservation at stronger settings.
The paper’s illustrative failure cases also show that severe earlier prefix corruption may prevent the interventions from reconstructing all required facts. Once the generation has diverged substantially, local token protection and attention compensation may recover some information without restoring a complete correct answer.
The authors find improvements across all six primary watermarking methods and three model families, with additional appendix experiments documenting factuality losses for Unbiased Watermark, TextSeal, and MorphMark.
These additional method tests broaden the evidence that watermarking-related factual degradation is not confined to one algorithm. They do not remove the need to test the particular implementation and detection strength an organization intends to use.
Turn factual preservation into a release criterion
For an enterprise RAG provider, the research suggests a concrete change to watermark qualification.
Before activating watermarking, the provider can construct paired factuality regression tests using the same queries and retrieved evidence under clean and watermarked decoding. Both configurations should be evaluated at the intended inference settings, while watermarking alternatives are compared at matched detection performance.
Those tests should separately track changes to dates, amounts, identifiers, and named entities. They should also examine factuality by generation position, because longer answers can accumulate prefix-related errors.
Where inference infrastructure exposes token scores and attention logits, FPTI and FPAI offer possible mitigation components. Their integration requirements are material: FPTI depends on sufficiently accurate factual-span extraction, while FPAI requires internal attention access and held-out calibration.
For providers using restricted inference APIs, those requirements may rule out direct implementation without architectural changes.
The evidence also defines the limits of the recommendation. The experiments use curated Wikipedia-based contexts, selected fact categories, and three open-weight model families. Factuality labels rely on structured matching with sampled manual verification. The study does not measure downstream consequences or establish equivalent reliability in deployed financial, legal, or clinical workflows.
A company should therefore qualify watermarking against its own factual-error tolerance, document lengths, and detection requirements rather than adopting the paper’s reduction percentage as a production guarantee.
Provenance and factual correctness need separate evidence
Watermarking can help identify the origin of generated content. This study establishes that its decoding mechanism can also change what that content says, even when the supporting evidence is correct.
Targeted token protection and attention compensation substantially reduce that effect under tested conditions. Strong detection requirements and severely altered generation histories remain meaningful boundaries.
The resulting evaluation standard is straightforward: a watermark should be assessed not only by whether it remains detectable, but also by whether the facts survive its introduction.
Cognaptus: Automate the Present, Incubate the Future.
-
Haocheng Ye and Aoting Hu and Xinwei Zhang and Xunzhu Tang and Shuchao Pang and Jason Xue (2026). Invisible Ink, Visible Lies: How Production Watermarking Causes LLMs to Hallucinate. arXiv:2610.04860. https://arxiv.org/abs/2610.04860 ↩︎