Less is More: Sparse Watermarking in LLMs with Enhanced Text Quality

Duy C. Hoang, Hung T. Q. Le, Rui Chu, Ping Li, Weijie Zhao +2 more
7/17/2024
cs.CRcs.AIcs.CL

No official code found. Best implementation: mail-research/SpARK-llm-watermarking (3 stars, MIT, last commit 2025-07-10).

Abstract

With the widespread adoption of Large Language Models (LLMs), concerns about potential misuse have emerged. To this end, watermarking has been adapted to LLM, enabling a simple and effective way to detect and monitor generated text. However, while the existing methods can differentiate between watermarked and unwatermarked text with high accuracy, they often face a trade-off between the quality of the generated text and the effectiveness of the watermarking process. In this work, we present a novel type of LLM watermark, Sparse Watermark, which aims to mitigate this trade-off by applying watermarks to a small subset of generated tokens distributed across the text. The key strategy involves anchoring watermarked tokens to words that have specific Part-of-Speech (POS) tags. Our experimental results demonstrate that the proposed watermarking scheme achieves high detectability while generating text that outperforms previous LLM watermarking methods in quality across various tasks

View on arXivView PDF

Code Implementations(1)

MIT
30Shell, CythonJul 15, 20241 years agoMIT

Similar Papers

Cite this paper

@article{hoang2024less,
  title  = {Less is More: Sparse Watermarking in LLMs with Enhanced Text Quality},
  author = {Duy C. Hoang and Hung T. Q. Le and Rui Chu and Ping Li and Weijie Zhao and Yingjie Lao and Khoa D. Doan},
  year   = {2024},
  eprint = {2407.13803},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.13803v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2407.13803.svg)](https://codeofpaper.com/paper/2407.13803)

Discussion