NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

AliMark: Enhancing Robustness of Sentence-Level Watermarking Against Text Paraphrasing

Yuexin Li, Wenjie Qu, Linyu Wu, Yulin Chen, Yufei He, Tri Cao, Bryan Hooi, Jiaheng Zhang

As Large Language Models (LLMs) become ubiquitous, watermarking AI-generated text is critical for transparency and accountability. Early token-level watermarks, which subtly alter word choice probabilities, are notoriously fragile against simple paraphrasing. This led to the development of sentence-level watermarking, which embeds signals into the semantic embeddings of sentences.

However, existing sentence-level methods suffer from a critical flaw: they are predominantly prefix-based. Because the watermark in sentence $N$ relies on the context of sentence $N-1$, structural perturbations—such as splitting one sentence into two or merging two into one—disrupt the context for all subsequent sentences. This cascading loss of signal renders the text indistinguishable from human writing, especially when processed by strong paraphrasers like DIPPER or GPT-3.5. To address this vulnerability, researchers have introduced AliMark, a framework designed to survive the paraphraser's knife.

Rethinking Watermarks as Sequence Alignment

AliMark reformulates sentence-level watermarking as a global bit sequence encoding and alignment problem. It abandons fragile local dependencies in favor of a robust, two-phase approach:

1. Watermarked Generation via Semantic Anchoring

Instead of chaining sentences together using the previous sentence as a key, AliMark utilizes a global secret bit sequence. During generation, the LLM produces multiple candidate sentences. The system selects the candidate whose semantic embedding best matches a specific block of bits from the secret sequence. By embedding bits into the sign of the inner product between sentence embeddings and secret orthonormal vectors, the watermark is anchored to the meaning of the sentence rather than its exact phrasing.

2. Two-Stage Detection

To counter structural attacks during detection, AliMark employs a novel two-stage recovery mechanism:

  • The Re-Structurer (RS): The detector proactively generates multiple structural variants of the suspicious text by attempting to re-merge or re-split adjacent sentences.
  • Adaptive Bit Sequence Alignment (ABSA): For each variant, AliMark extracts the bit sequence and aligns it against the global secret key. It uses a metric called the Block Edit Rate (BER)—an adaptation of Levenshtein distance optimized for sentence-sized blocks. By finding the optimal alignment across variants, AliMark effectively treats sentence merges and splits as insertion/deletion errors, "undoing" the paraphraser's structural edits.

Experimental Setup and Key Results

The authors evaluated AliMark across three diverse datasets (Booksum, C4, and Natural Questions) and tested it against four paraphrasers (Pegasus, Parrot, DIPPER, and GPT-3.5). The results demonstrate a significant leap in robustness over state-of-the-art baselines like SemStamp and PMark.

  • Resilience to Strong Attacks: Under aggressive paraphrasing by GPT-3.5 on the Booksum dataset, AliMark maintained a True Positive Rate (TPR) of 66.6% at a 5% False Positive Rate (FPR). In contrast, the best-performing baseline (PMark) plummeted to 33.0%.
  • Adversarial Stability: In probing experiments involving intentional 20% sentence deletion or reordering, AliMark's detection rates remained highly stable, whereas prefix-based methods experienced cascading failures.
  • Preserved Text Quality: Perplexity (PPL) evaluations confirmed that AliMark introduces negligible degradation to the naturalness of the generated text, matching the quality of unwatermarked LLM outputs.

Limitations and Future Directions

Despite its strengths, AliMark has practical limitations. The Re-Structurer currently operates in $O(N^2)$ time and handles only single-step operations (e.g., one merge or one split). Complex, multi-sentence restructuring—such as merging three sentences into one—would require a more sophisticated approach.

Additionally, like most statistical watermarks, AliMark struggles with very short texts (3–4 sentences) due to an insufficient signal surface to achieve high confidence without raising the false-positive risk. Future work may explore training custom models to intelligently predict which sentences were likely merged or split, thereby pruning the search space and improving detection efficiency.

Summary updated

BibTeX
@inproceedings{li2026alimark,
  author = {Yuexin Li and Wenjie Qu and Linyu Wu and Yulin Chen and Yufei He and Tri Cao and Bryan Hooi and Jiaheng Zhang},
  title = {{AliMark: Enhancing Robustness of Sentence-Level Watermarking Against Text Paraphrasing}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=jQmlwZSPuw},
}
Figure