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

HATS: 高精度三集合水印技术用于大语言模型

HATS: High-Accuracy Triple-Set Watermarking for Large Language Models

Institute of Computer Application, China Academy of Engineering Physics, Mianyang, China(计算机应用研究所,工程物理科学院,绵阳,中国);National Interdisciplinary Research Center of Engineering Physics, Mianyang, China(工程物理跨学科研究中心,绵阳,中国);School of Cybersecurity (Xin Gu Industrial College), Chengdu University of Information Technology, Mianyang, China(网络安全学院(新谷工业学院),信息科技大学,绵阳,中国)

Zhiqing Hu, Chenxu Zhao, Jiazhong Lu, Xiaolei Liu

AI总结:

HATS通过三集合划分和统计检测技术,实现大语言模型的高精度水印检测,同时保持文本可读性。

摘要:

通过在输出中嵌入隐含信号的水印技术可以遏制大语言模型生成文本的滥用。我们提出了一种水印,将词汇表在每个解码步骤中划分为三个集合(绿色/黄色/红色),并以固定比例划分,限制采样仅限于绿色和黄色集合。在检测时,我们重新播放相同的划分,计算绿色富集和红色贫乏统计量,将其转换为单侧z分数,并通过Fisher方法汇总p值以决定一段文字是否被水印标记。我们实现了生成、检测和测试,使用Llama 2 7B,并评估了真阳性率、假阳性率和文本质量。结果表明,三集合方案在固定假阳性率下实现了高检测准确性,同时保持了可读性。

英文摘要:

Misuse of LLM-generated text can be curbed by watermarking techniques that embed implicit signals into the output. We propose a watermark that partitions the vocabulary at each decoding step into three sets (Green/Yellow/Red) with fixed ratios and restricts sampling to the Green and Yellow sets. At detection time, we replay the same partitions, compute Green-enrichment and Red-depletion statistics, convert them to one-sided z-scores, and aggregate their p-values via Fisher's method to decide whether a passage is watermarked. We implement generation, detection, and testing on Llama 2 7B, and evaluate true-positive rate, false-positive rate, and text quality. Results show that the triple-partition scheme achieves high detection accuracy at fixed FPR while preserving readability.

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

↑