k-SemStamp: A Clustering-Based Semantic Watermark for Detection of Machine-Generated Text
Hou, Abe Bohan, Zhang, Jingyu, Wang, Yichen, Khashabi, Daniel, He, Tianxing
–arXiv.org Artificial Intelligence
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.
arXiv.org Artificial Intelligence
Jun-8-2024
- Country:
- North America > United States
- New York > New York County > New York City (0.04)
- Asia
- Middle East > UAE
- Abu Dhabi Emirate > Abu Dhabi (0.14)
- China > Shaanxi Province
- Xi'an (0.04)
- Middle East > UAE
- Africa > Middle East
- Egypt (0.04)
- North America > United States
- Genre:
- Research Report (0.40)
- Technology: