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

一种面向大语言模型的认证鲁棒水印

A Certified Robust Watermark For Large Language Models

Xianheng Feng, Jian Liu, Kui Ren, Chun Chen

AI总结:

本文提出首个基于随机平滑的大语言模型认证鲁棒水印算法,通过在嵌入和置换空间注入噪声并采用双模型生成与检测,实现可证明的鲁棒性保证,实验显示其性能与基线相当且水印难以被移除。

摘要:

水印算法在AI生成文本识别中的有效性已引起广泛关注。与此同时,越来越多水印算法被提出以增强对各种水印攻击的鲁棒性。然而,这些水印算法仍然容易受到自适应或未见攻击的影响。为了解决这一问题,据我们所知,我们提出了首个基于随机平滑的大语言模型认证鲁棒水印算法,能够为带水印文本提供可证明的保证。具体来说,我们分别使用两个不同的模型进行水印生成和检测,并在水印检测器的训练和推理阶段分别在嵌入空间和置换空间中添加高斯噪声和均匀噪声,以增强水印检测器的认证鲁棒性并推导出认证半径。为了评估我们水印算法的经验鲁棒性和认证鲁棒性,我们进行了全面的实验。结果表明,我们的水印算法表现出与基线算法相当的性能,同时我们的算法能够推导出显著的认证鲁棒性,这意味着即使在显著改动下,我们的水印也无法被移除。

英文摘要:

The effectiveness of watermark algorithms in AI-generated text identification has garnered significant attention. Concurrently, an increasing number of watermark algorithms have been proposed to enhance the robustness against various watermark attacks. However, these watermark algorithms remain susceptible to adaptive or unseen attacks. To address this issue, to our best knowledge, we propose the first certified robust watermark algorithm for large language models based on randomized smoothing, which can provide provable guarantees for watermarked text. Specifically, we utilize two different models respectively for watermark generation and detection and add Gaussian and Uniform noise respectively in the embedding and permutation space during the training and inference stages of the watermark detector to enhance the certified robustness of our watermark detector and derive certified radius. To evaluate the empirical robustness and certified robustness of our watermark algorithm, we conducted comprehensive experiments. The results indicate that our watermark algorithm shows comparable performance to baseline algorithms while our algorithm can derive substantial certified robustness, which means that our watermark can not be removed even under significant alterations.

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

↑