arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.10281cs.CRcs.CLcs.LG
收藏

用纠错码对语言模型进行水印标记

Watermarking Language Models with Error Correcting Codes

University of Pennsylvania(宾夕法尼亚大学);New Jersey Institute of Technology(新泽西理工学院)

Patrick Chao, Yan Sun, Edgar Dobriban, Hamed Hassani

AI总结:

本研究提出了一种基于纠错码的鲁棒二进制码水印方法,用于区分机器生成文本与人类文本,具有鲁棒性和高效性。

摘要:

近年来,大语言模型的进步使得生成逼真的机器生成内容成为可能。水印标记是一种有前景的方法,用于区分机器生成文本和人类文本,通过在输出中嵌入统计信号,这些信号在人类看来通常是不可检测的。我们提出了一种水印框架,通过纠错码编码这些信号。我们的方法称为鲁棒二进制码(RBC)水印,不会显著降低质量。我们评估了我们的水印在基础模型和指令微调模型上的表现,并发现我们的水印对编辑、删除和翻译具有鲁棒性。我们从信息论的角度探讨了水印标记,提供了一种强大的统计检测测试以及生成p值的方法,并提供了理论保证。我们的实证发现表明,我们的水印是快速、强大且鲁棒的,与最先进的方法相比表现优异。

英文摘要:

Recent progress in large language models enables the creation of realistic machine-generated content. Watermarking is a promising approach to distinguish machine-generated text from human text, embedding statistical signals in the output that are ideally undetectable to humans. We propose a watermarking framework that encodes such signals through an error correcting code. Our method, termed robust binary code (RBC) watermark, introduces no noticeable degradation in quality. We evaluate our watermark on base and instruction fine-tuned models and find that our watermark is robust to edits, deletions, and translations. We provide an information-theoretic perspective on watermarking, a powerful statistical test for detection and for generating $p$-values, and theoretical guarantees. Our empirical findings suggest our watermark is fast, powerful, and robust, comparing favorably to the state-of-the-art.

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

↑