Towards Codable Watermarking for Injecting Multi-Bits Information to LLMs
Lean Wang, Wenkai Yang, Deli Chen, Hao Zhou, Yankai Lin, Fandong Meng, Jie Zhou, Xu Sun
Abstract
As large language models (LLMs) generate texts with increasing fluency and realism, there is a growing need to identify the source of texts to prevent the abuse of LLMs. Text watermarking techniques have proven reliable in distinguishing whether a text is generated by LLMs by injecting hidden patterns. However, we argue that existing LLM watermarking methods are encoding-inefficient and cannot flexibly meet the diverse information encoding needs (such as encoding model version, generation time, user id, etc.). In this work, we conduct the first systematic study on the topic of Codable Text Watermarking for LLMs (CTWL) that allows text watermarks to carry multi-bit customizable information. First of all, we study the taxonomy of LLM watermarking technologies and give a mathematical formulation for CTWL. Additionally, we provide a comprehensive evaluation system for CTWL: (1) watermarking success rate, (2) robustness against various corruptions, (3) coding rate of payload information, (4) encoding and decoding efficiency, (5) impacts on the quality of the generated text. To meet the requirements of these non-Pareto-improving metrics, we follow the most prominent vocabulary partition-based watermarking direction, and devise an advanced CTWL method named Balance-Marking. The core idea of our method is to use a proxy language model to split the vocabulary into probability-balanced parts, thereby effectively maintaining the quality of the watermarked text. Extensive experimental results show that our method outperforms the baseline under comprehensive evaluation. Our code is available at https: //github.com/lancopku/codable-watermarking-for-llm .
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
22 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Tracing Text Provenance via Context-Aware Lexical Substitution cites Adversarial Watermarking Transformer: Towards Tracing Text Provenance with Data Hiding
- Enhancing LLM Watermark Resilience Against Both Scrubbing and Spoofing Attacks cites Adversarial Watermarking Transformer: Towards Tracing Text Provenance with Data Hiding
- Enhancing LLM Watermark Resilience Against Both Scrubbing and Spoofing Attacks cites Who Wrote this Code? Watermarking for Code Generation
- Enhancing LLM Watermark Resilience Against Both Scrubbing and Spoofing Attacks cites A Watermark for Large Language Models
- Enhancing LLM Watermark Resilience Against Both Scrubbing and Spoofing Attacks cites On the Reliability of Watermarks for Large Language Models
- SAEMark: Steering Personalized Multilingual LLM Watermarks with Sparse Autoencoders cites Who Wrote this Code? Watermarking for Code Generation
- SAEMark: Steering Personalized Multilingual LLM Watermarks with Sparse Autoencoders cites A Watermark for Large Language Models
- Theoretically Grounded Framework for LLM Watermarking: A Distribution-Adaptive Approach cites Tracing Text Provenance via Context-Aware Lexical Substitution
- Theoretically Grounded Framework for LLM Watermarking: A Distribution-Adaptive Approach cites Adversarial Watermarking Transformer: Towards Tracing Text Provenance with Data Hiding
- Theoretically Grounded Framework for LLM Watermarking: A Distribution-Adaptive Approach cites A Watermark for Large Language Models
- PMark: Towards Robust and Distortion-free Semantic-level Watermarking with Channel Constraints cites A Watermark for Large Language Models
- Who Wrote this Code? Watermarking for Code Generation cites Tracing Text Provenance via Context-Aware Lexical Substitution
- Who Wrote this Code? Watermarking for Code Generation cites Adversarial Watermarking Transformer: Towards Tracing Text Provenance with Data Hiding
- Who Wrote this Code? Watermarking for Code Generation cites On the Reliability of Watermarks for Large Language Models
- On the Reliability of Watermarks for Large Language Models cites Who Wrote this Code? Watermarking for Code Generation
- Inevitable Trade-off between Watermark Strength and Speculative Sampling Efficiency for Language Models cites Tracing Text Provenance via Context-Aware Lexical Substitution
- Inevitable Trade-off between Watermark Strength and Speculative Sampling Efficiency for Language Models cites A Watermark for Large Language Models
- Inevitable Trade-off between Watermark Strength and Speculative Sampling Efficiency for Language Models cites On the Reliability of Watermarks for Large Language Models
- A Watermark for Large Language Models cites Adversarial Watermarking Transformer: Towards Tracing Text Provenance with Data Hiding
- On the Reliability of Watermarks for Large Language Models cites Adversarial Watermarking Transformer: Towards Tracing Text Provenance with Data Hiding
- On the Reliability of Watermarks for Large Language Models cites A Watermark for Large Language Models
Cited by top-tier papers22
- Theoretically Grounded Framework for LLM Watermarking: A Distribution-Adaptive ApproachHaiyun He, Yepeng Liu, Ziqiao Wang, Yongyi Mao et al.NeurIPS 2025 · 26 citations
- PMark: Towards Robust and Distortion-free Semantic-level Watermarking with Channel ConstraintsJiahao Huo, Shuliang Liu, Bin Wang, Junyan Zhang et al.ICLR 2026 · 18 citations
- Inevitable Trade-off between Watermark Strength and Speculative Sampling Efficiency for Language ModelsZhengmian Hu, Heng HuangNeurIPS 2024 · 10 citations
- Enhancing LLM Watermark Resilience Against Both Scrubbing and Spoofing AttacksHuanming Shen, Baizhou Huang, Xiaojun WanNeurIPS 2025 · 8 citations
- SAEMark: Steering Personalized Multilingual LLM Watermarks with Sparse AutoencodersZhuohao Yu, Xingru Jiang, Weizheng Gu, Yidong Wang et al.NeurIPS 2025 · 6 citations
Builds on6
- A Watermark for Large Language ModelsJohn Kirchenbauer, Jonas Geiping, Yuxin Wen, Jonathan Katz et al.ICML 2023 · 854 citations
- Adversarial Watermarking Transformer: Towards Tracing Text Provenance with Data HidingSahar Abdelnabi, Mario FritzS&P 2021 · 210 citations
- On the Reliability of Watermarks for Large Language ModelsJohn Kirchenbauer, Jonas Geiping, Yuxin Wen, Manli Shu et al.ICLR 2024 · 202 citations
- Tracing Text Provenance via Context-Aware Lexical SubstitutionXi Yang, Jie Zhang, Kejiang Chen, Weiming Zhang et al.AAAI 2022 · 89 citations
- Who Wrote this Code? Watermarking for Code GenerationTaehyun Lee, Seokhee Hong, Jaewoo Ahn, Ilgee Hong et al.ACL 2024 · 36 citations
Related papers
- StealthInk: A Multi-bit and Stealthy Watermark for Large Language ModelsYa Jiang, Chuxiong Wu, Massieh Kordi Boroujeny, Brian L. Mark et al.ICML 2025
- XMark: Reliable Multi-Bit Watermarking for LLM-Generated TextsJiahao Xu, Rui Hu, Olivera Kotevska, Zikai ZhangACL 2026 · 1 citation
- Optimizing Watermarks for Large Language ModelsBram WoutersICML 2024 · 25 citations
- Token-Specific Watermarking with Enhanced Detectability and Semantic Coherence for Large Language ModelsMingjia Huo, Sai Ashish Somayajula, Youwei Liang, Ruisi Zhang et al.ICML 2024 · 37 citations
- WatME: Towards Lossless Watermarking Through Lexical RedundancyLiang Chen, Yatao Bian, Yang Deng, Deng Cai et al.ACL 2024 · 2 citations
