arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2401.06829cs.CLcs.AI
收藏

大型语言模型的交叉注意力水印

Cross-Attention Watermarking of Large Language Models

Sorbonne University(索邦大学);National Institute of Informatics(情报学研究所);The University of Tokyo(东京大学)

Folco Bertini Baldassini, Huy H. Nguyen, Ching-Chung Chang, Isao Echizen

AI总结:

提出一种基于交叉注意力机制的LLM语言水印方法,在推理时不可察觉地嵌入信息并保持文本质量,通过两种实现方案揭示水印鲁棒性与文本质量的权衡。

摘要:

本文提出了一种语言模型语言水印的新方法,该方法在保持输出文本可读性和原意的同时,将信息不可察觉地插入其中。该方法使用交叉注意力机制在推理过程中将水印嵌入文本。文中提出了两种使用交叉注意力的方法,以最大限度地减少水印对预训练模型性能的影响。通过探索优化水印的不同训练策略,以及在现实场景中应用该方法所面临的挑战和影响,阐明了水印鲁棒性与文本质量之间的权衡。研究发现,对于高熵句子,水印选择会显著影响生成的输出。这种主动水印方法在未来的模型开发中具有潜在应用价值。

英文摘要:

A new approach to linguistic watermarking of language models is presented in which information is imperceptibly inserted into the output text while preserving its readability and original meaning. A cross-attention mechanism is used to embed watermarks in the text during inference. Two methods using cross-attention are presented that minimize the effect of watermarking on the performance of a pretrained model. Exploration of different training strategies for optimizing the watermarking and of the challenges and implications of applying this approach in real-world scenarios clarified the tradeoff between watermark robustness and text quality. Watermark selection substantially affects the generated output for high entropy sentences. This proactive watermarking approach has potential application in future model development.

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

↑