Manuscript Offprint
arXiv:2610.11848SemField: A Simple, Linear, Continuous, yet Robust Semantic Watermark
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.
ABSTRACT
The rapid proliferation of Large Language Models (LLMs) necessitates reliable watermarking techniques to identify AI-generated text and ensure appropriate attribution. While token-based watermarks are vulnerable to paraphrasing, a central challenge for semantic watermarking is to turn sentence meanings into a stable, well-calibrated document-level signal. To this end, we introduce SEMFIELD, a simple, training-free semantic watermark that embeds a continuous, linear signal directly into the sentence embedding space. Using a shared secret key to define a specific Gaussian direction, SEMFIELD iteratively evaluates candidate sentences and selects those that maximize the alignment of the cumulative document aggregate with this targeted direction. We also propose SEMFIELD-PL, a polarity-locked variant that first determines the optimal orientation from the initial sentence and continuously reinforces it throughout the generation process. The document-level aggregated formulation guarantees exact invariance to sentence reordering and provides theoretical bounds against structural tampering, such as sentence insertion and deletion. Lastly, with extensive evaluations across three models, we demonstrate that both variants outperform 12 recent baselines. Across clean detection and four paraphrasing attacks, both variants achieve a mean True Positive Rate (TPR) of 88.2% to 90.4% at a 1% False Positive Rate (FPR), all while maintaining comparable perplexity and naturalness as human-generated content. We open-source our implementation at https://github.com/declare-lab/SemField
1 INTRODUCTION
The widespread use of LLMs has coincided with a rapid increase in AI-generated text online. Previous studies (Hanley & Durumeric, 2024; Dolezal et al., 2026) have reported growth in machine-generated news articles and in AI-generated or assisted material on newly published websites. Similarly, there has also been a boost in AI-written research ideas (Si et al., 2025), papers (Liang et al., 2025) and large-scale codebases (Daniotti et al., 2026) which users can claim as their own (Kashif et al., 2026). In such cases, providers must ascertain if a text was generated using their models for appropriate ownership attribution.
Watermarking has emerged as one such algorithmic safeguard that embeds imperceptible statistical signals directly into model generations to allow post-hoc identification. To this end, major companies such as Google and Anthropic have already declared the inclusion of a watermark in their outputs for downstream identification (Dathathri et al., 2024; Stutz et al., 2026; Anthropic, 2026), while regulators have proposed norms for machine-readable marking and detection of AI-generated content (European Commission, 2026). A reliable watermarking algorithm not only provides a strong detection on its generated documents, but also avoids falsely claiming independent human-generated or other providers' text under their own watermark. In recent times, AI-generated content is also rarely used as is and is mostly subjected to local editing or full paraphrasing before further usage. Hence, a strong watermark signal should be sufficiently robust to such tampering while still providing a high true-positive yet low false-positive identification rate. Lastly, the inclusion of the watermark should not degrade the quality of the associated text and should be as close as possible to the natural text generated by the model or human.
*Corresponding Author: varun.gumma@protonmail.com
Early language-model watermarks biased token sampling according to a secret key, making certain tokens more likely and testing whether they occur unusually often (Kirchenbauer et al., 2023; Dathathri et al., 2024; Aaronson, 2023). However, a rewrite can replace those tokens while retaining the meaning of the passage. To counter such paraphrasing attacks, Semantic watermarks move the signal to sentence representations and select candidates using semantic regions, relations between neighboring sentences, or structured codes (Hou et al., 2024a;b; Dabiriaghdam & Wang, 2025; Li et al., 2026). These methods show how watermark evidence can be tied to meaning rather than exact wording.
In this work, we further the idea of semantic watermarks by exploring whether a continuous signal over the embedding space can be successfully accumulated at the document level. Following this motivation, we propose SEMFIELD , a simple, linear, and training-free semantic watermark. SEMFIELD represents the watermark signal as a continuous scalar function over normalized sentence embeddings. The mechanism relies on a secret key that determines a specific Gaussian direction within the embedding space. During generation, SEMFIELD iteratively samples candidate next sentences, and projects them onto this keyed direction to calculate their alignment. It then selects the sentence that best increases the score of the resulting prospective document aggregate.
Since the Gaussian vector is symmetric, the candidates can be selected to align along either orientation. Hence, we extend the logic to propose a polarity-locked variant, SEMFIELD-PL. This extension identifies the orientation to align based on the first sentence of the document, subsequently reinforcing the signal against that specific orientation throughout the generation process. At the detection stage for both variants, the sentence embeddings are summed together, and the normalized aggregate is projected onto the same keyed direction. This yields a robust document-level statistic, which is then evaluated against a standard normal distribution to reliably detect the presence of the watermark. Such a formulation based on document-level aggregation also provides some theoretical bounds against structural modifications such as the insertion or deletion of sentences. Further, the summation-based aggregation provides an exact invariance to sentence-level reordering.
Finally, we evaluate SEMFIELD and SEMFIELD-PL against 12 recent baselines, 4 paraphrasing, and 4 structural attacks. To confirm the efficacy of our approach, we also repeat it across 3 different models, and also note the perplexity and MAUVE scores of the generations to ascertain the quality of generations in terms of fluency and naturalness . Across all these experiments, both variants achieve a mean TPR@1% of 88.2–90.4% compared with 77.6–81.7% for the strongest baseline on each model. SEMFIELD-PL also consistently achieves the best mean TPR@5%, reaching 96.4–96.6% compared with 91.9–94.2% for the strongest baseline on each model. The MAUVE scores of the two variants also rank in the top two on all three models, while their perplexity remains within the range of the compared methods, indicating no abnormal generations. The structural tests further indicate that both variants preserve their clean detection scores under sentence reordering and also remain detectable after substantial sentence insertion and deletion. In short, our contributions are as follows:
-
We introduce SEMFIELD, a simple, training-free watermark that uses a continuous keyed field and a normalized prospective document aggregate to select sentences that best improve the document-level signal. We also present SEMFIELD-PL, an extension that first selects a particular field orientation and then consistently reinforces against it.
-
We derive the conditional Gaussian null distribution under the ideal key model, prove exact invariance to reordering intact sentences, and bounded score changes under sentence insertion and deletion.
-
We provide a thorough comparison of SEMFIELD and SEMFIELD-PL against a list of recent and relevant baselines and demonstrate their strong efficacy and robustness along paraphrasing and structural attacks, while maintaining a comparable textual quality as the baselines. We follow it up with two practical deployment scenarios and once again corroborate the high performance and reliability of our methods. Lastly, we close with the ablations of the major components of our techniques, such as polarity locking, candidate count, and sampling temperature.
We use “field” to mean a continuous scalar function over the sentence-embedding space
as close as possible to human generations
Semantic watermarks. Semantic watermarking moves the signal from individual tokens to choices among semantically related textual realizations. A common approach embeds candidate sentences and uses a secret partition, cluster assignment, or geometric constraint to determine which candidates carry valid watermark evidence. SEMSTAMP (Hou et al., 2024a) and k-SEMSTAMP (Hou et al., 2024b) instantiate this idea using locality-sensitive hashing and learned semantic clusters, respectively. Other methods encode the signal through relations between successive representations, as in SIMMARK (Dabiriaghdam & Wang, 2025), or use context-dependent semantic constraints, as in PMARK (Huo et al., 2026a). More recent work has explored richer semantic codes and alternative units of representation. ALIMARK converts projections of sentence embeddings into short binary codes and aggregates evidence across a document (Li et al., 2026). SAMARK constructs self-anchored semantic regions that do not depend on the immediately preceding sentence (Huo et al., 2026b). SWORDSTAMP and k-SWORDSTAMP move from complete sentences to smaller semantic units and introduce order-robust aggregation (Diaa et al., 2026). Post-hoc approaches attempt to modify an already generated document using semantically selected lexical items, allowing watermarking without access to model logits (Chang et al., 2024).
Learning-based watermarks. A third family learns some part of the watermarking mechanism from data. The learned component may be a transformation that converts context into a token-level bias, a detector trained jointly with the generator, or a watermark encoded directly into the model parameters. For example, SIR learns a semantic transformation that maps similar contexts to similar vocabulary biases, thereby connecting semantic invariance with token-level generation (Liu et al., 2024). Other approaches jointly train a language model and detector, often using reinforcement learning, so that generated text becomes detectable while retaining task utility (Xu et al., 2025). Learned encoder-decoder frameworks have also been used to embed and recover multi-bit messages from generated text (Zhang et al., 2024). Recent work further considers watermarks for open-source models, where decoding-time control cannot be assumed after model release. PRO jointly optimizes a watermark policy and the language model so that the learned generation pattern agrees with its detector, while regularization targets robustness to subsequent model modifications such as fine-tuning and model merging (Xue et al., 2025).
3 METHODOLOGY
In this section, we first introduce SEMFIELD, and then extend it to its two-sided SEMFIELD-PL along with all the necessary assumptions, bounds, and proofs. The exact algorithms are provided in Appendix D.
3.1 SETUP
Let a generated document D be a sequence of sentences :
A pre-trained encoder is used to obtain normalized sentence embeddings
Similar to prior zero-bit watermarks, the detector receives a document D and a secret key K and tests the hypothesis
was generated independently of the watermarking procedure keyed by K.
(2)
The detector computes a p-value and declares a watermark present when the p-value falls below a threshold chosen for the desired FPR.
3.2 KEYED SEMANTIC FIELD
The secret key determines a d-dimensional vector through a Gaussian pseudo-random generator:
where is the -dimensional identity matrix. The vector carries the semantic watermark, and the generation favors sentences that strengthen the document's alignment with that direction.
For a normalized semantic representation , we define the keyed field value as the projection,
For fixed normalized vector u, the score is standard normal (Theorem 1):
Further, the field values of two fixed normalized vectors u and v has covariance (Theorem 2)
Since their correlation equals their inner product, close representations tend to receive similar field values. This definition also maintains the continuity in the field where minor changes in the embedding also produce a corresponding bounded change in the score (Proposition 1).
3.3 DOCUMENT-LEVEL SEMANTIC STATISTIC
The previous section defined the score of a single sentence s with normalized embedding x. Given a document as a sequence of sentences, we define the document aggregate representation as
The linearity allows the sum of sentence-level field values to equal the projection of this aggregate:
Assuming , we normalize the aggregate as
and define the document-level statistic
The normalization by prevents repeated or highly correlated sentences from being counted as independent evidence. For example, if , then , but
Thus, repeating the sentence does not artificially inflate the watermark score.
That is, it rejects .
3.4 SEMFIELD GENERATION
Generation proceeds sequentially, sentence by sentence. Suppose that sentences have already been selected, and their running aggregate is
At step , the language model samples candidate sentences conditioned on the current document state :
forming the candidate set
If candidate q were selected, the new aggregate would be
where is its normalized embedding. We score the prospective aggregate with the document statistic used at detection:
SEMFIELD then chooses the candidate with the largest score,
and sets . This greedy rule favors alignment with the keyed direction at every step, and maximizes the exact score we use for detection as well.
3.5 SEMFIELD DETECTION
For a completed document D, the detector recomputes the sentence embeddings and their aggregate . From that observed score is
A larger value of provides stronger watermark evidence through the alignment of the document aggregate with .
Under , if the document is independent of the tested key, then by Theorem 3,
The upper-tail probability of the observed score is
where is the standard Normal CDF. A small indicates that the observed alignment is unusual under , and that we have to reject it.
3.6 POLARITY LOCKING (PL)
By definition, SEMFIELD always selects sentences aligned towards . But the Gaussian construction is symmetric as and have the same distribution, and neither orientation is intrinsically preferable before generating the candidates. Further, the Gaussian null and aggregate-based results discussed in prior sections also apply to either orientation.
To finalize one orientation before full generation, we use the first candidate set. At t = 1, it selects the candidate with the largest absolute score,
(21) and records
If the selected score is exactly zero, ties are resolved by setting . For every later step, the candidate is selected such that it best improves the score along the fixed direction.
The rule reduces to regular SEMFIELD when and reinforces the negative direction. A fixed sign also avoids switching orientations between sentences and canceling their contributions in the final aggregate. We call this method polarity-locked SEMFIELD, or SEMFIELD-PL.
During detection, a document generated toward tends to have a large positive projection, while one generated toward tends to be largely negative. Since the detector does not know which orientation was selected, it treats either outcome as evidence. Under the symmetric Gaussian null, these events correspond to the disjoint upper and lower tails, respectively. Hence, writing , their probabilities sum to
Once again, a small indicates that the observed alignment is unusual under , and that we have to reject it.
3.7 STRUCTURAL ROBUSTNESS
A structural attack changes a document by adding sentences, deleting existing sentences, or reordering them. Let A and denote the original and attacked document aggregates, respectively, and write
where is the net semantic contribution of the attack.
For insertion or deletion attacks, provided , the normalized aggregates satisfy
Consequently, the change in the signed SEMFIELD score is bounded by
By the reverse triangle inequality, the same bound holds for the change in the SEMFIELD-PL score . Therefore, if a document's score exceeds the relevant detection threshold by more than this bound, the edit cannot change its positive decision. The complete proof of it is given in Proposition 3.
For sentence reordering, let be a permutation of . If sentence boundaries and individual sentence embeddings remain unchanged, then
Similarly, and . Therefore, detection by either SEMFIELD or SEMFIELD-PL is exactly invariant to reordering intact sentences. The formal proof is provided in Proposition 2.
4 EXPERIMENTS
4.1 SETUP AND BASELINES
Following previous works, we evaluate all methods on the same 500-document collection drawn from the C4-REALNEWSLIKE subset. Each record contains an original human-written document, and its first sentence serves as the generation prompt, while the remainder serves as the human-written (unwatermarked) reference continuation. To accurately ascertain the efficacy of the SEM-FIELD variants, we run our experiments independently across 3 different language models: LLAMA-3.2-1B (Grattafori et al., 2024), QWEN3-1.7B (Yang et al., 2025), and OPT-1.3B (Zhang et al., 2022).
Watermark methods. We compare SEMFIELD and SEMFIELD-PL against 12 recent and relevant baselines for language modeling, viz. KGW, EXP, SYNTHID, SIR, SEMSTAMP, k-SEMSTAMP, SIMMARK, PMARK, ALIMARK, SAMARK, SWORDSTAMP, and k-SWORDSTAMP. For each baseline, any algorithm-specific parameters required by the original implementation are kept unchanged.
Generation protocol. For each document i, let denote its initial prompt. A clean watermarked output is generated by continuing with the selected watermark method:
where is the language model and K is the method's secret key. For methods that use best-of-Q candidate selection, we set Q = 64, matching the candidate budget used by Li et al. (2026), and the semantic algorithms use ALL-MPNET-BASE-V2 as the embedding model. All models and tested algorithms use temperature = 0.7, top_p = 0.95, repetition_penalty = 1.05 during generation.
4.2 ATTACKS AND EVALUATION
The primary objective of a watermark is reliable detection after the text has been modified. Hence, we study the robustness of our method across various types of attacks and textual modification strategies. For all experiments, we first measure clean detection on nascent/unattacked watermarked outputs.
Paraphrasing. A standard process that LLM-generated outputs are subjected to is paraphrasing, i.e., rewriting the textual content of a document while retaining its meaning as much as possible. Hence, we then evaluate robustness to rewriting at two levels. All attacks receive only the clean watermarked text and do not have access to the secret key or detector.
-
Sentence-level rewriting: This attack treats the document as a list of sentences and independently paraphrases each sentence. Hence, the order of the sentences and the information they convey remains the same, but they are reworded. PEGASUS (Zhang et al., 2020) and PARROT (Damodaran, 2021) are two such attacks that change local wording while approximately preserving the original sentence boundaries and document structure.
-
Document-level rewriting: A stronger and more comprehensive attack would be to completely paraphrase the textual content end-to-end. Such a transformation destroys all sentence structure and is aimed at only preserving the overall meaning of the document, whose detection is a true test of a semantic watermark. Hence, we treat the following as the primary attacks for our work: (i) DIPPER (Krishna et al., 2023) is a T5-based paraphraser model configured to encourage lexical and order diversity while preserving the document meaning, (ii) LLM-REWRITE uses QWEN3.8-27B (Qwen Team, 2026), with the instruction to rewrite the entire document, avoid reusing the original words and phrases where possible, and preserve the original meaning.
Detection metrics. Each detector produces a scalar score, with higher values indicating stronger evidence for a watermark. For each method and attack, we report:
- AUROC: Measures how well the detector separates watermarked text from unwatermarked text across all possible detection thresholds. The ROC curve plots TPR against FPR at various thresholds, and AUROC is the area under that curve. Formally, AUROC =
https://huggingface.co/tuner007/pegasus_paraphrase
how many words should change
how much the sentence structure should change.
, and describes the probability that a randomly chosen watermarked document receives a higher score than a randomly chosen null document, with half credit for ties. An AUROC of 1.0 indicates perfect separation, while 0.5 is a random guess.
- TPR @p% FPR: Measures the fraction of watermarked documents detected at the target p% FPR. For threshold , the target is . The reported detection power is then TPR @p% FPR = . In this work, we report , with the former being the stricter and main evaluation point. We estimate these operating points from the empirical ROC curve, using interpolation at the target FPR when needed. An extension is provided in the following analysis, where in the FPR cut-offs are empirically estimated from a large set of null documents a priori for a deployable scenario.
We also report the mean TPR@1% FPR and TPR@5% FPR across the clean condition and four rewrite attacks. This summarizes detection performance across both unattacked and rewritten text, and provides a more holistic evaluation of the algorithms,
where
Text quality. To measure whether watermarking makes the output less natural, we evaluate the clean watermarked text with LLAMA-3.1-8B (Grattafiori et al., 2024) as a language modeling judge for all methods. To this end, we report corpus-level perplexity, and the PPLRatio, which we define as:
A ratio near 1.0 indicates that the generated text has a predictability similar to the human reference, while a larger ratio indicates a larger deviation from the reference distribution.
Structural stress tests. In a separate experiment, we evaluate insertion, dilution, deletion, and sentence reordering attacks at several attack strengths (Li et al., 2026). Note that, in these attacks, no paraphrasing of the text is done. These tests measure TPR@1% FPR against the fraction of inserted, deleted, or reordered sentences. We describe each attack below:
-
Insertion: We insert short, semantically empty sentence markers (., !, ? etc.) at randomly selected sentence boundaries. The attack strength denotes the fraction of original sentence positions at which an additional marker is inserted. This tests whether the detector is affected by extra sentence boundaries that carry no watermark information.
-
Dilution: We insert sentences sampled from an independent null-text pool into the watermarked document. The original sentences are retained, while the added sentences contribute no watermark signal. At strength , the number of inserted null sentences is chosen so that they form a fraction of the resulting document. This measures how well the detector retains evidence when watermark-bearing content is mixed with unrelated text.
-
Deletion: We randomly remove a fraction of the original sentences. The remaining sentences preserve their original order, but some watermark evidence is lost. This evaluates the detector's tolerance to missing content.
-
Reordering: We randomly select a fraction of the sentences and randomly permute their positions while leaving the sentence content unchanged. This attack changes the document order without changing the individual sentence meanings or embeddings. It therefore tests whether detection depends on sentence order.
5 RESULTS AND ANALYSIS
In this section, we discuss the primary results of our algorithm as compared to all the baselines, along with some observations and ablations. Any score triples reported here on are in the order of LLAMA-3.2-1B, QWEN3-1.7B, and OPT-1.3B, respectively.
5.1 OVERALL DETECTION, PARAPHRASE ROBUSTNESS, AND TEXTUAL QUALITY
Ours vs. Baselines. Tables 1 to 3 present the main results for LLAMA-3.2-1B, QWEN3-1.7B, and OPT-1.3B, respectively. Across all three models, SEMFIELD and SEMFIELD-PL occupy the top two positions in mean TPR@1% FPR. Their mean scores range from 88.2% to 90.4%, compared with 78.0%, 78.2%, and 81.7% for the strongest baseline. SEMFIELD-PL also obtains the highest mean TPR@5% FPR of 96.6%, 96.4%, and 96.4%, while SEMFIELD has the second best on LLAMA-3.2-1B, and a minor difference of -0.2, and -0.4 with respect to the second best on QWEN3-1.7B and OPT-1.3B.
The strongest paraphrasing attack is LLM-REWRITE, which rigorously alters the input text end-to-end. Even there, both SEMFIELD variants exceed the best baseline in TPR@1% FPR on all three models. For example, SEMFIELD-PL obtains 66.4%, 76.0%, and 69.2%, whereas the strongest baseline, SAMARK, obtains 64.6%, 60.2%, and 67.2%, with the highest gain of +15.8 on QWEN3-1.7B. Across the remaining sentence-level attacks, PEGASUS and PARROT, each SEMFIELD variant exceeds the strongest baseline in five of the six model–attack comparisons. More specifically, SEMFIELD-PL has a margin of 2.6–8.6% on PEGASUS, while on PARROT, it shows 6.6% and 5.0% gain for LLAMA-3.2-1B and QWEN3-1.7B, respectively. The only exception is OPT-1.3B under PARROT, where SWORDSTAMP scores meager 0.4% higher than SEMFIELD-PL at 94.6%.
Table 1: Detection results for LLAMA-3.2-1B. Best values in a column are bolded, and the second best are underlined.
| Method | CLEAN | PEGASUS | PARROT | DIPPER | LLM-REWRITE | Mean TPR@1% | Mean TPR@5% | Corp. PPL ↓ (PPLRatio) |
|---|---|---|---|---|---|---|---|---|
| TOKEN-BASED WATERMARKS | ||||||||
| KGW | 100.0 / 99.8 / 100.0 | 97.8 / 84.4 / 90.8 | 98.6 / 89.2 / 93.4 | 93.0 / 57.2 / 69.0 | 70.0 / 13.4 / 22.4 | 68.8 | 75.1 | 8.7 (0.897) |
| SYNTHID | 100.0 / 100.0 / 100.0 | 91.2 / 48.6 / 72.6 | 90.6 / 50.8 / 72.0 | 73.5 / 12.6 / 31.6 | 57.2 / 4.6 / 16.0 | 43.3 | 58.4 | 7.7 (0.793) |
| EXP | 99.8 / 99.2 / 99.4 | 89.5 / 59.0 / 69.2 | 89.2 / 61.0 / 71.4 | 80.0 / 31.4 / 45.4 | 56.2 / 5.0 / 12.8 | 51.1 | 59.6 | 4.5 (0.471) |
| SIR | 99.9 / 98.8 / 99.4 | 95.1 / 82.4 / 88.6 | 96.2 / 81.8 / 87.4 | 93.0 / 71.2 / 79.4 | 82.9 / 27.2 / 44.2 | 72.3 | 79.8 | 7.6 (0.783) |
| SEMANTIC WATERMARKS | ||||||||
| SEMSTAMP | 99.9 / 99.6 / 100.0 | 96.6 / 79.2 / 89.6 | 97.5 / 82.2 / 92.6 | 87.0 / 41.6 / 61.6 | 66.7 / 15.8 / 28.2 | 63.7 | 74.4 | 5.7 (0.591) |
| k-SEMSTAMP | 99.4 / 96.5 / 99.2 | 94.7 / 46.0 / 75.4 | 96.6 / 53.2 / 83.5 | 85.9 / 18.1 / 47.7 | 71.7 / 4.4 / 16.8 | 43.7 | 64.5 | 6.1 (0.633) |
| SIMMARK | 99.2 / 93.0 / 97.0 | 98.2 / 84.6 / 93.0 | 98.7 / 88.2 / 94.4 | 95.3 / 60.8 / 81.6 | 84.2 / 22.4 / 45.2 | 69.8 | 82.2 | 6.1 (0.635) |
| PMARK | 99.4 / 96.2 / 98.2 | 95.6 / 74.8 / 86.6 | 98.0 / 86.4 / 92.4 | 87.1 / 48.6 / 64.6 | 74.6 / 14.2 / 31.6 | 64.0 | 74.7 | 3.9 (0.401) |
| ALIMARK | 99.8 / 98.0 / 99.4 | 97.9 / 80.6 / 90.4 | 98.3 / 85.4 / 93.3 | 92.5 / 58.4 / 71.8 | 89.2 / 37.2 / 57.3 | 71.9 | 82.4 | 11.3 (1.168) |
| SAMARK | 95.2 / 79.8 / 87.4 | 95.3 / 76.0 / 86.4 | 96.4 / 82.4 / 90.0 | 93.3 / 66.0 / 79.4 | 92.1 / 64.6 / 77.0 | 73.8 | 84.0 | 6.8 (0.708) |
| SWORDSTAMP | 99.7 / 93.2 / 98.3 | 99.1 / 86.8 / 94.2 | 99.3 / 87.4 / 95.8 | 96.4 / 72.2 / 84.3 | 84.4 / 22.8 / 44.9 | 72.5 | 83.5 | 6.7 (0.691) |
| k-SWORDSTAMP | 99.7 / 92.6 / 98.6 | 99.0 / 84.0 / 95.6 | 99.2 / 85.4 / 96.2 | 97.7 / 72.4 / 89.6 | 95.5 / 55.6 / 80.8 | 78.0 | 92.2 | 6.8 (0.707) |
| OURS | ||||||||
| SEMFIELD | 99.8 / 97.0 / 98.8 | 99.4 / 93.6 / 96.8 | 99.5 / 93.8 / 97.6 | 98.9 / 89.0 / 94.0 | 96.2 / 68.4 / 80.8 | 88.4 | 93.6 | 6.8 (0.703) |
| SEMFIELD-PL | 100.0 / 99.0 / 100.0 | 99.7 / 94.2 / 99.0 | 99.8 / 95.8 / 99.2 | 99.1 / 85.4 / 95.8 | 97.8 / 66.4 / 89.2 | 88.2 | 96.6 | 6.9 (0.715) |
Table 2: Detection results for QWEN3-1.7B. Best values in a column are bolded, and the second best are underlined.
| Method | CLEAN | PEGASUS | PARROT | DIPPER | LLM-REWRITE | Mean TPR@1% | Mean TPR@5% | Corp. PPL ↓ (PPLRatio) |
|---|---|---|---|---|---|---|---|---|
| TOKEN-BASED WATERMARKS | ||||||||
| KGW | 99.9 / 99.6 / 99.8 | 96.8 / 80.4 / 90.2 | 98.8 / 88.4 / 96.2 | 91.4 / 45.4 / 69.6 | 76.2 / 10.6 / 28.6 | 64.9 | 76.9 | 10.9 (1.125) |
| SYNTHID | 100.0 / 99.8 / 99.8 | 90.3 / 59.2 / 73.8 | 94.0 / 70.6 / 80.8 | 72.5 / 19.2 / 32.8 | 59.3 / 11.2 / 19.0 | 52.0 | 61.2 | 9.7 (1.007) |
| EXP | 99.9 / 99.8 / 99.8 | 91.3 / 62.4 / 73.8 | 92.7 / 66.6 / 79.2 | 78.9 / 34.0 / 51.4 | 59.9 / 7.4 / 15.4 | 54.0 | 63.9 | 5.2 (0.535) |
| SIR | 99.9 / 98.8 / 99.6 | 95.6 / 86.0 / 90.4 | 98.4 / 90.8 / 94.2 | 95.2 / 69.0 / 82.2 | 81.7 / 26.8 / 41.4 | 74.3 | 81.6 | 10.4 (1.075) |
| SEMANTIC WATERMARKS | ||||||||
| SEMSTAMP | 99.6 / 98.2 / 99.0 | 94.5 / 72.4 / 83.8 | 96.5 / 80.0 / 89.8 | 80.8 / 31.0 / 48.0 | 64.5 / 8.8 / 24.0 | 58.1 | 68.9 | 8.5 (0.881) |
| k-SEMSTAMP | 98.9 / 91.6 / 98.7 | 93.6 / 37.7 / 68.5 | 94.4 / 45.4 / 76.4 | 83.3 / 12.8 / 37.3 | 71.3 / 3.6 / 20.9 | 38.2 | 60.4 | 7.6 (0.792) |
| SIMMARK | 98.6 / 87.0 / 94.8 | 97.8 / 78.0 / 89.6 | 98.1 / 79.6 / 93.0 | 93.8 / 47.4 / 73.2 | 85.7 / 25.4 / 53.4 | 63.5 | 80.8 | 9.0 (0.930) |
| PMARK | 99.5 / 98.6 / 98.8 | 96.3 / 81.2 / 86.6 | 97.8 / 88.2 / 92.8 | 86.6 / 52.2 / 62.8 | 77.0 / 22.6 / 32.4 | 68.6 | 74.7 | 4.3 (0.443) |
| ALIMARK | 100.0 / 99.4 / 100.0 | 97.4 / 80.6 / 90.9 | 98.3 / 88.4 / 94.4 | 89.6 / 47.4 / 64.3 | 88.1 / 37.0 / 57.3 | 70.6 | 81.4 | 19.0 (1.970) |
| SAMARK | 96.9 / 86.2 / 93.2 | 96.8 / 81.9 / 90.0 | 97.6 / 83.7 / 91.4 | 95.6 / 69.5 / 85.3 | 93.9 / 60.2 / 78.7 | 76.3 | 87.7 | 8.5 (0.881) |
| SWORDSTAMP | 99.8 / 96.6 / 99.0 | 99.1 / 85.7 / 95.9 | 99.5 / 90.0 / 97.6 | 96.9 / 65.2 / 86.5 | 85.2 / 18.0 / 43.1 | 71.1 | 84.4 | 9.3 (0.961) |
| k-SWORDSTAMP | 99.8 / 94.8 / 99.2 | 98.9 / 79.5 / 94.8 | 99.4 / 86.3 / 96.2 | 97.9 / 74.5 / 93.3 | 96.9 / 56.0 / 85.5 | 78.2 | 93.8 | 9.0 (0.936) |
| OURS | ||||||||
| SEMFIELD | 99.8 / 97.2 / 98.0 | 99.4 / 93.0 / 97.2 | 99.5 / 93.8 / 97.2 | 98.8 / 87.6 / 92.8 | 96.6 / 71.4 / 82.6 | 88.6 | 93.6 | 8.6 (0.889) |
| SEMFIELD-PL | 99.9 / 99.6 / 99.8 | 99.7 / 94.6 / 98.8 | 99.8 / 95.8 / 99.4 | 98.9 / 85.8 / 95.0 | 97.9 / 76.0 / 89.2 | 90.4 | 96.4 | 8.8 (0.910) |
Table 3: Detection results for OPT-1.3B. Best values in a column are bolded, and the second best are underlined.
| Method | CLEAN | PEGASUS | PARROT | DIPPER | LLM-REWRITE | Mean TPR@1% | Mean TPR@5% | Corp. PPL ↓ (PPLRatio) |
|---|---|---|---|---|---|---|---|---|
| TOKEN-BASED WATERMARKS | ||||||||
| KGW | 99.8 / 99.8 / 99.8 | 97.6 / 72.4 / 90.2 | 98.1 / 80.4 / 93.6 | 91.2 / 35.0 / 62.2 | 68.1 / 4.2 / 16.6 | 58.4 | 72.5 | 8.5 (0.876) |
| SYNTHID | 100.0 / 100.0 / 100.0 | 90.0 / 53.8 / 69.4 | 90.4 / 58.8 / 72.8 | 76.1 / 22.0 / 38.0 | 58.3 / 7.8 / 16.4 | 48.5 | 59.3 | 8.0 (0.832) |
| EXP | 99.7 / 98.8 / 99.6 | 88.6 / 48.7 / 68.5 | 89.0 / 52.7 / 70.3 | 76.2 / 21.6 / 39.3 | 55.5 / 3.8 / 11.4 | 45.1 | 57.8 | 5.2 (0.541) |
| SIR | 99.5 / 98.6 / 98.8 | 96.4 / 85.8 / 91.0 | 97.4 / 86.0 / 92.2 | 91.5 / 58.8 / 74.0 | 85.2 / 25.0 / 47.8 | 70.8 | 80.8 | 8.3 (0.856) |
| SEMANTIC WATERMARKS | ||||||||
| SEMSTAMP | 99.9 / 99.6 / 100.0 | 95.1 / 74.2 / 86.4 | 96.8 / 81.0 / 89.6 | 86.1 / 38.0 / 59.0 | 66.4 / 13.2 / 24.0 | 61.2 | 71.8 | 8.5 (0.884) |
| k-SEMSTAMP | 99.7 / 92.6 / 99.8 | 94.7 / 42.4 / 75.5 | 95.4 / 41.7 / 77.1 | 87.0 / 14.9 / 47.7 | 69.6 / 3.4 / 14.8 | 39.0 | 63.0 | 6.5 (0.668) |
| SIMMARK | 98.6 / 89.4 / 94.2 | 97.1 / 77.8 / 89.4 | 97.5 / 79.8 / 91.2 | 93.8 / 55.8 / 75.8 | 86.3 / 30.2 / 52.8 | 66.6 | 80.7 | 6.7 (0.698) |
| PMARK | 99.9 / 99.4 / 99.8 | 95.7 / 76.4 / 86.0 | 99.1 / 93.2 / 97.0 | 86.2 / 48.6 / 63.0 | 69.3 / 13.6 / 26.8 | 66.2 | 74.5 | 4.3 (0.442) |
| ALIMARK | 99.8 / 99.4 / 99.5 | 98.5 / 87.6 / 94.9 | 98.8 / 93.4 / 96.0 | 92.6 / 55.0 / 71.8 | 91.1 / 48.0 / 65.8 | 76.7 | 85.6 | 8.5 (0.878) |
| SAMARK | 98.9 / 90.2 / 97.4 | 98.7 / 86.8 / 94.6 | 99.1 / 91.6 / 97.0 | 96.8 / 72.8 / 87.6 | 95.4 / 67.2 / 82.2 | 81.7 | 91.8 | 6.7 (0.697) |
| SWORDSTAMP | 100.0 / 99.8 / 99.8 | 99.5 / 92.0 / 97.6 | 99.7 / 95.0 / 98.8 | 97.5 / 76.6 / 87.8 | 86.5 / 20.8 / 39.9 | 76.8 | 84.8 | 6.7 (0.689) |
| k-SWORDSTAMP | 99.9 / 96.0 / 100.0 | 99.1 / 81.8 / 96.6 | 99.5 / 89.0 / 98.2 | 98.2 / 73.6 / 92.4 | 96.1 / 49.6 / 83.7 | 78.0 | 94.2 | 7.0 (0.725) |
| OURS | ||||||||
| SEMFIELD | 99.8 / 97.4 / 99.0 | 99.5 / 92.6 / 96.8 | 99.5 / 93.2 / 97.2 | 99.0 / 88.8 / 93.8 | 96.6 / 69.4 / 82.0 | 88.3 | 93.8 | 6.3 (0.656) |
| SEMFIELD-PL | 100.0 / 99.8 / 100.0 | 99.8 / 94.6 / 99.6 | 99.8 / 94.6 / 99.4 | 99.1 / 82.6 / 95.4 | 97.5 / 69.2 / 87.6 | 88.2 | 96.4 | 6.4 (0.661) |
Lastly, SEMFIELD and SEMFIELD-PL achieve substantially stronger detection without moving into a high-perplexity regime. As seen from Table 4, both variants have Corpus PPL close to the baseline median on LLAMA-3.2-1B and below it on QWEN3-1.7B and OPT-1.3B, placing them within the same general perplexity range as the methods we compare against.
Table 4: Corpus perplexity compared with the median across 12 baselines. PPL column reports SEMFIELD/ SEMFIELD-PL
| Model | Baseline median | Corp. PPL ↓ |
|---|---|---|
| LLAMA-3.2-1B | 6.75 | 6.8 / 6.9 |
| QWEN3-1.7B | 9.00 | 8.6 / 8.8 |
| OPT-1.3B | 6.85 | 6.3 / 6.4 |
Effect of Polarity-Locking (PL). PL allows generation to reinforce either orientation of the keyed field, while SEMFIELD always reinforces the positive orientation. This change improves AUROC and TPR@5% FPR in every one of the five conditions on all three models. Averaged over the five conditions, PL raises TPR@5% FPR by 3.0, 2.8, and 2.6% compared to its one-sided variant. It also improves TPR@1% FPR in ten of the fifteen model–condition comparisons. Interestingly, the strict 1% operating point does not favor polarity-locking in every condition in our current results.
To understand this difference further, we first compare the mean document score before and after LLM-REWRITE for both variants. From Table 5, we find that both variants display a very similar score drop under rewriting, indicating that SEMFIELD-PL maintains comparable score stability under this attack. Next, analyzing the cutoff thresholds reveals the main difference. SEMFIELD uses only the positive tail of the null scores to set its FPR cutoff. SEMFIELD-PL uses both the positive and negative tails, giving it a higher empirical cutoff of , com- pared with for SEMFIELD. This higher threshold leaves more borderline rewritten outputs below the PL detection cutoff on LLAMA-3.2-1B and OPT-1.3B, where its TPR@1% is lower by 2.0 and . On QWEN3-1.7B, more PL outputs clear the cutoff, giving it a lead. At FPR, the empirical cutoffs are closer in this evaluation, and SEMFIELD-PL achieves higher LLM-REWRITE TPR on all three models by 8.4, 6.6, and . Hence, we conclude that the drop in TPR of PL under LLM-REWRITE was not due to its lack of robustness, but due to its stricter two-sided cutoff at FPR.
Table 5: Mean document scores before and after LLM-REWRITE. Score loss = Clean - Rewritten. Each cell reports SEMFIELD/ SEMFIELD-PL. Bold marks the higher score or, for score loss, the lower loss.
| Model | Clean | Rewritten | Score loss ↓ |
|---|---|---|---|
| LLAMA-3.2-1B | 4.475 / 4.632 | 3.042 / 3.221 | 1.433 / 1.411 |
| QWEN3-1.7B | 4.540 / 4.726 | 3.194 / 3.380 | 1.346 / 1.346 |
| OPT-1.3B | 4.418 / 4.610 | 3.089 / 3.247 | 1.329 / 1.363 |
Lastly, the perplexity cost of SEMFIELD-PL is modestly higher than the former, with a difference of at most in all cases. However, we reiterate that despite the minor difference, both techniques lie in proximity to the median of all the baselines, indicating no abnormal generation style. We therefore report both variants as regular SEMFIELD establishes the strength of the continuous field itself, while SEMFIELD-PL makes fuller use of its two possible orientations.
Additional Quality Evaluation. We compare generated continuations with matched human-reference continuations using MAUVE (Pillutla et al., 2021). Since the clustering step of MAUVE is a stochastic process, we report the mean over three seeds. From Table 6, we find that SEMFIELD and SEMFIELD-PL obtain the two highest scores for each of the three models. SEMFIELD-PL scores 0.817, 0.656, and 0.743, compared with 0.472, 0.415, and 0.559 for the strongest baseline on each model. The regular SEMFIELD variant also exceeds every baseline, scoring 0.800, 0.584, and 0.699. Thus, the strong detection results of both variants are accompanied by generated-text distributions that are closer to the human-reference continuations under this metric. Since MAUVE evaluates distributions rather than individual responses, we consider it as a secondary metric alongside perplexity when assessing generation quality.
Table 6: MAUVE scores against matched human-reference continuations. Each value is the mean over three clustering seeds.
| Method | LLAMA-3.2-1B | QWEN3-1.7B | OPT-1.3B |
|---|---|---|---|
| TOKEN-BASED WATERMARKS | |||
| KGW | 0.020 | 0.017 | 0.014 |
| SYNTHID | 0.013 | 0.017 | 0.023 |
| EXP | 0.007 | 0.008 | 0.012 |
| SIR | 0.029 | 0.011 | 0.016 |
| SEMANTIC WATERMARKS | |||
| SEMSTAMP | 0.240 | 0.332 | 0.152 |
| k-SEMSTAMP | 0.240 | 0.349 | 0.117 |
| SIMMARK | 0.439 | 0.319 | 0.347 |
| PMARK | 0.371 | 0.415 | 0.479 |
| ALIMARK | 0.396 | 0.115 | 0.490 |
| SAMARK | 0.472 | 0.341 | 0.559 |
| SWORDSTAMP | 0.302 | 0.293 | 0.083 |
| k-SWORDSTAMP | 0.192 | 0.182 | 0.072 |
| OURS | |||
| SEMFIELD | 0.800 | 0.584 | 0.699 |
| SEMFIELD-PL | 0.817 | 0.656 | 0.743 |
5.2 STRUCTURAL ROBUSTNESS
Here, we mainly compare our methods with the three most recent and best competitors from our cohort – SAMARK, SWORDSTAMP, and k-SWORDSTAMP.
Figure 1 reports TPR@1% as attack strength increases from 0 to 80%. Here, we mainly compare our methods with the three most recent and best competitors from our cohort – SAMARK, SWORDSTAMP, and k-SWORDSTAMP, as we find that most of the other baselines drop rapidly compared to our methods. SEMFIELD-PL retains substantial detection under severe insertion and deletion. At 80% insertion, it obtains 70.4–75.2% TPR@1% across the three models, compared with 47.8–62.2% for SEMFIELD. At the same deletion strength, the respective ranges are 79.2–84.2% and 71.8–80.6%. These results are consistent with the aggregate-perturbation analysis presented in Section 3.7 as detection can persist when the edited aggregate retains enough of its keyed direction.
The considered baselines reveal different strengths. For instance, SWORDSTAMP and k-SWORDSTAMP are particularly resistant to insertion. At 80% strength, their TPR@1% remains at 91.5–98.6% and 90.8–93.8%, respectively, close to their clean levels. However, their advantage does not extend to severe deletion. At 80% deletion, SWORDSTAMP falls to 14.6–27.8% and k-SWORDSTAMP to 8.2–10.8%, while both SEMFIELD variants retain substantially higher detection. SAMARK declines more sharply under insertion, reaching 0% at 80% strength, and retains 20.6–22.8% under deletion.
For SEMFIELD and SEMFIELD-PL, permuting intact sentences leaves their aggregate and detector score exactly unchanged, as demonstrated in Section 3.7. Their reordering curves are therefore constant at their clean detection levels of 96.8–98.0% and 99.6–100.0%, respectively. SAMARK, SWORDSTAMP, and k-SWORDSTAMP also demonstrate flat reordering curves in this experiment owing to their design, but lie below both our variants across all 3 models.
Dilution best separates the two SEMFIELD variants across all 4 attacks. At 80% strength, SEMFIELD retains 37.4 -52.8% TPR@1%, compared with 21.4–28.6% for SEMFIELD-PL. At that strength, SWORDSTAMP retains 23.6–28.0%, k-SWORDSTAMP retains 10.4–10.8%, and SAMARK falls to 0.2%. Following the aggregate-perturbation, both algorithms show good robustness till 40% attack strength, after which the one-sided variant dominates and SEMFIELD-PL drops sharply. Despite

