PMark: Semantic-Level Watermarking
- PMark is a semantic-level watermarking method that uses sentences as the fundamental carriers, leveraging proxy functions and balanced candidate partitioning.
- It enhances robustness by employing multiple channels and median-based thresholds to resist paraphrasing and token-level edits without distorting the output distribution.
- The online variant is theoretically distortion-free while the optimized offline variant improves sampling efficiency, as supported by empirical evaluations.
PMark is a semantic-level watermarking method for LLM output in which the sentence, rather than the token, is the fundamental watermark carrier. It was introduced to improve robustness against paraphrasing-style attacks while avoiding the distribution distortion associated with reject-sampling-based semantic watermarking. The method formalizes watermarking through a proxy function framework, uses median-based balanced partitions of sampled sentence candidates, and strengthens evidence by imposing multiple proxy-function constraints, called channels. In its online form, PMark is presented as distortion-free; the paper also introduces an empirically optimized offline variant that removes dynamic median estimation for better sampling efficiency (Huo et al., 25 Sep 2025).
1. Problem setting and conceptual scope
PMark is situated within semantic-level watermarking, where the next sentence is the unit of control and detection. Let denote the set of semantically complete sentences, and let the model induce the next-sentence distribution
The watermarking objective is zero-bit: given a private key , generate according to
and later decide whether watermark evidence is present (Huo et al., 25 Sep 2025).
The motivation is that token-level watermarks are readily weakened by paraphrasing, whereas sentence-level methods operate in semantic space and are therefore better aligned with meaning-preserving rewrites. PMark’s starting point, however, is that prior semantic watermarking still had three weaknesses: weak or missing formal guarantees, fragility under edits because each sentence often carries sparse evidence, and distribution distortion caused by reject sampling over semantic regions. The paper places SemStamp, k-SemStamp, and SimMark in this class of earlier semantic methods and argues that a stronger theoretical and algorithmic framework is required (Huo et al., 25 Sep 2025).
A central formal notion is single-sentence distortion-free watermarking:
where . This definition requires that, after averaging over keys, the watermarked distribution match the base model’s next-sentence distribution exactly (Huo et al., 25 Sep 2025).
2. Proxy functions and semantic channels
PMark’s main abstraction is the proxy function, a scalar-valued map on sentence space:
This abstraction is used to unify semantic watermarking schemes. In the paper’s analysis, SemStamp uses a locality-sensitive hashing map of the sentence embedding, k-SemStamp uses nearest-cluster assignment, and SimMark uses similarity to the previous sentence. PMark makes the proxy-function view explicit and then builds watermarking and detection around it (Huo et al., 25 Sep 2025).
Its own proxy function is defined from a sentence encoder and a pivot vector :
Thus each sentence is projected onto a semantic direction, and the sign or relative position of that projection becomes the watermark carrier (Huo et al., 25 Sep 2025).
A channel is one such proxy function defined by one pivot vector. With 0 orthogonal pivots 1, PMark uses
2
for 3. The significance of multiple channels is that each sentence can contribute several pieces of watermark evidence rather than one. The paper interprets this as increasing evidence density, which in turn improves robustness under paraphrasing, word deletion, and synonym substitution (Huo et al., 25 Sep 2025).
The paper also uses high-dimensional orthogonality as a practical prior for the offline variant. For random unit vectors 4, the angle 5 has density
6
This is used to motivate the empirical observation that 7 is often concentrated near 8, so the proxy-function median is frequently close to 9 (Huo et al., 25 Sep 2025).
3. Generation procedure and the distortion-free theorem
PMark’s online generation algorithm begins by sampling a fixed candidate pool from the model’s natural next-sentence distribution. For a given sentence position, let
0
with even 1. The method computes proxy-function scores 2, estimates their median 3, and partitions the candidates into balanced halves:
4
A secret random bit chooses one half, and the output is then sampled uniformly from that half (Huo et al., 25 Sep 2025).
This balanced partition is the key distinction from reject-sampling semantic watermarking. The paper proves the following single-channel result: if 5 is sampled i.i.d. from the base model, the candidates are split into equal halves by the median rule, a key bit 6 selects one half, and the final sentence 7 is chosen uniformly within that half, then
8
The intuition given is that, conditioned on 9, each candidate has probability 0 after averaging over the secret bit, so the original distribution is recovered exactly (Huo et al., 25 Sep 2025).
Multi-channel PMark applies this halving sequentially. Starting from 1, it sets
2
and then samples
3
The paper remarks that multi-channel PMark remains distortion-free because every candidate survives each channel with probability 4, and the final selection is again uniform over the originally sampled set (Huo et al., 25 Sep 2025).
The same section provides a formal critique of earlier semantic methods. For a finite-range proxy function 5, let
6
The paper shows that SemStamp-style rejection produces the base distribution conditioned on the chosen green set and derives a closed-form watermarked PMF. The resulting corollary is that such methods are distortion-free if and only if
7
that is, only when all proxy-function bins have equal natural mass. PMark is designed specifically to avoid this requirement (Huo et al., 25 Sep 2025).
The paper also presents an optimized offline PMark. This version removes dynamic median estimation, uses the prior threshold 8, and scores candidates by accumulated channel evidence. The authors describe it as an empirical optimization rather than the fully proved distortion-free construction.
| Variant | Core rule | Stated property |
|---|---|---|
| Online PMark | Dynamic median estimation from sampled candidates | Distortion-free |
| Offline PMark | Fixed threshold 9 instead of dynamic medians | Better sampling efficiency |
4. Detection and robustness guarantees
Detection for online PMark reconstructs the semantic test channel by channel. For each observed sentence 0 and channel 1, the detector resamples a candidate set from the same model context, computes proxy scores, and estimates the median using the Harrell–Davis median estimator:
2
It then compares the actual sentence score 3 with the reconstructed threshold and the secret seed pattern (Huo et al., 25 Sep 2025).
To tolerate mismatch between the generator’s and detector’s median estimates, PMark uses a soft evidence score. For channel 4 at sentence 5,
6
Evidence is aggregated as
7
The detector then applies a soft-count 8-test:
9
and declares watermark presence when 0 (Huo et al., 25 Sep 2025).
The theoretical robustness claim is phrased in terms of bounded semantic perturbation. If an attacker 1 changes a watermarked sentence 2 so that
3
then the probability of removing the channel evidence is bounded by
4
The interpretation is that a paraphrase can flip the watermark signal only when the original sentence score lies close to the median boundary. This gives PMark a formal semantic robustness statement absent from earlier sentence-level schemes (Huo et al., 25 Sep 2025).
A common misconception addressed implicitly by the paper is that any sentence-level watermark is automatically both robust and distortion-free. PMark’s analysis rejects that view: semantic-level watermarking may still distort the output distribution under reject sampling, and robustness depends on how densely evidence is distributed across sentences and channels, not merely on operating at the sentence level (Huo et al., 25 Sep 2025).
5. Empirical evaluation, efficiency, and ablations
The empirical study uses 500 samples each from C4 and BOOKSUM, with OPT-1.3B and Mistral-7B-v0.1 as backbone models. Baselines include token-level methods such as KGW, UPV, MorphMark, SIR, EXP, EXPGumbel, and SynthID, and semantic-level methods such as SemStamp, k-SemStamp, and SimMark. PMark uses all-mpnet-base-v2 embeddings without fine-tuning, 5 channels, sample budget 6, 7, and 8 (Huo et al., 25 Sep 2025).
Without attack, online PMark is reported as essentially perfect, often reaching 9 TPR@1% FPR with ROC-AUC near 0. Under GPT paraphrasing on Mistral-7B, the paper highlights the following results. On BOOKSUM, SemStamp reaches 1 TP@FP1%, SIR 2, PMark online 3, and PMark offline 4. On C4, SemStamp reaches 5, SIR 6, PMark online 7, and PMark offline 8. The paper summarizes these as gains up to 9 and 0 over the best semantic baseline SemStamp on Mistral-7B under GPT paraphrasing for BOOKSUM and C4 (Huo et al., 25 Sep 2025).
The reported text-quality figures also favor PMark. The paper gives perplexity values of 1 to 2 for PMark and interprets them as lower than those of earlier semantic methods and, in some cases, better than the strongest token-level baselines. This is presented as empirical support for the claim that avoiding reject-sampling distortion improves text quality (Huo et al., 25 Sep 2025).
The robustness study extends beyond sentence-level paraphrasing. Under 15% word deletion and 15% synonym substitution on BOOKSUM with Mistral-7B, online PMark reaches 3 and 4 TP@FP1%, while offline PMark reaches 5 and 6. These results are used to support the paper’s argument that multiple channels increase evidence density and thereby make the watermark resilient not only to paraphrasing but also to token-level edits (Huo et al., 25 Sep 2025).
Efficiency is reported in terms of average token consumption per sentence. The paper gives: k-SemStamp 7, SimMark 8, SemStamp 9, PMark online 0, and PMark offline 1. Online PMark is therefore substantially cheaper than SemStamp, while offline PMark is cheaper than online PMark and slightly cheaper than k-SemStamp (Huo et al., 25 Sep 2025).
The ablations are consistent with the paper’s theoretical narrative. On OPT-1.3B and BOOKSUM, online PMark reaches 2 TP@FP1% even with 3 and 4, and approaches 5 as channel count and budget increase. The soft-6 test is also validated empirically: relative to a hard-threshold 7-test, it improves attacked TP@FP1% by 8 on BOOKSUM and 9 on C4 (Huo et al., 25 Sep 2025).
6. Nomenclature, related uses, and scope boundaries
In the literature represented here, “PMark” refers exactly to the semantic-level watermarking method introduced in “PMark: Towards Robust and Distortion-free Semantic-level Watermarking with Channel Constraints” (Huo et al., 25 Sep 2025). It should not be conflated with “PromptMark,” the method proposed in “PromptMark: A Prompt-Guided Iterative-Feedback Framework for Source Code Watermarking.” That paper does not use the exact string “PMark,” does not introduce “PromptMark (PMark)” as an alias, and refers to its method as PromptMark only (Fahad et al., 18 Jun 2026).
The label is also distinct from unrelated uses in other areas. One separate line of work uses “PMark” in connection with “Parallel Markov Chain Monte Carlo,” where the term denotes a partition-and-recombination strategy for parallelizing MCMC across asynchronous processors rather than a language-model watermarking method (VanDerwerken et al., 2013). A further potential source of confusion is “PEMark,” which denotes a position-encoding watermark for API responses and is likewise unrelated in mechanism and problem setting (Zhou et al., 21 May 2026).
Within watermarking research specifically, PMark’s scope is semantic-level watermarking of LLM-generated text, with an online construction that is claimed to be distortion-free and an offline approximation optimized for efficiency. The paper is explicit that the offline variant lacks the same strict proof as the online construction, that sentence segmentation consistency remains an assumption, and that stronger notions such as sequence-level or 0-shot undetectability remain open problems (Huo et al., 25 Sep 2025).