A watermark for language-model text is a hidden statistical signal added while the model writes. It usually works by nudging the model toward a secret, pseudo-randomly chosen subset of words, so that a detector holding the secret key can later count how often the text lands in that subset. The newer "semantic" watermarks tie the secret subset to meaning rather than to exact words, which lets them survive paraphrasing. We argue these watermarks have a blind spot that matters most in medicine: register shift, meaning a rewrite that keeps the meaning but swaps expert terms for lay ones ("myocardial infarction" becomes "heart attack", "hypertension" becomes "high blood pressure"). This is the vocabulary-mismatch problem from information retrieval, where the same concept goes by lexically unrelated names, now turned against provenance. A patient-facing rewrite is the most natural thing anyone does to a clinical answer, and it happens to be an attack.
The proposal is to build the watermark's units and its meaning space from medical-domain embeddings that have been explicitly aligned across lay and expert registers. The watermark then marks which concept is expressed and leaves alone which word expresses it. Two things should follow. Detection should survive lay-expert rewrites. The model should also be free to emit the exact technical term, which is the property current watermarks break when they perturb low-entropy medical tokens.
Core Claim
Cluster-based semantic watermarks such as PASA and Context-aware Watermark with Semantic Balanced Green-red Lists are only as robust as their clusters. An attacker's substitution preserves the signal when it stays inside a cluster and destroys it when it crosses one. Both methods partition the vocabulary with general-domain embeddings. PASA partitions subword tokens into $K$ disjoint clusters, and Guo et al. balance green lists across general clusters. In general-domain spaces, lay and expert names for one clinical concept, and common words with technical senses ("culture", "cell", "positive"), are not guaranteed to fall together. Medical multi-token terms are also split into subwords that land in unrelated clusters.
We claim three things. First, register-shift rewriting moves a large fraction of concept-bearing units across general-domain cluster boundaries. Second, that fraction, not the raw token edit rate, predicts detection loss. Third, aligning the clusters across registers with domain-specific embeddings, and marking whole term spans instead of subwords, restores detection without the terminology damage documented by Factuality Beyond Coherence and Marking the Wrong Symptoms.
The second claim can be made quantitative with the information-theoretic analysis in Catch-22. That paper shows the usable divergence budget of a watermark shrinks roughly as $(1-\epsilon)^2$ under edit rate $\epsilon$. We hypothesize that for cluster-level watermarks the relevant rate is the cluster-crossing rate:
$$\epsilon_{\text{eff}} = \frac{1}{N}\sum_{i=1}^{N} \mathbb{I}\big(c(u_i) \neq c(u_i')\big),$$
where $u_i$ is the $i$-th concept unit in the original text, $u_i'$ its aligned counterpart after rewriting, $c(\cdot)$ the cluster assignment, and $N$ the number of units. A lay-expert rewrite can have a high token edit rate but a low $\epsilon_{\text{eff}}$ if the clusters are register-aligned. Under our hypothesis, that is exactly the case where aligned clusters should win.
How This Differs From the Closest Work
The two medical evaluation papers motivate the work, but they are purely diagnostic.
Factuality Beyond Coherence evaluates six watermarks on HealthQA and MeQSum. It finds factuality degradation of 3–37% and new disease entities in 11–13% of outputs, because watermarks perturb low-entropy terminology tokens. It calls for "domain-aware" watermarks but builds none.
Marking the Wrong Symptoms finds the same blindness on MedQA. For example, the faulty-but-correct rate on PHI-4-14B with SynthID rises from 11.4% to 26.3%. Neither paper tests robustness to rewriting at all, and neither tests semantic watermarks.
The method papers each leave a different gap.
WatME is the closest in spirit: it uses synonym clusters from WordNet or LLM prompting to keep one valid synonym green. It has two limits for our purpose. It admits it is not lossless when only one technical term is correct. More importantly, its mutual-exclusion rule deliberately splits synonyms across green and red. That is good for quality, but it means a synonym swap is exactly what an attacker needs to flip a green token to red. We cluster synonyms together so that swapping within a concept is detection-neutral.
PASA supplies our sampling machinery: two-stage auxiliary sampling that is provably distortion-free, with cluster-level targets. It uses general embeddings over subword tokens and itself flags tokenizer sensitivity as open. We change the units and the geometry and reuse its sampler.
The domain-embedding literature supplies the method for the geometry. Zheng et al. show that ontology-grounded graph embeddings (CMeSH) bridge lexical gaps between medical document types, reaching 0.951 AUROC on report-pair similarity. Fries shows that clinical text behaves like a distinct dialect that needs in-domain vectors. Neither is used generatively or for provenance.
Research Program
We would build three components and one analysis.
The first component is a register-aligned concept space. We start from medical-domain word and phrase embeddings trained on biomedical text, in the manner of Baker et al. and Fries. We then fine-tune them with a contrastive objective on lay-expert phrase pairs. These pairs are mined from consumer-question and expert-summary pairs in MeQSum's training split, and from LLM-generated lay rewrites of medical passages that have been filtered for meaning preservation. The rewrite corpus and the evaluation attack model are disjoint to avoid circularity.
We then cluster concept units, not tokens, into $K$ groups, sweeping $K$ around PASA's reported optimum of 4 as well as larger values. Guided by the triplet-loss design in An et al., we add hard negatives: pairs that look similar but differ in meaning, such as "hypertension" and "hypotension". The aim is to keep the clusters from absorbing meaning-changing swaps, since that would invite spoofing.
The second component is span-level marking. At generation time, the watermark decision is made once per concept unit. When the model begins a multi-token term, the remaining subwords of that term are sampled with no watermark intervention. This removes the subword-fragmentation failure and keeps continuation tokens of drug and disease names untouched. Cluster targets are chosen by PASA's shared-randomness auxiliary sampling keyed on the preceding cluster history, so the output distribution is unchanged in expectation.
The third component is register-agnostic detection. The detector segments candidate text into concept units by nearest-neighbour lookup of spans in the aligned space. It maps each unit to its cluster and runs the usual one-tailed test on cluster matches. A lay rewrite of a watermarked expert answer is therefore scored on the same concept sequence.
The analysis measures $\epsilon_{\text{eff}}$ directly under each attack and each embedding choice. It tests whether detection AUROC follows the $(1-\epsilon_{\text{eff}})^2$ trend better than it follows the token edit rate. If it does, cluster-crossing rate becomes a cheap design-time diagnostic for any domain.
Baselines
The naive reference points are unwatermarked generation, which gives the quality ceiling and the detector's null distribution, and KGW token-level watermarking. KGW is the scheme every medical evaluation used. It is expected to fail under rewriting and to show the documented terminology damage.
The strongest competitor within the cluster family is PASA, run as published with its general-domain clusters. It is the most direct test of whether our geometry and units matter. PASA reports AUC-ROC of about 0.90 on C4 and ELI5 under strong DIPPER paraphrasing, where KGW falls below 0.60. No reported result was found on Lacuna for PASA on medical text or under register-shift rewriting.
We also run WatME with WordNet clusters, since it is the published lexical-redundancy method, and SemaMark (Xu et al.). SemaMark reports ROC-AUC of 0.9406 under GPT-3.5 paraphrasing on C4.
The strongest competitor overall is sentence-level semantic watermarking, because a sentence encoder may already map lay and expert sentences close together. Here we run PMark, which reports TPR above 93% at 1% FPR under GPT-3.5-turbo paraphrasing on C4 and BOOKSUM. We also run X-Guard, which reports 76.70% AUC under cross-lingual paraphrase at 5.5x generation overhead.
For fairness, all methods use the same generators, prompts, datasets, attack outputs and text-length buckets. Each method receives the same hyperparameter search budget over its strength parameters, tuned on a held-out medical dev split to a matched perplexity. Wall-clock generation cost is reported alongside detection.
Beating the strongest baseline means one of two outcomes. The first is higher TPR at 1% FPR under register-shift attacks than PMark and PASA at matched factuality. The second is equal detection at no worse factuality with substantially lower generation overhead than sentence-level methods. The second outcome is a weaker but still useful result.
Two ablations isolate the key ingredients. The first swaps the embedding space while holding everything else fixed: general embeddings, then domain embeddings without register alignment, then domain embeddings with register alignment. The second switches between token-level and span-level units.
Why not just…?
Why not just skip watermarking low-entropy tokens, as entropy-aware schemes do? Entropy gating, as in SWEET or the dynamic bias of Guo et al., addresses quality but not robustness. The terminology tokens it protects are exactly what a register-shift rewrite replaces, so it gives no signal on those spans and no invariance elsewhere. SWEET was among the methods in Factuality Beyond Coherence, which still reported degradation across watermarks. We include an entropy-gated KGW variant to show directly whether gating alone closes the factuality gap. If it matches us on factuality, our remaining claim rests on robustness alone.
Why not just give WatME a medical synonym dictionary? This is cheap and plausible, so we run it as an extra baseline using the same lay-expert pairs we train on. Our prediction is that it improves quality but worsens robustness. WatME's mutual-exclusion rule puts synonyms on opposite sides of the green/red split, so a lay-expert swap is likely to turn green hits red. Measuring green-hit retention under attack will settle this.
Why not just use a sentence-level watermark like PMark? This is the real threat. If a general sentence encoder already treats lay and expert sentences as neighbours, PMark may match us on detection. Our advantages would then be cost, since X-Guard still reports 5.5x overhead, and performance on short texts such as single-sentence patient answers, where sentence-level evidence is scarce. The length-bucketed comparison will show whether either advantage is real. If PMark wins at all lengths at acceptable cost, the correct conclusion is that token-cluster watermarks are the wrong family for this domain.
Why not just use a retrieval defense? Krishna et al. show that retrieval over stored generations detects 80–97% of paraphrases. WatPool similarly stores embedding-key pairs. Both need a stateful store of every output, which is especially problematic for clinical content under privacy constraints. We report Krishna-style retrieval as an upper reference, not as a competitor in the stateless setting.
Proposed Experiments
Generation uses Llama-2-7B and Mistral-7B-v0.1, matching the generators in PASA and PMark, on MedQA questions, HealthQA completion and QA, and MeQSum summarization. C4 serves as a general-domain control that checks we do not lose ground outside medicine.
The attacks are DIPPER paraphrasing at two strengths, GPT-3.5-style generic paraphrase, and our register-shift attacks. These use a held-out LLM prompted to rewrite expert text for a lay reader and lay text into clinical register, with meaning preservation verified by a separate judge and a human-checked subset.
Detection metrics are AUROC and TPR at 1% FPR, bucketed by length. Quality metrics are the Factuality-Weighted Score from Factuality Beyond Coherence, the rate of fabricated medical entities, and MedQA accuracy together with the faulty-but-correct rate from Marking the Wrong Symptoms. Spoofing robustness is measured with the negation and sentiment tampering protocol of An et al., which checks that hard-negative training prevents meaning-changing edits from inheriting the watermark.
Three checks are decisive.
The first concerns register robustness. Under register-shift rewriting, register-aligned clusters must beat PASA's general clusters by a clear margin in TPR at 1% FPR. The margin must hold at matched perplexity and must be present in the aligned-versus-unaligned ablation. If domain embeddings without alignment perform equally well, alignment is not the mechanism.
The second concerns the effective edit rate. Across all methods and attacks, $\epsilon_{\text{eff}}$ should explain detection loss better than token edit rate does. If it does not, the core causal story is wrong.
The third concerns terminology fidelity. Span-level marking must lower fabricated-entity rates and the faulty-but-correct rate relative to token-level marking on MedQA. Failing this check would mean the terminology-damage problem lies elsewhere than subword fragmentation.
References
- PASA: A Principled Embedding-Space Watermarking Approach for LLM-Generated Text under Semantic-Invariant Attacks
- Context-aware Watermark with Semantic Balanced Green-red Lists for Large Language Models
- Factuality Beyond Coherence: Evaluating LLM Watermarking Methods for Medical Texts
- Marking the Wrong Symptoms: Evaluating LLM Watermarks in Medical Texts
- Catch-22: On the Fundamental Tradeoff Between Detectability and Robustness in LLM Watermarking
- WatME: Towards Lossless Watermarking Through Lexical Redundancy
- Detection of medical text semantic similarity based on convolutional neural network
- Brundlefly at SemEval-2016 Task 12: Recurrent Neural Networks vs. Joint Inference for Clinical Temporal Information Extraction
- Cancer Hallmark Text Classification Using Convolutional Neural Networks
- Defending LLM Watermarking Against Spoofing Attacks with Contrastive Representation Learning
- A Robust Semantics-based Watermark for Large Language Model against Paraphrasing
- PMark: Towards Robust and Distortion-free Semantic-level Watermarking with Channel Constraints
- Towards Reliable Marking and Verification of AI-Generated Text via Geometry-aware Sentence-level Watermarking
- Paraphrasing evades detectors of AI-generated text, but retrieval is an effective defense
- WaterPool: A Language Model Watermark Mitigating Trade-Offs among Imperceptibility, Efficacy and Robustness