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

REMARK-LLM:面向生成式大型语言模型的鲁棒高效水印框架

REMARK-LLM: A Robust and Efficient Watermarking Framework for Generative Large Language Models

University of California, San Diego(加利福尼亚大学圣迭戈分校)

Ruisi Zhang, Shehzeen Samarah Hussain, Paarth Neekhara, Farinaz Koushanfar

AI总结:

本文提出 REMARK-LLM 水印框架,通过学习式编码、重参数化、签名解码与优化 beam search,在保持语义完整性的同时提升水印容量、迁移性和抗攻击能力。

摘要:

我们提出 REMARK-LLM,这是一种新颖、高效且鲁棒的水印框架,专为大型语言模型(LLM)生成的文本而设计。利用 LLM 合成类人内容需要大量计算资源和广泛数据集,其中包含关键知识产权(IP)。然而,生成内容容易受到恶意利用,包括发送垃圾信息和剽窃。为应对这些挑战,REMARK-LLM 提出三个新组件:(i)基于学习的消息编码模块,用于将二进制签名注入 LLM 生成文本;(ii)重参数化模块,用于将消息编码产生的稠密分布转换为带水印文本 token 的稀疏分布;(iii)专用于签名提取的解码模块。此外,我们引入一种优化的 beam search 算法,以保证生成内容的连贯性和一致性。REMARK-LLM 经过严格训练,旨在促进带水印内容保持语义完整性,同时确保有效检索水印。在多个未见过的数据集上的广泛评估凸显了 REMARK-LLM 的能力和可迁移性:与现有技术相比,它能在相同文本中插入多 2 倍的签名比特,同时保持语义完整性。此外,REMARK-LLM 对一系列水印检测和移除攻击表现出更强的抵御能力。

英文摘要:

We present REMARK-LLM, a novel efficient, and robust watermarking framework designed for texts generated by large language models (LLMs). Synthesizing human-like content using LLMs necessitates vast computational resources and extensive datasets, encapsulating critical intellectual property (IP). However, the generated content is prone to malicious exploitation, including spamming and plagiarism. To address the challenges, REMARK-LLM proposes three new components: (i) a learning-based message encoding module to infuse binary signatures into LLM-generated texts; (ii) a reparameterization module to transform the dense distributions from the message encoding to the sparse distribution of the watermarked textual tokens; (iii) a decoding module dedicated for signature extraction; Furthermore, we introduce an optimized beam search algorithm to guarantee the coherence and consistency of the generated content. REMARK-LLM is rigorously trained to encourage the preservation of semantic integrity in watermarked content, while ensuring effective watermark retrieval. Extensive evaluations on multiple unseen datasets highlight REMARK-LLM proficiency and transferability in inserting 2 times more signature bits into the same texts when compared to prior art, all while maintaining semantic integrity. Furthermore, REMARK-LLM exhibits better resilience against a spectrum of watermark detection and removal attacks.

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

↑