Figure 1: Structural robustness under sentence insertion, deletion, reordering, and dilution. Curves report TPR@1% FPR.
this, SEMFIELD-PL still outperforms most baselines considered along the curve. Overall, in this setting, the one-sided SEMFIELD variant is more resistant to that change, whereas polarity locking gives stronger insertion and generally stronger deletion performance.
Surprisingly, SIMMARK exhibits an unusual upward dilution curve, reaching 99.8–100.0% TPR@1% at 80% strength. Upon a deeper investigation, we find that its detector scores neighboring sentence pairs, and dilution creates additional pairs that can raise the document score used for detection. To appropriately highlight this effect, we also dilute the 500 null documents to check if the sentence pairs cause a similar gain on them. As expected, their mean SIMMARK score rises from 0.22 to 12.39 at 80% strength, indicating that dilution raises scores even when no watermark is present.
5.3 EFFECT OF CANDIDATE DIVERSITY
SEMFIELD variants operate on selecting that candidate that best aligns with the secret keyed vector and maximally improves the score of the resulting document. Hence, the diversity of candidates in a crucial as a collapsed set can result in low-quality additions to the document. We study the effect of candidate diversity and associated side-effects along two arms as follows. We limit this study to SEMFIELD-PL as it shows a more broader improvement across all models and conditions.
Temperature. Sampling temperature changes the candidate sentences available at a fixed search budget. A high temperature produces more unseen or rare generations by selecting tokens towards the tail of the distribution. Table 7 compares temperatures 0.7 and 1.0 on the LLAMA-3.2-1B evaluation with the rest of the generation parameters unchanged. At temperature 1.0, mean TPR@1% rises from 88.2% to 97.4%. The largest improvement occurs under LLM-REWRITE, where TPR@1% jumps from 66.4% to 91.8% (+25.4pts). Mean TPR@5% rises from 96.6% to 99.5%.
This additional detection robustness comes with substantially higher perplexity. Corpus PPL increases from 6.90 to 34.66, and PPLRatio from 0.715 to 3.591, which is approximately a × gain in both cases. Hence, we conclude that the higher temperature produces a more diverse candidate set, allowing new sentences to better align with the field orientation and build a stronger watermark.
analogous to SEMFIELD's score. However, since there is no other restriction on them, the selected candidates can be highly unnatural and awkwardly phrased, reducing the overall quality.
Table 7: Effect of sampling temperature on SEMFIELD-PL. Best values are bolded.
| Temp. | CLEAN | PEGASUS | PARROT | DIPPER | LLM-REWRITE | Mean TPR@1% | Mean TPR@5% | Corpus PPL ↓ (PPLRatio) |
|---|---|---|---|---|---|---|---|---|
| 0.7 | 100.0 / 99.0 / 100.0 | 99.7 / 94.2 / 99.0 | 99.8 / 95.8 / 99.2 | 99.1 / 85.4 / 95.8 | 97.8 / 66.4 / 89.2 | 88.2 | 96.6 | 6.90 (0.715) |
| 1.0 | 100.0 / 100.0 / 100.0 | 100.0 / 99.8 / 100.0 | 100.0 / 99.6 / 100.0 | 99.7 / 95.8 / 99.0 | 99.7 / 91.8 / 98.6 | 97.4 | 99.5 | 34.66 (3.591) |
Increasing candidates. At each generation step, both algorithms select from candidate sentences using the resulting document score. Increasing gives it more opportunities to find a candidate that reinforces the keyed direction, while requiring more candidate generations and evaluations. Figure 2 shows the effect on 100 documents with LLAMA-3.2-1B as doubles from 2 to 128 under the standard generation configuration.


