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

MorphMark:面向大语言模型的灵活自适应水印技术

MorphMark: Flexible Adaptive Watermarking for Large Language Models

Zongqi Wang, Tianle Gu, Baoyuan Wu, Yujiu Yang

AI总结:

针对大语言模型水印存在的有效性与文本质量难以兼顾的困境,提出自适应调整水印强度的MorphMark方法,该方法模型无关且免模型,实验证明其在破解权衡困境、灵活性及时空效率上均更优。

摘要:

基于红-绿列表修改令牌采样概率的水印方法是追溯大语言模型(LLM)生成文本来源的一种颇具前景的手段。然而,现有水印方法往往面临一个根本性困境:提升水印有效性(即水印的可检测性)通常要以牺牲文本质量为代价,这种权衡限制了它们的实际应用。为解决这一挑战,我们首先在多目标权衡分析框架内对该问题进行了形式化定义。在该框架下,我们识别出了影响这一困境的一个关键因素。与现有方法通常将水印强度视为固定超参数不同,我们的理论洞见催生了MorphMark方法——该方法可根据所识别因素的变化自适应调整水印强度,从而有效破解了这一困境。此外,MorphMark还注重灵活性,它是一种模型无关且免模型的水印方法,因此尤其在AI模型快速迭代的背景下,为实际部署提供了可行方案。大量实验表明,MorphMark在破解有效性-质量困境方面表现更优,同时还具备更强的灵活性以及时间与空间效率。

英文摘要:

Watermarking by altering token sampling probabilities based on red-green list is a promising method for tracing the origin of text generated by large language models (LLMs). However, existing watermark methods often struggle with a fundamental dilemma: improving watermark effectiveness (the detectability of the watermark) often comes at the cost of reduced text quality. This trade-off limits their practical application. To address this challenge, we first formalize the problem within a multi-objective trade-off analysis framework. Within this framework, we identify a key factor that influences the dilemma. Unlike existing methods, where watermark strength is typically treated as a fixed hyperparameter, our theoretical insights lead to the development of MorphMarka method that adaptively adjusts the watermark strength in response to changes in the identified factor, thereby achieving an effective resolution of the dilemma. In addition, MorphMark also prioritizes flexibility since it is a model-agnostic and model-free watermark method, thereby offering a practical solution for real-world deployment, particularly in light of the rapid evolution of AI models. Extensive experiments demonstrate that MorphMark achieves a superior resolution of the effectiveness-quality dilemma, while also offering greater flexibility and time and space efficiency.

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

↑