Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

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

About

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., 2023) applies watermark on the semantic representation of sentences and demonstrates promising robustness. SemStamp employs locality-sensitive hashing (LSH) to partition the semantic space with arbitrary hyperplanes, which results in a suboptimal tradeoff between robustness and speed. We propose k-SemStamp, a simple yet effective enhancement of SemStamp, utilizing k-means clustering as an alternative of LSH to partition the embedding space with awareness of inherent semantic structure. Experimental results indicate that k-SemStamp saliently improves its robustness and sampling efficiency while preserving the generation quality, advancing a more effective tool for machine-generated text detection.

Abe Bohan Hou, Jingyu Zhang, Yichen Wang, Daniel Khashabi, Tianxing He• 2024

Related benchmarks

TaskDatasetResultRank
Watermark DetectionC4
Detection Accuracy (No Attack)100
24
Watermarking DetectionBookSum (test)
Detection Rate (No Attack)99.6
24
Watermark DetectionBookSum
TP @ FP=1%9.6
24
Watermark Detection RobustnessC4
TP@FP=1%0.00e+0
12
Machine TranslationWMT De-En 19
COMET87.5
6
SummarizationXsum
ROUGE-L20.7
6
Watermarking Token EfficiencyBookSum (test)
Avg Tokens per Sentence246.9
5
Watermark DetectionC4
TPR @ FPR=1%0.492
5
Showing 8 of 8 rows

Other info

Follow for update