Figure 2: TPR@1% vs. Q.
Clean detection rises rapidly at smaller budgets
and begins to level off at larger ones ( 32). Mean TPR@1% increases from 4.0% at Q = 2 to 90.2% at Q = 64, then to 95.2% at Q = 128. At Q = 64, CLEAN reaches 100%, while PEGASUS, PARROT, DIPPER, and LLM-REWRITE obtain 94%, 97%, 89%, and 71%, respectively. Interestingly, LLM-REWRITE shows an almost linear trend against the , with TPR@1% reaching 80.2% at Q = 128. Investigating this further, the best-fit line displays a slope of 13.61 with an of 0.994. This indicates significant diminishing returns with Q, as based on the current trend, the best-fit extrapolation predicts a for TPR@1% 90%.
Across the sweep, PPLRatio stays between 0.637 and 0.743, while displaying a minor upward trend from to , with a slight dip back to 0.714 at . Overall, we argue that it shows no significant monotonic improvement with the candidate budget, unlike the TPR scores. Therefore, there is no impact on the quality of generations at higher , but we are mainly constrained by the computation costs.
5.4 PRACTICAL DEPLOYMENT SCENARIOS
Detection with Independently/Empirically Calibrated Thresholds. In a practical deployment, a detector must identify watermarked text using a threshold established before the document is received, even when its edit history is unknown. Hence, we complement the ROC-based results presented above with an evaluation that estimates and freezes the threshold of each detector a priori across clean and attacked texts. To estimate these thresholds, we select 10,000 independent null documents from C4, along with 2,000 held-out documents for validation. For each model–method pair, we estimate the cut-off score by running its native detector on the 10,000 calibration documents and sorting the resulting scores from highest to lowest. For the nominal 1% FPR, we place the cutoff immediately above the highest score, allowing at most 100 calibration documents to pass the threshold. Similarly, the nominal 5% cutoff is placed immediately above the highest score, allowing at most 500 detections. We then freeze these cutoffs and use the 2,000 held-out documents to measure the realized FPR on unseen null text. Post-verification, the same frozen cutoffs are subsequently applied to the watermarked documents in every clean and attacked condition.
Tables 8 to 10 demonstrate the aforementioned results, and we find that both SEMFIELD variants once again occupy the top two positions in mean TPR@1% and TPR@5% across all three models. At the nominal 1% FPR, SEMFIELD-PL achieves mean detection rates of 89.3%, 91.2%, and 89.5%. The strongest baseline, SWORDSTAMP, obtains 72.5%, 73.4%, and 76.8%. Regular SEMFIELD also remains ahead of every baseline, with means of 87.1%, 87.8%, and 87.1%. Thus, the overall detection advantage observed in the main evaluation also holds when thresholds are frozen using a substantially larger independent null corpus. The advantage is well established under full-document rewriting as well. Against LLM-REWRITE, SEMFIELD-PL obtains 68.6%, 78.0%, and 71.8% TPR@1%, compared with 43.6%, 47.0%, and 46.6% for the strongest baseline, SAMARK. PL also improves mean TPR@1% over regular SEMFIELD by 2.2, 3.4, and 2.4%, and achieves the highest mean TPR@5% of 96.8%, 96.7%, and 96.6%. Unlike the previous evaluation, PL has a clear advantage over the SEMFIELD on LLM-REWRITE with respect to TPR@1% with a gain of 2.4, 9.0, and 4.4%, indicating its consistent advantage in a practical use case.
Cross-Key Detection. Lastly, consider another scenario where N providers employ SEMFIELD-PL, with their own keys, . Following this setup, we now analyze how often a document generated with gets falsely detected by another key . In an ideal scenario, every document should be detected by its own key, and not by another. We simulate this with 100 unique keys, and generate the 500 documents with LLAMA-3.2-1B for each key. Next, we evaluate every generated document under all 100 keys, giving 5 million document-key evaluations. Following from the previous experiment, each key uses its own detection threshold calibrated to a nominal 1% FPR on the same 10,000 independent null documents.
Averaging the diagonal entries of the resulting detection/confusion matrix ( ), the generation key detects 99.518% of its documents. Similarly, averaging the off-diagonal entries ( ), an unrelated key detects these documents in 1.065% of cases, which is close to the nominal false-positive operating point. These results show high detection under the generation key and cross-key detection near the expected false-alarm rate.
6 CONCLUSION
In this work, we proposed SEMFIELD, a simple, linear yet robust semantic watermarking strategy for LLMs. SEMFIELD uses a continuous Gaussian vector as a carrier, and iteratively selects new sentences that best improve the normalized aggregate document projection onto it. We also extend it to a two-sided variant, SEMFIELD-PL, which first determines the orientation of the vector to align to using the first candidate, and then iteratively selects new sentences that best improve the aggregate document projection only along that direction. With an extensive comparison across 12 baselines and 4 paraphrasing attacks, we show the efficacy of our methods across 3 models, in which both variants occupy the top two places in terms of mean TPR@1% and MAUVE scores, while displaying a perplexity score close to the median of all the baselines. Further, we also discussed the robustness of the variants to various structural changes that do not involve any paraphrasing, and demonstrate an exact invariance to reordering and provable score stability under small perturbations to the content. Finally, we hope that our work inspires more studies on robust watermarking strategies for LLMs, which are well detectable under rewriting, and also maintain sufficient quality during generation.
7 LIMITATIONS AND SCOPE OF WORK
Our work is subject to the following main limitations. We openly acknowledge that the watermarking experiments were targeted towards vanilla language modeling and base models, but this was done to align with the provided baselines and their evaluations. Similarly, following previous works, SEMFIELD is also built and tested only for English, and it uses the sentence-based structure. We acknowledge that this might not be feasible for other languages where a clear sentence structure/boundary is not available (Ex, Chinese). Additionally, we only test our framework across three models. We hold the singular embedding model and dataset constant across all runs, as most baselines have reported it in their implementations, but all our experiments are agnostic to it. Due to computational constraints, we select a 500-document cohort, which, however translated to 4× the number of evaluations accounting for the attacks. Future work in this direction can include more efficient sampling strategies and multi-dimensional candidate selection to account for safety, helpfulness, correctness, and low-entropy generations, such as math or code for RLVR and thinking models. Finally, we would like to highlight that we do not claim this work as an overall SoTA across all methods, models, and use cases, but present it as a proof-of-concept for a new and simple technique in line with previous studies.
REFERENCES
Scott Aaronson. Watermarking of large language models. Talk at the Simons Institute for the Theory of Computing, 2023. URL https://simons.berkeley.edu/talks/scott-aaronson-ut-austin-openai-2023-08-17. Slides available at https://www.scottaaronson.com/talks/watermark.ppt.
Anthropic. How Claude’s text watermark works. https://www.anthropic.com/news/claude-text-watermark, August 2026. Accessed: 2026-09-29.
Yapei Chang, Kalpesh Krishna, Amir Houmansadr, John Frederick Wieting, and Mohit Iyyer. Post-Mark: A robust blackbox watermark for large language models. In Yaser Al-Onaizan, Mohit Bansal, and Yun-Nung Chen (eds.), Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing, pp. 8969–8987, Miami, Florida, USA, November 2024. Association for Computational Linguistics. doi: 10.18653/v1/2024.emnlp-main.506. URL https://aclanthology.org/2024.emnlp-main.506/.
Amirhossein Dabiriaghdam and Lele Wang. SimMark: A robust sentence-level similarity-based watermarking algorithm for large language models. In Christos Christodoulopoulos, Tanmoy Chakraborty, Carolyn Rose, and Violet Peng (eds.), Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing, pp. 30785–30806, Suzhou, China, November 2025. Association for Computational Linguistics. ISBN 979-8-89176-332-6. doi: 10.18653/v1/2025.emnlp-main.1567. URL https://aclanthology.org/2025.emnlp-main.1567/.
Prithiviraj Damodaran. Parrot: Paraphrase generation for nlu., 2021.
Simone Daniotti, Johannes Wachs, Xiangnan Feng, and Frank Neffke. Who is using ai to code? global diffusion and impact of generative ai. Science, 391(6787):831–835, 2026. doi: 10.1126/science.adz9311. URL https://www.science.org/doi/abs/10.1126/science.adz9311.
Sumanth Dathathri, Abigail See, Sumedh Ghaisas, Po-Sen Huang, Rob McAdam, Johannes Welbl, Vandana Bachani, Alex Kaskasoli, Robert Stanforth, Tatiana Matejovicova, Jamie Hayes, Nidhi Vyas, Majd Al Merey, Jonah Brown-Cohen, Rudy Bunel, Borja Balle, Taylan Cemgil, Zahra Ahmed, Kitty Stacpoole, Ilia Shumailov, Ciprian Baetu, Sven Gowal, Demis Hassabis, and Pushmeet Kohli. Scalable watermarking for identifying large language model outputs. Nature, 634(8035):818–823, Oct 2024. ISSN 1476-4687. doi: 10.1038/s41586-024-08025-4. URL https://doi.org/10.1038/s41586-024-08025-4.
Abdulrahman Diaa, Jonathan Petit, and Florian Kerschbaum. Semantic watermarking with order-robust detection over sub-sentence units, 2026. URL https://arxiv.org/abs/2608.27666.
Jonas Dolezal, Sawood Alam, Mark Graham, and Maty Bohacek. The impact of ai-generated text on the internet, 2026. URL https://arxiv.org/abs/2604.26965.
European Commission. Code of Practice on Transparency of AI-generated Content. https://digital-strategy.ec.europa.eu/en/policies/code-practice-ai-generated-content, July 2026. Accessed: 2026-09-29.
Aaron Grattafiori, Abhimanyu Dubey, Abhinav Jauhri, Abhinav Pandey, Abhishek Kadian, Ahmad Al-Dahle, Aiesha Letman, Akhil Mathur, and Alan Schelten et al. The llama 3 herd of models, 2024. URL https://arxiv.org/abs/2407.21783.
Hans W. A. Hanley and Zakir Durumeric. Machine-made media: Monitoring the mobilization of machine-generated articles on misinformation and mainstream news websites. In Proceedings of the International AAAI Conference on Web and Social Media, volume 18, pp. 542–556, 2024. doi: 10.1609/icwsm.v18i1.31333. URL https://ojs.aaai.org/index.php/ICWSM/article/view/31333.
Abe Hou, Jingyu Zhang, Tianxing He, Yichen Wang, Yung-Sung Chuang, Hongwei Wang, Lingfeng Shen, Benjamin Van Durme, Daniel Khashabi, and Yulia Tsvetkov. SemStamp: A semantic watermark with paraphrastic robustness for text generation. In Kevin Duh, Helena Gomez, and Steven Bethard (eds.), Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers), pp. 4067–4082, Mexico City, Mexico, June 2024a. Association for Computational Linguistics. doi: 10.18653/v1/2024.naacl-long.226. URL https://aclanthology.org/2024.naacl-long.226/.
Abe Hou, Jingyu Zhang, Yichen Wang, Daniel Khashabi, and Tianxing He. k-SemStamp: A clustering-based semantic watermark for detection of machine-generated text. In Lun-Wei Ku, Andre Martins, and Vivek Srikumar (eds.), Findings of the Association for Computational Linguistics: ACL 2024, pp. 1706–1715, Bangkok, Thailand, August 2024b. Association for Computational Linguistics. doi: 10.18653/v1/2024.findings-acl.98. URL https://aclanthology.org/2024.findings-acl.98/.
Jiahao Huo, Shuliang Liu, Bin Wang, Junyan Zhang, Yibo Yan, Aiwei Liu, Xuming Hu, and Mingxun Zhou. PMark: Towards robust and distortion-free semantic-level watermarking with channel constraints. In The Fourteenth International Conference on Learning Representations, 2026a. URL https://openreview.net/forum?id=EhDgP69DJG.
Jiahao Huo, Wenjie Qu, Yibo Yan, Kening Zheng, Jiaheng Zhang, Xuming Hu, Philip S. Yu, and Mingxun Zhou. Samark: A self-anchored text watermarking with paragraph-level paraphrase robustness, 2026b. URL https://arxiv.org/abs/2605.25796.
Syed Mohammad Kashif, Peng Liang, and Amjed Tahir. On developers' self-declaration of ai-generated code: An analysis of practices. ACM Trans. Softw. Eng. Methodol., 35(7), July 2026. ISSN 1049-331X. doi: 10.1145/3771937. URL https://doi.org/10.1145/3771937.
John Kirchenbauer, Jonas Geiping, Yuxin Wen, Jonathan Katz, Ian Miers, and Tom Goldstein. A watermark for large language models. In Andreas Krause, Emma Brunskill, Kyunghyun Cho, Barbara Engelhardt, Sivan Sabato, and Jonathan Scarlett (eds.), Proceedings of the 40th International Conference on Machine Learning, volume 202 of Proceedings of Machine Learning Research, pp. 17061–17084. PMLR, 23–29 Jul 2023. URL https://proceedings.mlr.press/v202/kirchenbauer23a.html.
Kalpesh Krishna, Yixiao Song, Marzena Karpinska, John Frederick Wieting, and Mohit Iyyer. Paraphrasing evades detectors of AI-generated text, but retrieval is an effective defense. In Thirty-seventh Conference on Neural Information Processing Systems, 2023. URL https://openreview.net/forum?id=WbFhFvjjKj.
Rohith Kuditipudi, John Thickstun, Tatsunori Hashimoto, and Percy Liang. Robust distortion-free watermarks for language models. Transactions on Machine Learning Research, 2024. ISSN 2835-8856. URL https://openreview.net/forum?id=FpaCL1MO2C.
Yuexin Li, Wenjie Qu, Linyu Wu, Yulin Chen, Yufei He, Tri Cao, Bryan Hooi, and Jiaheng Zhang. Alimark: Enhancing robustness of sentence-level watermarking against text paraphrasing. In Forty-third International Conference on Machine Learning, 2026. URL https://openreview.net/forum?id=jQmlwZSPuw.
Weixin Liang, Yaohui Zhang, Zhengxuan Wu, Haley Lepp, Wenlong Ji, Xuandong Zhao, Hancheng Cao, Sheng Liu, Siyu He, Zhi Huang, Diyi Yang, Christopher Potts, Christopher D. Manning, and James Zou. Quantifying large language model usage in scientific papers. Nature Human Behaviour, 9(12):2599–2609, December 2025. ISSN 2397-3374. doi: 10.1038/s41562-025-02273-8. URL https://doi.org/10.1038/s41562-025-02273-8.
Aiwei Liu, Leyi Pan, Xuming Hu, Shiao Meng, and Lijie Wen. A semantic invariant robust watermark for large language models. In The Twelfth International Conference on Learning Representations, 2024. URL https://openreview.net/forum?id=6p81pe4MNf.
Ninh Pham and Rasmus Pagh. Tensor sketch: Fast and scalable polynomial kernel approximation, 2025. URL https://arxiv.org/abs/2505.08146.
Krishna Pillutla, Swabha Swayamdipta, Rowan Zellers, John Thickstun, Sean Welleck, Yejin Choi, and Zaid Harchaoui. Mauve: Measuring the gap between neural text and human text using divergence frontiers. In M. Ranzato, A. Beygelzimer, Y. Dauphin, P.S. Liang, and J. Wortman Vaughan (eds.), Advances in Neural Information Processing Systems, volume 34, pp. 4816–4828. Curran Associates, Inc., 2021. URL https://proceedings.neurips.cc/paper_files/paper/2021/file/260c2432a0eccc28ce03c10dadc078a4-Paper.pdf.
Qwen Team. Qwen3.8-Max: A new bar for coding and cowork, August 2026. URL https://qwen.ai/blog?id=qwen3.8.
Chenglei Si, Diyi Yang, and Tatsunori Hashimoto. Can llms generate novel research ideas? a large-scale human study with 100+ nlp researchers. In Y. Yue, A. Garg, N. Peng, F. Sha, and R. Yu (eds.), International Conference on Learning Representations, volume 2025, pp. 94003–94092, 2025. URL https://proceedings.iclr.cc/paper_files/paper/2025/file/ea94957d81b1c1caf87ef5319fa6b467-Paper-Conference.pdf.
David Stutz, Alexander I. Cowen-Rivers, Guillermo Ortiz-Jimenez, Jeremy Ratcliff, Vinicius Zambaldi, Lindsay Willmore, Josh Abramson, Harshnira Patani, Christina Kouridi, Florian Stimberg, Mel Vecerik, Alex Chu, Sukhdeep Singh, Sumanth Dathathri, Eliseo Papa, Valentin De Bortoli, Arnaud Doucet, Demis Hassabis, Jue Wang, Sven Gowal, and Pushmeet Kohli. Function-preserving watermarking of ai-generated proteins. Nature, September 2026. ISSN 1476-4687. doi: 10.1038/s41586-026-10965-y. URL https://doi.org/10.1038/s41586-026-10965-y.
Xiaojun Xu, Yuanshun Yao, and Yang Liu. Learning to watermark LLM-generated text via reinforcement learning. In The 1st Workshop on GenAI Watermarking, 2025. URL https://openreview.net/forum?id=dTlCMiEOdk.
Jiaqi Xue, Yifei Zhao, Mansour Al Ghanim, Shangqian Gao, Ruimin Sun, Qian Lou, and Mengxin Zheng. Pro: Enabling precise and robust text watermark for open-source llms, 2025. URL https://arxiv.org/abs/2510.23891.
An Yang, Anfeng Li, Baosong Yang, Beichen Zhang, Binyuan Hui, Bo Zheng, Bowen Yu, Chang Gao, Chengen Huang, Chenxu Lv, Chujie Zheng, Dayiheng Liu, Fan Zhou, Fei Huang, Feng Hu, Hao Ge, Haoran Wei, Huan Lin, Jialong Tang, Jian Yang, Jianhong Tu, Jianwei Zhang, Jianxin Yang, Jiaxi Yang, Jing Zhou, Jingren Zhou, Junyang Lin, Kai Dang, Keqin Bao, Kexin Yang, Le Yu, Lianghao Deng, Mei Li, Mingfeng Xue, Mingze Li, Pei Zhang, Peng Wang, Qin Zhu, Rui Men, Ruize Gao, Shixuan Liu, Shuang Luo, Tianhao Li, Tianyi Tang, Wenbiao Yin, Xingzhang Ren, Xinyu Wang, Xinyu Zhang, Xuancheng Ren, Yang Fan, Yang Su, Yichang Zhang, Yinger Zhang, Yu Wan, Yuqiong Liu, Zekun Wang, Zeyu Cui, Zhenru Zhang, Zhipeng Zhou, and Zihan Qiu. Qwen3 technical report, 2025. URL https://arxiv.org/abs/2505.09388.
Jingqing Zhang, Yao Zhao, Mohammad Saleh, and Peter Liu. PEGASUS: Pre-training with extracted gap-sentences for abstractive summarization. In Hal Daumé III and Aarti Singh (eds.), Proceedings of the 37th International Conference on Machine Learning, volume 119 of Proceedings of Machine Learning Research, pp. 11328–11339. PMLR, 13–18 Jul 2020. URL https://proceedings.mlr.press/v119/zhang20ae.html.
Ruisi Zhang, Shehzeen Samarah Hussain, Paarth Neekhara, and Farinaz Koushanfar. Remark-llm: a robust and efficient watermarking framework for generative large language models. In Proceedings of the 33rd USENIX Conference on Security Symposium, SEC '24, USA, 2024. USENIX Association. ISBN 978-1-939133-44-1.
Susan Zhang, Stephen Roller, Naman Goyal, Mikel Artetxe, Moya Chen, Shuohui Chen, Christopher Dewan, Mona Diab, Xian Li, Xi Victoria Lin, Todor Mihaylov, Myle Ott, Sam Shleifer, Kurt Shuster, Daniel Simig, Punit Singh Koura, Anjali Sridhar, Tianlu Wang, and Luke Zettlemoyer. Opt: Open pre-trained transformer language models, 2022.
A PROPOSITIONS, THEOREMS AND PROOFS
Throughout this section, denotes the secret key and denotes the corresponding keyed direction. All structural results below instead hold deterministically for any fixed .
Theorem 1 (Gaussian field marginal). Let be a fixed unit vector and suppose that
Define the keyed semantic field
Then
Proof. Since is a linear combination of independent Gaussian variables, it is Gaussian. Its mean is
Its variance is
Therefore,
Theorem 2 (Covariance of keyed semantic-field scores). Let be fixed embeddings and suppose that
For , define
Then
Proof. Because and are fixed and , both field scores have zero mean:
Therefore,
Theorem 3 (Conditional Gaussian null). Let be a null document with normalized sentence embeddings , and let
Assume that , that is independent of the randomly drawn tested key , and that,
Define
and
Then, under the null hypothesis,
Proof. Conditional on the observed document , the aggregate and the normalized vector are fixed. Since is independent of the tested key, conditioning on does not change the distribution of .
The statistic is therefore a fixed linear combination of the Gaussian vector :
Hence is Gaussian.
Its conditional mean is
Its conditional variance is
Therefore,
Proposition 1 (Continuity of the keyed field). Let . For any ,
In particular, if u and v are unit vectors, then
Thus, is continuous for every fixed key.
Proof. By linearity and the Cauchy–Schwarz inequality,
For unit vectors, , giving the second bound.
To verify continuity directly, given any , choose . Whenever , the first bound gives .
Proposition 2 (Exact invariance to sentence reordering). Let a document contain T intact sentences with fixed embeddings , and let be any permutation of . Define
Assume . For a fixed key , define, for any nonzero aggregate ,
Then
Consequently, detection by either SEMFIELD, using , or SEMFIELD-PL, using , is exactly invariant to reordering intact sentences.
Proof. Because is a permutation, it only changes the order of the terms in the finite sum. Vector addition is commutative, so
Since , the normalized aggregates are also equal. Hence
Taking absolute values gives .
Proposition 3 (Deterministic stability under aggregate perturbations). Let be the semantic aggregate of a document, and let
be the aggregate after an insertion or deletion attack. Define
For a fixed key K, define the signed scores and their absolute values:
Then
Define
Then both variant scores obey
For either variant, let be its score: for SEMFIELD and for SEMFIELD-PL. Let be that variant's detection threshold, with detection when . If , the document remains detected after the attack. Conversely, if , the attack cannot cause a detection.
Proof. For brevity, write
Since ,
Using and , we obtain
Taking Euclidean norms and applying the triangle inequality gives
By the reverse triangle inequality,
Therefore,
which proves the normalized-direction bound.
Next, the Cauchy–Schwarz inequality gives
The reverse triangle inequality for real numbers then gives
For either score , these bounds imply
If , the lower bound yields , so detection is preserved. If , the upper bound yields , so the attack cannot cause a detection.
B HIGHER-ORDER POLYNOMIAL FIELDS: EXPRESSIVITY AND COST
The linear field used in this work is the lowest-degree nonconstant polynomial field over the normalized embedding sphere. A natural extension is to use a higher-order polynomial field, which can represent interactions between embedding coordinates and may distinguish closely spaced candidate embeddings more strongly.
Let be a normalized sentence embedding. For an integer degree , we can define a higher-order feature representation as
where denotes the m-fold tensor product of . In the ideal Gaussian-key model, let be a secret random tensor whose entries are independent standard Gaussian variables. The corresponding sentence-level field score is defined by
where denotes the Frobenius inner product. The cases , and correspond to linear, quadratic, and cubic fields, respectively.
For a document containing normalized sentence embeddings , the transformed document aggregate is
The document-level statistic is obtained by normalizing this aggregate and projecting it onto the keyed direction in the transformed feature space:
Thus, changing the polynomial degree changes the geometry used during both candidate selection and detection, while preserving the document-level construction of SEMFIELD.
Because x is normalized,
Consequently, for every fixed x, the marginal field response over the ideal random-key draw satisfies
For two fixed normalized embeddings x and y, the covariance over the same ideal random-key draw between their field responses is
(40)
The degree-m field, therefore, induces the homogeneous polynomial kernel
Expressivity. Let be the cosine similarity between two nearby embeddings. When is close to one,
(42)
The expected squared difference between their field responses is
(43)
Hence, increasing the degree can enlarge the differences between the field responses of closely related candidates. A higher-order field may therefore provide a larger candidate-selection margin when the original embeddings occupy a narrow region of the embedding space.
But this additional sensitivity is not specific to generation candidates. If rewriting moves an embedding from x to y, the same factor controls the change in their field responses. Increasing m can therefore magnify both useful candidate differences and unwanted semantic movement introduced by rewriting. Higher-order fields consequently create an expressivity–stability trade-off rather than providing an unconditional increase in watermark robustness.
Computational cost. The ideal representation contains entries. Explicitly constructing and storing it requires space, while evaluating a dense degree-m field requires operations per candidate. Even when tensor symmetry is exploited, the number of distinct degree-m monomials is , which remains large for modern sentence-embedding dimensions.
Approximate polynomial feature maps, such as TENSORSKETCH (Pham & Pagh, 2025) or random Maclaurin features, can replace the explicit tensor by a fixed -dimensional representation. This reduces storage for each feature representation to and makes higher-order fields computationally feasible. However, the resulting inner products only approximate , introducing an additional approximation error whose size depends on . The same public feature map must also be fixed and used consistently during generation and detection.
Higher-order fields, therefore, offer greater local expressivity at the cost of increased sensitivity, computation, storage, and, when approximated, feature-map error. The linear field studied in this work avoids these costs and retains direct, linear dependence on the embedding representation.
C CALIBRATED RESULTS
Table 8: Fixed-threshold detection results for LLAMA-3.2-1B. The same cutoff is used for clean and all rewriting conditions. Best values in a column are bolded, and the second best are underlined.
| Method | CLEAN | PEGASUS | PARROT | DIPPER | LLM-REWRITE | Mean TPR@1% | Mean TPR@5% | Corp. PPL ↓ (PPLRatio) |
|---|---|---|---|---|---|---|---|---|
| TOKEN-BASED WATERMARKS | ||||||||
| KGW | 100.0 / 99.6 / 100.0 | 97.8 / 76.0 / 91.6 | 98.6 / 84.0 / 93.8 | 93.0 / 47.0 / 70.6 | 70.0 / 8.2 / 23.6 | 63.0 | 75.9 | 8.7 (0.897) |
| SYNTHID | 100.0 / 100.0 / 100.0 | 91.2 / 55.6 / 73.0 | 90.6 / 58.6 / 72.6 | 73.5 / 18.2 / 31.8 | 57.2 / 6.8 / 16.6 | 47.8 | 58.8 | 7.7 (0.793) |
| EXP | 99.8 / 99.2 / 99.4 | 89.5 / 56.0 / 69.0 | 89.2 / 58.0 / 71.4 | 80.0 / 28.2 / 45.4 | 56.2 / 4.4 / 12.6 | 49.2 | 59.6 | 4.5 (0.471) |
| SIR | 99.9 / 97.0 / 99.2 | 95.1 / 76.4 / 88.6 | 96.2 / 75.2 / 87.2 | 93.0 / 61.6 / 79.0 | 82.9 / 17.0 / 42.6 | 65.4 | 79.3 | 7.6 (0.783) |
| SEMANTIC WATERMARKS | ||||||||
| SEMSTAMP | 99.9 / 99.2 / 100.0 | 96.6 / 57.8 / 89.6 | 97.5 / 67.6 / 92.6 | 87.0 / 25.4 / 61.6 | 66.7 / 4.4 / 28.2 | 50.9 | 74.4 | 5.7 (0.591) |
| k-SEMSTAMP | 99.4 / 96.4 / 99.2 | 94.7 / 45.2 / 74.4 | 96.6 / 52.4 / 82.8 | 85.9 / 16.8 / 46.6 | 71.7 / 4.4 / 16.6 | 43.0 | 63.9 | 6.1 (0.633) |
| SIMMARK | 99.2 / 89.8 / 96.2 | 98.2 / 72.8 / 92.2 | 98.7 / 79.0 / 93.0 | 95.3 / 43.0 / 77.4 | 84.2 / 12.4 / 37.6 | 59.4 | 79.3 | 6.1 (0.635) |
| PMARK | 99.4 / 91.0 / 97.4 | 95.6 / 34.8 / 84.8 | 98.0 / 59.4 / 90.6 | 87.1 / 20.6 / 57.6 | 74.6 / 3.4 / 24.6 | 41.8 | 71.0 | 3.9 (0.401) |
| ALIMARK | 99.8 / 98.0 / 99.4 | 97.9 / 78.6 / 90.2 | 98.3 / 82.8 / 93.0 | 92.5 / 54.2 / 71.6 | 89.2 / 33.4 / 56.8 | 69.4 | 82.2 | 11.3 (1.168) |
| SAMARK | 95.2 / 60.2 / 87.0 | 95.3 / 62.6 / 84.8 | 96.4 / 68.2 / 88.8 | 93.3 / 49.8 / 75.4 | 92.1 / 43.6 / 74.6 | 56.9 | 82.1 | 6.8 (0.708) |
| SWORDSTAMP | 99.7 / 93.2 / 99.2 | 99.1 / 86.8 / 97.0 | 99.3 / 87.4 / 98.0 | 96.4 / 72.2 / 88.0 | 84.4 / 22.8 / 53.0 | 72.5 | 87.0 | 6.7 (0.691) |
| k-SWORDSTAMP | 99.7 / 87.0 / 95.4 | 99.0 / 69.2 / 90.4 | 99.2 / 75.8 / 92.4 | 97.7 / 59.0 / 80.6 | 95.5 / 39.8 / 70.0 | 66.2 | 85.8 | 6.8 (0.707) |
| OURS | ||||||||
| SEMFIELD | 99.8 / 96.8 / 99.0 | 99.4 / 91.8 / 98.0 | 99.5 / 92.6 / 97.8 | 98.9 / 88.2 / 96.2 | 96.2 / 66.2 / 84.6 | 87.1 | 95.1 | 6.8 (0.703) |
| SEMFIELD-PL | 100.0 / 99.6 / 100.0 | 99.7 / 95.4 / 99.0 | 99.8 / 96.2 / 99.4 | 99.1 / 86.8 / 95.8 | 97.8 / 68.6 / 89.6 | 89.3 | 96.8 | 6.9 (0.715) |
Table 9: Fixed-threshold detection results for QWEN3-1.7B. The same cutoff is used for clean and all rewriting conditions. Best values in a column are bolded, and the second best are underlined.
| Method | CLEAN | PEGASUS | PARROT | DIPPER | LLM-REWRITE | Mean TPR@1% | Mean TPR@5% | Corp. PPL ↓ (PPLRatio) |
|---|---|---|---|---|---|---|---|---|
| TOKEN-BASED WATERMARKS | ||||||||
| KGW | 99.9 / 99.6 / 99.8 | 96.8 / 79.2 / 89.6 | 98.8 / 88.2 / 96.2 | 91.4 / 44.4 / 67.8 | 76.2 / 9.8 / 27.4 | 64.2 | 76.2 | 10.9 (1.125) |
| SYNTHID | 100.0 / 99.8 / 99.8 | 90.3 / 50.8 / 72.4 | 94.0 / 59.0 / 80.2 | 72.5 / 12.2 / 30.4 | 59.3 / 6.4 / 18.0 | 45.6 | 60.2 | 9.7 (1.007) |
| EXP | 99.9 / 99.4 / 99.8 | 91.3 / 57.6 / 71.0 | 92.7 / 60.6 / 75.6 | 78.9 / 25.8 / 47.4 | 59.9 / 4.8 / 13.6 | 49.6 | 61.5 | 5.2 (0.535) |
| SIR | 99.9 / 98.4 / 99.6 | 95.6 / 83.6 / 90.0 | 98.4 / 88.4 / 94.0 | 95.2 / 61.2 / 79.4 | 81.7 / 18.8 / 38.6 | 70.1 | 80.3 | 10.4 (1.075) |
| SEMANTIC WATERMARKS | ||||||||
| SEMSTAMP | 99.6 / 94.4 / 99.0 | 94.5 / 50.0 / 83.8 | 96.5 / 64.4 / 89.8 | 80.8 / 16.4 / 48.0 | 64.5 / 4.0 / 24.0 | 45.8 | 68.9 | 8.5 (0.881) |
| k-SEMSTAMP | 98.9 / 91.4 / 98.4 | 93.6 / 37.0 / 67.4 | 94.4 / 44.6 / 75.4 | 83.3 / 12.4 / 36.0 | 71.3 / 3.6 / 20.4 | 37.8 | 59.5 | 7.6 (0.792) |
| SIMMARK | 98.6 / 80.4 / 94.0 | 97.8 / 64.6 / 87.4 | 98.1 / 67.6 / 91.0 | 93.8 / 30.0 / 66.2 | 85.7 / 15.2 / 46.2 | 51.6 | 77.0 | 9.0 (0.930) |
| PMARK | 99.5 / 98.4 / 98.8 | 96.3 / 77.0 / 86.6 | 97.8 / 85.8 / 92.6 | 86.6 / 47.2 / 62.6 | 77.0 / 18.4 / 32.4 | 65.4 | 74.6 | 4.3 (0.443) |
| ALIMARK | 100.0 / 99.4 / 100.0 | 97.4 / 77.6 / 90.6 | 98.3 / 86.4 / 94.2 | 89.6 / 42.6 / 64.2 | 88.1 / 32.2 / 57.0 | 67.6 | 81.2 | 19.0 (1.970) |
| SAMARK | 96.9 / 67.2 / 92.4 | 96.8 / 68.9 / 89.4 | 97.6 / 73.9 / 90.0 | 95.6 / 56.0 / 82.5 | 93.9 / 47.0 / 76.9 | 62.6 | 86.2 | 8.5 (0.881) |
| SWORDSTAMP | 99.8 / 96.4 / 99.4 | 99.1 / 88.4 / 97.4 | 99.5 / 91.8 / 98.4 | 96.9 / 69.1 / 89.8 | 85.2 / 21.5 / 50.0 | 73.4 | 87.0 | 9.3 (0.961) |
| k-SWORDSTAMP | 99.8 / 89.4 / 97.6 | 98.9 / 71.7 / 90.2 | 99.4 / 80.7 / 94.0 | 97.9 / 62.9 / 87.8 | 96.9 / 43.8 / 75.3 | 69.7 | 89.0 | 9.0 (0.936) |
| OURS | ||||||||
| SEMFIELD | 99.8 / 97.2 / 99.2 | 99.4 / 92.6 / 97.6 | 99.5 / 93.6 / 97.8 | 98.8 / 86.4 / 94.8 | 96.6 / 69.0 / 87.2 | 87.8 | 95.3 | 8.6 (0.889) |
| SEMFIELD-PL | 99.9 / 99.6 / 99.8 | 99.7 / 95.2 / 99.0 | 99.8 / 96.2 / 99.4 | 98.9 / 86.8 / 95.4 | 97.9 / 78.0 / 89.8 | 91.2 | 96.7 | 8.8 (0.910) |
D SEMFIELD ALGORITHMS
Table 10: Fixed-threshold detection results for OPT-1.3B. The same cutoff is used for clean and all rewriting conditions. Best values in a column are bolded, and the second best are underlined.
| Method | CLEAN | PEGASUS | PARROT | DIPPER | LLM-REWRITE | Mean TPR@1% | Mean TPR@5% | Corp. PPL ↓ (PPLRatio) |
|---|---|---|---|---|---|---|---|---|
| TOKEN-BASED WATERMARKS | ||||||||
| KGW | 99.8 / 99.8 / 99.8 | 97.6 / 81.4 / 91.6 | 98.1 / 87.2 / 95.4 | 91.2 / 47.2 / 65.8 | 68.1 / 10.4 / 22.0 | 65.2 | 74.9 | 8.5 (0.876) |
| SYNTHID | 100.0 / 100.0 / 100.0 | 90.0 / 53.4 / 68.6 | 90.4 / 58.0 / 72.2 | 76.1 / 21.4 / 36.8 | 58.3 / 7.6 / 16.2 | 48.1 | 58.8 | 8.0 (0.832) |
| EXP | 99.7 / 99.2 / 99.6 | 88.6 / 55.5 / 70.7 | 89.0 / 58.5 / 73.1 | 76.2 / 27.9 / 42.7 | 55.5 / 5.2 / 14.2 | 49.3 | 60.1 | 5.2 (0.541) |
| SIR | 99.5 / 94.6 / 98.0 | 96.4 / 68.8 / 82.0 | 97.4 / 70.0 / 83.6 | 91.5 / 31.8 / 52.4 | 85.2 / 5.8 / 18.0 | 54.2 | 66.8 | 8.3 (0.856) |
| SEMANTIC WATERMARKS | ||||||||
| SEMSTAMP | 99.9 / 98.2 / 100.0 | 95.1 / 53.0 / 86.4 | 96.8 / 60.2 / 89.6 | 86.1 / 20.4 / 59.0 | 66.4 / 5.6 / 24.0 | 47.5 | 71.8 | 8.5 (0.884) |
| k-SEMSTAMP | 99.7 / 92.6 / 99.8 | 94.7 / 42.0 / 75.2 | 95.4 / 41.2 / 76.4 | 87.0 / 14.2 / 46.2 | 69.6 / 3.4 / 14.6 | 38.7 | 62.4 | 6.5 (0.668) |
| SIMMARK | 98.6 / 84.6 / 94.0 | 97.1 / 67.4 / 88.2 | 97.5 / 70.6 / 89.2 | 93.8 / 41.6 / 72.4 | 86.3 / 18.6 / 47.2 | 56.6 | 78.2 | 6.7 (0.698) |
| PMARK | 99.9 / 99.4 / 99.8 | 95.7 / 77.0 / 86.4 | 99.1 / 93.2 / 97.0 | 86.2 / 49.0 / 63.4 | 69.3 / 13.8 / 27.4 | 66.5 | 74.8 | 4.3 (0.442) |
| ALIMARK | 99.8 / 99.4 / 99.4 | 98.5 / 83.4 / 94.6 | 98.8 / 90.6 / 96.0 | 92.6 / 51.4 / 71.6 | 91.1 / 42.2 / 64.8 | 73.4 | 85.3 | 8.5 (0.878) |
| SAMARK | 98.9 / 70.6 / 95.6 | 98.7 / 74.0 / 94.0 | 99.1 / 76.4 / 96.0 | 96.8 / 54.4 / 83.6 | 95.4 / 46.6 / 78.8 | 64.4 | 89.6 | 6.7 (0.697) |
| SWORDSTAMP | 100.0 / 99.8 / 99.8 | 99.5 / 92.0 / 98.2 | 99.7 / 95.0 / 99.2 | 97.5 / 76.6 / 91.8 | 86.5 / 20.8 / 49.2 | 76.8 | 87.6 | 6.7 (0.689) |
| k-SWORDSTAMP | 99.9 / 90.6 / 98.4 | 99.1 / 72.4 / 92.0 | 99.5 / 79.6 / 93.8 | 98.2 / 63.0 / 84.8 | 96.1 / 33.8 / 67.6 | 67.9 | 87.3 | 7.0 (0.725) |
| OURS | ||||||||
| SEMFIELD | 99.8 / 97.0 / 99.6 | 99.5 / 92.2 / 98.6 | 99.5 / 91.8 / 98.8 | 99.0 / 87.2 / 96.4 | 96.6 / 67.4 / 86.2 | 87.1 | 95.9 | 6.3 (0.656) |
| SEMFIELD-PL | 100.0 / 100.0 / 100.0 | 99.8 / 95.0 / 99.6 | 99.8 / 95.8 / 99.6 | 99.1 / 85.0 / 95.8 | 97.5 / 71.8 / 88.0 | 89.5 | 96.6 | 6.4 (0.661) |
Algorithm 1: Generation
Require: Prompt p, model M, key K, candidate count Q, sentence budget T, variant
Ensure: Watermarked document D
1: KeyedGaussian(K)
2:
3:
4: for do
5: Sample completed candidates conditioned on p and D
6: for do
7: Normalize(Embed( ))
8:
9:
10: end for
11: if then
12:
13: else if t = 1 then
14:
15:
16: Set if
17: else
18:
19: end if
20:
21:
22: Append to D
23: end for
24: return D
Algorithm 2: Detection
Require: Document , key , variant , variant-specific threshold
Ensure: Detection decision
1: KeyedGaussian()
2:
3: for do
4: Normalize(Embed())
5:
6: end for
7:
8: if then
9:
10: else
11:
12: end if
13: if then
14: return watermarked
15: else
16: return non-watermarked
17: end if
Figure 3: Generation and detection for regular SEMFIELD () and polarity-locked SEMFIELD-PL ().