Watermarking techniques offer a promising way to identify machine-generated content via embedding covert information into the contents generated from language models. A challenge in the domain lies in preserving the distribution of original generated content after watermarking. Our research extends and improves upon existing watermarking framework, placing emphasis on the importance of a \textbf{Di}stribution-\textbf{P}reserving (DiP) watermark. Contrary to the current strategies, our proposed DiPmark simultaneously preserves the original token distribution during watermarking (distribution-preserving), is detectable without access to the language model API and prompts (accessible), and is provably robust to moderate changes of tokens (resilient). DiPmark operates by selecting a random set of tokens prior to the generation of a word, then modifying the token distribution through a distribution-preserving reweight function to enhance the probability of these selected tokens during the sampling process. Extensive empirical evaluation on various language models and tasks demonstrates our approach's distribution-preserving property, accessibility, and resilience, making it a effective solution for watermarking tasks that demand impeccable quality preservation.
DualGuard: Dual-stream Large Language Model Watermarking Defense against Paraphrase and Spoofing Attack
Institute of Information Engineering, Chinese Academy of Sciences(信息工程研究所,中国科学院);School of Cyber Security, University of Chinese Academy of Sciences(中国科学院大学网络与信息安全学院);Institute of Computing Technology, Chinese Academy of Sciences(计算技术研究所,中国科学院)
Rotation, Scale, and Translation Resilient Black-box Fingerprinting for Intellectual Property Protection of EaaS Models
College of Computer Science, Sichuan Normal University(四川师范大学计算机科学学院);School of Communication and Information Engineering, Shanghai University(上海大学通信与信息工程学院);College of Cyber Security, Jinan University(暨南大学网络空间安全学院);College of Computer Science and Information Technology, IAU(沙特阿拉伯国王伊斯兰大学计算机科学与信息技术学院);Center for AI Research, University of Agder(阿格德尔大学人工智能研究中心)
Efficient and Universal Watermarking for LLM-Generated Code Detection
College of Computer Science and Technology, Harbin Engineering University(哈尔滨工程大学计算机科学与技术学院);School of Computing and Information Systems, Singapore Management University(新加坡管理大学计算与信息学院)
Removing Watermarks with Partial Regeneration using Semantic Information
International Computer Science Institute(国际计算机科学研究所);School of Computing and Augmented Intelligence(计算与增强智能学院);Lawrence Berkeley National Laboratory(劳伦斯伯克利国家实验室);Department of Statistics(统计学系);University of California at Berkeley(加州大学伯克利分校)
Deep Model Intellectual Property Protection via Deep Watermarking
University of Science and Technology of China(中国科学技术大学);Microsoft Research(微软研究院);City University of Hong Kong(香港城市大学);Beijing Electronic Science and Technology Institute(北京电子科技学院);Wormpex AI Research LLC(Wormpex AI研究有限责任公司)