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

面向大语言模型的具有增强可检测性与语义连贯性的令牌特定水印方法

Token-Specific Watermarking with Enhanced Detectability and Semantic Coherence for Large Language Models

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

Mingjia Huo, Sai Ashish Somayajula, Youwei Liang, Ruisi Zhang, Farinaz Koushanfar, Pengtao Xie

AI总结:

本文提出一种基于多目标优化和轻量级网络的令牌特定水印方法,通过同时优化检测与语义目标,在保持大语言模型生成文本语义连贯性的同时提升水印可检测性。

摘要:

大语言模型生成高质量回复,但可能包含错误信息,这凸显了通过区分AI生成文本与人类撰写文本来进行监管的必要性。水印技术在这一背景下至关重要,它涉及在LLM推理阶段将隐藏标记嵌入文本中,且对人类不可感知。同时实现所插入水印的可检测性与生成文本的语义质量具有挑战性。尽管当前水印算法在这一方向上已取得有前景的进展,但仍有显著的改进空间。为应对这些挑战,我们提出了一种新颖的多目标优化(MOO)水印方法,该方法利用轻量级网络生成令牌特定的水印logits和分割比率。通过利用MOO同时优化检测目标函数和语义目标函数,我们的方法同时实现了可检测性和语义完整性。实验结果表明,我们的方法在增强LLM生成文本的可检测性的同时保持其语义连贯性方面优于当前水印技术。我们的代码可在https://github.com/mignonjia/TS_watermark获取。

英文摘要:

Large language models generate high-quality responses with potential misinformation, underscoring the need for regulation by distinguishing AI-generated and human-written texts. Watermarking is pivotal in this context, which involves embedding hidden markers in texts during the LLM inference phase, which is imperceptible to humans. Achieving both the detectability of inserted watermarks and the semantic quality of generated texts is challenging. While current watermarking algorithms have made promising progress in this direction, there remains significant scope for improvement. To address these challenges, we introduce a novel multi-objective optimization (MOO) approach for watermarking that utilizes lightweight networks to generate token-specific watermarking logits and splitting ratios. By leveraging MOO to optimize for both detection and semantic objective functions, our method simultaneously achieves detectability and semantic integrity. Experimental results show that our method outperforms current watermarking techniques in enhancing the detectability of texts generated by LLMs while maintaining their semantic coherence. Our code is available at https://github.com/mignonjia/TS_watermark.

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

↑