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

基于索引伪随机码的编辑距离鲁棒水印

Edit Distance Robust Watermarks via Indexing Pseudorandom Codes

MIT(麻省理工学院)

Noah Golowich, Ankur Moitra

AI总结:

针对AI生成文本检测问题,提出一种基于索引伪随机码的水印方案,在字母表大小为安全参数多项式增长的条件下,同时实现了不可检测性以及对对抗性插入、替换和删除的编辑距离鲁棒性。

摘要:

受检测AI生成文本问题的启发,我们考虑了为语言模型输出提供具有可证明保证的水印问题。我们旨在实现满足以下条件的水印:(a) 不可检测性,这是由Christ, Gunn & Zamir (2024)提出的密码学概念,规定在计算上很难将带水印的语言模型输出与模型的真实输出分布区分开来;(b) 对在带水印文本中引入恒定比例的对抗性插入、替换和删除的信道具有鲁棒性。早期方案只能处理随机替换和删除,因此我们旨在实现一种在编辑距离下成立的更自然且更具吸引力的鲁棒性保证。我们的主要结果是提出了一种水印方案,当语言模型的字母表大小允许作为安全参数的多项式增长时,该方案同时实现了不可检测性和对编辑的鲁棒性。为了推导这种方案,我们采用了Christ & Gunn (2024)引入的方法,该方法首先构造满足类似于上述不可检测性和鲁棒性属性的伪随机码;我们的关键思想是通过将符号解释为码字中的索引来处理对抗性插入和删除,我们将其称为索引伪随机码。此外,我们的码依赖于比先前工作更弱的计算假设。然后我们证明,存在一种通用转换,可以将大字母表上的此类码转换为适用于任意语言模型的水印方案。

英文摘要:

Motivated by the problem of detecting AI-generated text, we consider the problem of watermarking the output of language models with provable guarantees. We aim for watermarks which satisfy: (a) undetectability, a cryptographic notion introduced by Christ, Gunn & Zamir (2024) which stipulates that it is computationally hard to distinguish watermarked language model outputs from the model's actual output distribution; and (b) robustness to channels which introduce a constant fraction of adversarial insertions, substitutions, and deletions to the watermarked text. Earlier schemes could only handle stochastic substitutions and deletions, and thus we are aiming for a more natural and appealing robustness guarantee that holds with respect to edit distance. Our main result is a watermarking scheme which achieves both undetectability and robustness to edits when the alphabet size for the language model is allowed to grow as a polynomial in the security parameter. To derive such a scheme, we follow an approach introduced by Christ & Gunn (2024), which proceeds via first constructing pseudorandom codes satisfying undetectability and robustness properties analogous to those above; our key idea is to handle adversarial insertions and deletions by interpreting the symbols as indices into the codeword, which we call indexing pseudorandom codes. Additionally, our codes rely on weaker computational assumptions than used in previous work. Then we show that there is a generic transformation from such codes over large alphabets to watermarking schemes for arbitrary language models.

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

↑