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

一种用于顺序无关语言模型的水印方法

A Watermark for Order-Agnostic Language Models

University of Maryland, College Park(马里兰大学帕克分校)

Ruibo Chen, Yihan Wu, Yanshuo Chen, Chenxi Liu, Junfeng Guo, Heng Huang

AI总结:

本文提出Pattern-mark框架,通过马尔可夫链生成高频模式水印密钥,并基于统计模式检测,有效提升顺序无关语言模型的水印检测效率、生成质量与鲁棒性。

摘要:

统计水印技术在顺序解码的语言模型(LMs)中已经相当成熟。然而,这些技术无法直接应用于顺序无关的语言模型,因为顺序无关语言模型中的词元并非按顺序生成。在本工作中,我们提出了Pattern-mark,这是一个专为顺序无关语言模型设计的基于模式的水印框架。我们开发了一种基于马尔可夫链的水印生成器,能够产生具有高频关键模式的水印密钥序列。相应地,我们提出了一种基于统计模式的检测算法,该算法在检测过程中恢复密钥序列,并根据高频模式的出现次数进行统计检验。我们在ProteinMPNN和CMLM等顺序无关语言模型上进行了广泛评估,结果表明Pattern-mark在检测效率、生成质量和鲁棒性方面均有提升,使其成为适用于顺序无关语言模型的一种更优水印技术。

英文摘要:

Statistical watermarking techniques are well-established for sequentially decoded language models (LMs). However, these techniques cannot be directly applied to order-agnostic LMs, as the tokens in order-agnostic LMs are not generated sequentially. In this work, we introduce Pattern-mark, a pattern-based watermarking framework specifically designed for order-agnostic LMs. We develop a Markov-chain-based watermark generator that produces watermark key sequences with high-frequency key patterns. Correspondingly, we propose a statistical pattern-based detection algorithm that recovers the key sequence during detection and conducts statistical tests based on the count of high-frequency patterns. Our extensive evaluations on order-agnostic LMs, such as ProteinMPNN and CMLM, demonstrate Pattern-mark's enhanced detection efficiency, generation quality, and robustness, positioning it as a superior watermarking technique for order-agnostic LMs.

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

↑