A Watermark for Order-Agnostic Language Models
Abstract
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.
Cite
@article{arxiv.2410.13805,
title = {A Watermark for Order-Agnostic Language Models},
author = {Ruibo Chen and Yihan Wu and Yanshuo Chen and Chenxi Liu and Junfeng Guo and Heng Huang},
journal= {arXiv preprint arXiv:2410.13805},
year = {2024}
}