NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

A Survey of Text Watermarking in the Era of Large Language Models

Aiwei Liu, Leyi Pan, Yijian Lu, Jingjing Li, Xuming Hu, Xi Zhang, Lijie Wen, Irwin King, Hui Xiong, Philip S. Yu

TL;DR

This paper surveys the rapidly evolving field of text watermarking, particularly in the context of Large Language Models (LLMs). It provides a comprehensive overview of techniques, evaluation methods, applications, and challenges, highlighting how LLMs are both a tool for and a subject of watermarking, crucial for copyright protection and combating misuse.

What Problem Does This Paper Address?

The paper addresses the growing need for robust methods to protect the copyright and authenticity of textual content, especially in the age of powerful Large Language Models (LLMs). Historically, text watermarking faced limitations in its subtlety and effectiveness. LLMs, while revolutionizing text generation, also introduce new challenges: their outputs can be easily copied and misused, and the models themselves are vulnerable to extraction attacks. This survey aims to consolidate the current landscape of text watermarking techniques that are adapting to and leveraging LLMs, providing a roadmap for future research and development.

Methods

The paper categorizes text watermarking methods into two main types: Watermarking for Existing Text and Watermarking for LLMs.

For existing text, methods are further classified by the granularity of modification:

  • Format-based: Modifies text formatting (e.g., spacing, character substitution) without altering content.
  • Lexical-based: Replaces words with synonyms, aiming for semantic equivalence.
  • Syntactic-based: Modifies sentence structure.
  • Generation-based: Generates watermarked text directly from original text and a watermark message.

For LLMs, watermarking can occur during:

  • LLM Training: Embedding watermarks into the model's parameters.
  • Logits Generation: Modifying the probability distribution of the next token.
  • Token Sampling: Guiding the token selection process based on the watermark.

The paper also details various evaluation metrics, including detectability (zero-bit and multi-bit), impact on text quality, robustness against attacks (untargeted and targeted), and output performance of watermarked LLMs across tasks like text completion and code generation.

Datasets

The paper does not explicitly list specific datasets used for training or evaluation of the watermarking algorithms discussed. However, it references various LLMs and their training data implicitly when discussing their capabilities and applications. It also mentions benchmarks and toolkits like WaterBench, WaterJudge, Mark My Words, and MarkLLM, which are designed to facilitate unified implementation and evaluation.

Key Insights and Ideas

  • LLMs as a Double-Edged Sword: LLMs are not only enhancing text watermarking techniques with their advanced language understanding and generation capabilities but also creating a critical need for watermarking to protect their own outputs and prevent misuse.
  • Trade-offs are Inherent: A central theme is the unavoidable trade-off between various desirable properties of watermarking algorithms, such as watermark size, robustness, capacity, text quality, and diversity. Optimizing one often compromises another.
  • Context is King: Early lexical-based methods often failed to consider word context, leading to semantic issues. Modern approaches leverage LLMs to achieve context-aware substitutions and embedding, improving subtlety and robustness.
  • Public Verifiability is a Challenge: Achieving watermarks that can be publicly verified without revealing secret keys is crucial for trust and accountability but poses significant design challenges, especially against sophisticated attackers.
  • Open-Source LLMs Present Unique Hurdles: Watermarking open-source LLMs is particularly difficult as it requires embedding watermarks during training, and these can be vulnerable to subsequent fine-tuning.

Key Results

The paper is a survey, not an empirical study, so it doesn't present novel quantitative results. Instead, it synthesizes findings from numerous existing studies. Key qualitative findings include:

  • Many watermarking algorithms demonstrate high detectability in controlled settings.
  • LLM-based watermarking methods generally achieve better text quality and naturalness compared to traditional methods.
  • Robustness against various attacks (e.g., paraphrasing, word-level edits) varies significantly across different algorithms.
  • Watermarking can sometimes lead to reduced output diversity in LLMs.
  • Existing benchmarks and toolkits are emerging to standardize evaluation, but challenges remain in comprehensive assessment.

Limitations and Future Work

Limitations: * The paper acknowledges that despite advancements, achieving an optimal watermark across all aspects (size, robustness, capacity, quality, diversity) remains a significant challenge. * Current methods struggle in specific scenarios like low-entropy text (code, tables), publicly verifiable scenarios, and open-source LLMs. * Strict distortion-free watermarking for LLMs is still questionable, as even unbiased methods might subtly affect performance or diversity. * The computational burden, though often low, can still be a factor, especially with complex algorithms or large vocabularies.

Future Work: * Develop advanced watermarking algorithms that can withstand novel and sophisticated attack types. * Explore new applications, such as authenticity verification for AI-generated content in social media and journalism. * Design algorithms that better balance the inherent trade-offs between watermark properties. * Investigate new watermarking paradigms that inherently achieve better balance. * Address challenges in low-entropy, publicly verifiable, and open-source LLM scenarios. * Develop general distortion-free watermarking algorithms that are applicable across various LLM generation strategies. * Focus on minimizing computational burden and ensuring real-world performance implications in large-scale LLM systems. * Build unified platforms for detecting watermarked text.

Summary updated

BibTeX
@article{liu2023survey,
  author = {Aiwei Liu and Leyi Pan and Yijian LU and Jingjing Li and Xuming Hu and Xi Zhang and Lijie Wen and Irwin King and Hui Xiong and Philip S. Yu},
  title = {{A Survey of Text Watermarking in the Era of Large Language Models}},
  journal = {ACM Computing Surveys},
  year = {2023},
  url = {https://openreview.net/forum?id=BUGf2UElEU},
}
Figure