From Trade-off to Synergy: A Versatile Symbiotic Watermarking Framework for Large Language Models
Preprint
Abstract
The rise of Large Language Models (LLMs) has heightened concerns about the misuse of AI-generated text, making watermarking a promising solution. Mainstream watermarking schemes for LLMs fall into two categories: logits-based and sampling-based. However, current schemes entail trade-offs among robustness, text quality, and security. To mitigate this, we integrate logits-based and sampling-based schemes, harnessing their respective strengths to achieve synergy. In this paper, we propose a versatile symbiotic watermarking framework with three strategies: serial, parallel, and hybrid. The hybrid framework adaptively embeds watermarks using token entropy and semantic entropy, optimizing the balance between detectability, robustness, text quality, and security. Furthermore, we validate our approach through comprehensive experiments on various datasets and models. Experimental results indicate that our method outperforms existing baselines and achieves state-of-the-art (SOTA) performance. We believe this framework provides novel insights into diverse watermarking paradigms. Our code is available at \href{https://github.com/redwyd/SymMark}{https://github.com/redwyd/SymMark}.Keywords
All Related Versions
This publication has 23 references indexed in Scilit:
- A Survey of Text Watermarking in the Era of Large Language ModelsACM Computing Surveys, 2024
- Scalable watermarking for identifying large language model outputsNature, 2024
- Detecting hallucinations in large language models using semantic entropyNature, 2024
- Bypassing LLM Watermarks with Color-Aware Substitutions2024
- Can Watermarks Survive Translation? On the Cross-lingual Consistency of Text Watermark for Large Language Models2024
- GumbelSoft: Diversified Language Model Watermarking via the GumbelMax-trick2024
- Who Wrote this Code? Watermarking for Code Generation2024
- Three Bricks to Consolidate Watermarks for Large Language Models2023
- COPEN: Probing Conceptual Knowledge in Pre-trained Language Models2022
- A Mathematical Theory of CommunicationBell System Technical Journal, 1948