高效识别混合来源文本中的含水印片段
Efficiently Identifying Watermarked Segments in Mixed-Source Texts
AI总结:
针对现有水印检测难以识别混合来源长文本中局部水印片段的问题,受剽窃检测启发提出几何覆盖检测框架和自适应在线学习算法,在三种主流水印技术上准确率优于基线,且具可扩展性。
摘要:
大语言模型(LLM)中的文本水印正越来越多地被用于检测合成文本,以减少虚假新闻、学术不端等滥用情况。现有水印检测技术主要聚焦于对整篇文档是否含水印进行分类,却往往忽略了在更长的混合来源文档中识别单个水印片段这一常见场景。受剽窃检测系统启发,我们提出了两种用于局部水印检测的新方法。首先,我们开发了几何覆盖检测框架,旨在判定长文本中是否存在水印片段。其次,我们提出了一种自适应在线学习算法,可精确定位文本中水印片段的位置。在三种主流水印技术(KGW-Watermark、Unigram-Watermark和Gumbel-Watermark)上的评估显示,我们的方法准确率较高,性能显著优于基线方法。此外,我们的框架可适配其他水印技术,为精准水印检测提供了新的思路。我们的代码已公开于https://github.com/XuandongZhao/llm-watermark-location。
英文摘要:
Text watermarks in large language models (LLMs) are increasingly used to detect synthetic text, mitigating misuse cases like fake news and academic dishonesty. While existing watermarking detection techniques primarily focus on classifying entire documents as watermarked or not, they often neglect the common scenario of identifying individual watermark segments within longer, mixed-source documents. Drawing inspiration from plagiarism detection systems, we propose two novel methods for partial watermark detection. First, we develop a geometry cover detection framework aimed at determining whether there is a watermark segment in long text. Second, we introduce an adaptive online learning algorithm to pinpoint the precise location of watermark segments within the text. Evaluated on three popular watermarking techniques (KGW-Watermark, Unigram-Watermark, and Gumbel-Watermark), our approach achieves high accuracy, significantly outperforming baseline methods. Moreover, our framework is adaptable to other watermarking techniques, offering new insights for precise watermark detection. Our code is publicly available at https://github.com/XuandongZhao/llm-watermark-location
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。