用流行病变化点模型实现高效水印文本定位
Fast segmentation of watermarked texts from large language models through an epidemic change-point framework
- 借鉴流行病学模型检测文本中水印的突变点
- 在多个数据集上速度与准确率均优于现有方法
- 适合需要快速识别机器生成内容的研究者
随着大语言模型的广泛应用,内容真实性引发关注,催生了多种水印方案。这些方案利用密钥检测机器生成文本,对读者保持不可见。检测通常转化为是否存在水印的统计假设检验,已有充分研究。相比之下,精确定位文本中哪些片段被水印的细分任务仍少有探索;现有方法常缺乏可扩展性或对改写和后编辑的鲁棒性。本文从流行病变化点视角切入该分割问题,提出WISER——一种新颖且计算高效的水印分割算法。我们建立了有限样本下的误差界与一致性理论,可检测单篇文本中的多个水印段落。结合理论分析,大量数值实验表明,WISER在多种嵌入不同水印方案的基准数据集上,均在计算速度和准确率方面超越当前最优基线方法。这些理论与实证结果共同证明WISER是水印定位的有效工具,并展示了经典统计思想如何为现代紧迫问题提供理论可信且高效的解决方案。
原文摘要 · Abstract (English)
With the growing use of large language models, concerns over content authenticity have spurred a variety of watermarking schemes. These schemes use secret keys to detect machine-generated text while remaining imperceptible to readers. Detection typically reduces to statistical hypothesis testing for the presence of watermarks, a topic that is now well studied. In contrast, the finer-grained task of localizing which segments of a text are watermarked is much less explored; existing approaches often lack scalability or guarantees robust to paraphrasing and post-editing. We bring a new perspective to this segmentation problem through the lens of epidemic change-points and, by exploiting this connection, propose WISER, a novel and computationally efficient watermark segmentation algorithm. We establish finite-sample error bounds and consistency for detecting multiple watermarked segments in a single text. Complementing these theoretical results, our extensive numerical experiments show that WISER outperforms state-of-the-art baseline methods, both in terms of computational speed as well as accuracy, on various benchmark datasets embedded with diverse watermarking schemes. Together, these theoretical and empirical results position WISER as an effective tool for watermark localization and illustrate how classical statistical ideas can yield theoretically valid and computationally efficient solutions to a modern problem of immediate importance.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。