Manuscript Offprint

arXiv:2610.11848

SemField: A Simple, Linear, Continuous, yet Robust Semantic Watermark

Varun Gumma, Navonil Majumdar, Soujanya Poria

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 1^{1}, 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 2^{2}. 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:

  1. 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.

  2. 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.

  3. 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.

1^{1}We use “field” to mean a continuous scalar function over the sentence-embedding space

2^{2}as close as possible to human generations

References (36)