arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2604.10893cs.CRcs.AI
收藏

超越固定水印:大语言模型中的自适应窃取水印

Beyond A Fixed Seal: Adaptive Stealing Watermark in Large Language Models

Hong Kong University of Science and Technology(香港科技大学)

Shuhao Zhang, Yuli Chen, Jiale Han, Bo Cheng, Jiabao Ma

AI总结:

本文提出自适应窃取算法,通过位置基水印构建和自适应选择模块提升水印窃取效率,增强对抗攻击的灵活性和有效性。

摘要:

水印技术为大语言模型服务提供了关键保护,通过检测生成文本来确保可靠性。相应地,窃取水印算法(SWAs)从被窃水印模型生成的文本中提取水印信息,以构建高度针对性的对抗攻击,从而破坏水印的可靠性。现有SWAs依赖固定策略,忽视了窃取水印信息的非均匀分布和现实世界LLM生成过程的动态性。为了解决这些限制,我们提出了自适应窃取(AS),一种新型SWA,通过位置基水印构建和自适应选择模块增强了设计灵活性。AS通过定义多个攻击视角,这些视角源自上下文有序标记的不同激活状态。在攻击执行过程中,AS根据水印兼容性、生成优先级和动态生成相关性动态选择最优视角。我们的实验表明,在相同实验条件下,AS显著提高了对目标水印的窃取效率。这些发现突显了需要更稳健的LLM水印以抵御潜在攻击的必要性。我们发布代码供社区未来研究使用(https://github.com/DrankXs/AdaptiveStealingWatermark)。\n

英文摘要:

Watermarking provides a critical safeguard for large language model (LLM) services by facilitating the detection of LLM-generated text. Correspondingly, stealing watermark algorithms (SWAs) derive watermark information from watermarked texts generated by victim LLMs to craft highly targeted adversarial attacks, which compromise the reliability of watermarks. Existing SWAs rely on fixed strategies, overlooking the non-uniform distribution of stolen watermark information and the dynamic nature of real-world LLM generation processes. To address these limitations, we propose Adaptive Stealing (AS), a novel SWA featuring enhanced design flexibility through Position-Based Seal Construction and Adaptive Selection modules. AS operates by defining multiple attack perspectives derived from distinct activation states of contextually ordered tokens. During attack execution, AS dynamically selects the optimal perspective based on watermark compatibility, generation priority, and dynamic generation relevance. Our experiments demonstrate that AS significantly increases steal efficiency against target watermarks under identical experimental conditions. These findings highlight the need for more robust LLM watermarks to withstand potential attacks. We release our code to the community for future research\footnote{https://github.com/DrankXs/AdaptiveStealingWatermark}.

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

↑