Watermarking acts as a critical safeguard in text generated by Large Language Models (LLMs). By embedding identifiable signals into model outputs, watermarking enables reliable attribution and enhances the security of machine-generated content. Existing approaches typically embed signals by manipulating token generation probabilities. Despite their effectiveness, these methods inherently face a trade-off between detectability and text quality: the signal strength and randomness required for robust watermarking tend to degrade the performance of downstream tasks.
In this paper, we design a novel embedding scheme that controls seed pools to facilitate diverse parallel generation of watermarked text. Based on that scheme, we propose WaterSearch, a sentence-level, search-based watermarking framework adaptable to a wide range of existing methods. WaterSearch enhances text quality by jointly optimizing two key aspects: 1) distribution fidelity and 2) watermark signal characteristics. Furthermore, WaterSearch is complemented by a sentence-level detection method with strong attack robustness. We evaluate our method on three popular LLMs across ten diverse tasks. Extensive experiments demonstrate that our method achieves an average performance improvement of 51.01\% over state-of-the-art baselines at a watermark detectability strength of 95\%. In challenging scenarios such as short text generation and low-entropy output generation, our method yields performance gains of 47.78\% and 36.47\%, respectively. Moreover, under different attack senarios including insertion, synonym substitution and paraphrase attasks, WaterSearch maintains high detectability, further validating its robust anti-attack capabilities. Our code is available at \href{https://github.com/Yukang-Lin/WaterSearch}{https://github.com/Yukang-Lin/WaterSearch}.
Preserving Structure, Strengthening Signals: A Grammar-Driven Approach to Optimize the Trade-off Between Quality and Detectability in Code Watermarking
A Survey of Text Watermarking in the Era of Large Language Models
Tsinghua University(清华大学);The Chinese University of Hong Kong(香港中文大学);The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));Beijing University of Posts and Telecommunications(北京邮电大学);University of Illinois Chicago(芝加哥大学伊利诺伊分校)
Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);School of Cyber Security, University of Chinese Academy of Sciences(中国科学院大学网络与信息安全学院)
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(计算技术研究所,中国科学院)
From Trade-off to Synergy: A Versatile Symbiotic Watermarking Framework for Large Language Models
Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);School of Cyber Security, University of Chinese Academy of Sciences(中国科学院大学网络安全学院);Hainan Province Fang Binxing Academician Workstation(海南省方斌星院士工作站)
Can Watermarked LLMs be Identified by Users via Crafted Prompts?
Tsinghua University(清华大学);Beijing University of Posts and Telecommunications(北京邮电大学);The Chinese University of Hongkong(香港中文大学);University of Illinois at Chicago(伊利诺伊大学芝加哥分校);Hongkong University of Science and Technology (Guangzhou)(香港科技大学(广州))
RMCW: A Deletion-Robust Watermark Based on Reed--Muller Codes for Language Models
Tsinghua University(清华大学);University of Wisconsin–Madison(威斯康星大学麦迪逊分校);Shanghai Qi Zhi Institute(上海期智研究院);The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳));Chinese Academy of Sciences(中国科学院);Xiongan AI Institute(雄安人工智能研究院)