arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.13803cs.CRcs.AIcs.CL
收藏

少即是多:具有增强文本质量的LLM稀疏水印

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

College of Engineering and Computer Science, VinUniversity(VinUniversity工程与计算机科学学院);Tufts University(塔夫茨大学);VecML

Duy C. Hoang, Hung T. Q. Le, Rui Chu, Ping Li, Weijie Zhao, Yingjie Lao, Khoa D. Doan

AI总结:

本文提出稀疏水印,通过仅对文本中少量具有特定词性标签的令牌施加水印,缓解了LLM水印中文本质量与检测效果之间的权衡,实现了高可检测性并提升了生成文本质量。

摘要:

随着大型语言模型(LLMs)的广泛采用,关于其潜在滥用的担忧已经出现。为此,水印技术已被适配到LLM中,提供了一种简单有效的方法来检测和监控生成的文本。然而,尽管现有方法能够以高精度区分带水印和未带水印的文本,它们常常面临生成文本质量与水印过程有效性之间的权衡。在这项工作中,我们提出了一种新型的LLM水印——稀疏水印,旨在通过将水印应用于分布在文本中的一小部分生成令牌来缓解这种权衡。关键策略是将带水印的令牌锚定到具有特定词性(POS)标签的单词上。我们的实验结果表明,所提出的水印方案实现了高可检测性,同时生成的文本在各种任务中的质量优于之前的LLM水印方法。

英文摘要:

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

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