paper-with-me

홈 › Papers

SemStamp: A Semantic Watermark with Paraphrastic Robustness for Text Generation

2023-10-06 · Abe Bohan Hou, Jingyu Zhang, Tianxing He, Yichen Wang, Yung-Sung Chuang, Hongwei Wang, Lingfeng Shen, Benjamin Van Durme, Daniel Khashabi, Yulia Tsvetkov

Existing watermarking algorithms are vulnerable to paraphrase attacks because of their token-level design. To address this issue, we propose SemStamp, a robust sentence-level semantic watermarking algorithm based on locality-sensitive hashing (LSH), which partitions the semantic space of sentences. The algorithm encodes and LSH-hashes a candidate sentence generated by an LLM, and conducts sentence-level rejection sampling until the sampled sentence falls in watermarked partitions in the semantic embedding space. A margin-based constraint is used to enhance its robustness. To show the advantages of our algorithm, we propose a "bigram" paraphrase attack using the paraphrase that has the fewest bigram overlaps with the original sentence. This attack is shown to be effective against the existing token-level watermarking method. Experimental results show that our novel semantic watermark algorithm is not only more robust than the previous state-of-the-art method on both common and bigram paraphrase attacks, but also is better at preserving the quality of generation.

📄 PDF Abstract BibTeX arXiv:2310.03991

Code (2)

bohanhou14/semstamp 공식 구현 pytorch
DabiriAghdam/SimMark pytorch

Tasks

SentenceText Generation

Similar Papers 제목 키워드 기반

k-SemStamp: A Clustering-Based Semantic Watermark for Detection of Machine-Generated Text

2024-02-17 · Abe Bohan Hou, Jingyu Zhang, Yichen Wang, Daniel Khashabi 외

Recent watermarked generation algorithms inject detectable signatures during language generation to facilitate post-hoc detection. While token-level watermarks are vulnerable to paraphrase attacks, SemStamp (Hou et al., …

Text DetectionText Generation

A Semantic Invariant Robust Watermark for Large Language Models

2023-10-10 · Aiwei Liu, Leyi Pan, Xuming Hu, Shiao Meng 외

Watermark algorithms for large language models (LLMs) have achieved extremely high accuracy in detecting text generated by LLMs. Such algorithms typically involve adding extra watermark logits to the LLM's logits at each…

Robust Text Watermarking for Large Language Models via Dual Semantic Embeddings

2026-06-30 · Jonas Schäfer, Cezary Pilaszewicz, Gerhard Wunder arxiv

This work presents Dual-Embedding Watermarking (DEW), a semantic watermarking scheme for large language models (LLMs) that leverages contextual and token-level embeddings to enhance robustness against paraphrasing and tr…

Robustness Assessment and Enhancement of Text Watermarking for Google's SynthID

2025-08-27 · Xia Han, Qi Li, Jianbing Ni, Mohammad Zulkernine arxiv

Recent advances in LLM watermarking methods such as SynthID-Text by Google DeepMind offer promising solutions for tracing the provenance of AI-generated text. However, our robustness assessment reveals that SynthID-Text …

Information Retrieval

SimKey: A Semantically Aware Key Module for Watermarking Language Models

2025-10-11 · Shingo Kodama, Haya Diwan, Lucas Rosenblatt, R. Teal Witter 외 arxiv

The rapid spread of text generated by large language models (LLMs) makes it increasingly difficult to distinguish authentic human writing from machine output. Watermarking offers a promising solution: model owners can em…