mlsanityData to 7 Oct 2026

Towards Better Statistical Understanding of Watermarking LLMs

arXiv 2403.13027 ↗First posted 19 Mar 2024cs.LG cs.CR cs.ITcited by 14

On the map: LLM safety and security → Watermarking generated content and models

Abstract (arXiv)

In this paper, we study the problem of watermarking large language models (LLMs). We consider the trade-off between model distortion and detection ability and formulate it as a constrained optimization problem based on the red-green list watermarking algorithm. We show that the optimal solution to the optimization problem enjoys a nice analytical property which provides a better understanding and inspires the algorithm design for the watermarking process. We develop an online dual gradient ascent watermarking algorithm in light of this optimization formulation and prove its asymptotic Pareto optimality between model distortion and detection ability. Such a result guarantees an averaged increased green list probability and henceforth detection ability explicitly (in contrast to previous results). Moreover, we provide a systematic discussion on the choice of the model distortion metrics for the watermarking problem. We justify our choice of KL divergence and present issues with the existing criteria of ``distortion-free'' and perplexity. Finally, we empirically evaluate our algorithms on extensive datasets against benchmark algorithms.

Key facts. Cited by 14 papers in the map (data through 7 Oct 2026). Placed in Watermarking generated content and models, one of 12 directions in LLM safety and security. Builds on 22 of its 49 references that are in the map. First posted on arXiv 19 Mar 2024.

Builds on

22 of 49 references.

Closest ancestors · 3

Same direction, newest first

  1. 2023Robust Distortion-free Watermarks for Language Models28 Jul
  2. 2023Provable Robust Watermarking for AI-Generated Text30 Jun
  3. 2023Can AI-Generated Text be Reliably Detected?17 Mar

Other references · 19

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2020Language Models are Few-Shot Learnerscited by 32,199
  4. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  5. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  6. 2022Robust Speech Recognition via Large-Scale Weak Supervisioncited by 3,972
  7. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
  8. 2021Convex optimizationcited by 2,479
  9. 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,201
  10. 2023DetectGPT: Zero-Shot Machine-Generated Text Detection using Probability Curvaturecited by 705
  11. 2019ELI5: Long Form Question Answeringcited by 567
  12. 2019Defending Against Neural Fake Newscited by 553
7 more
  1. 2019Release Strategies and the Social Impacts of Language Modelscited by 505
  2. 2019GLTR: Statistical Detection and Visualization of Generated Textcited by 490
  3. 2019Automatic Detection of Generated Text is Easiest when Humans are Fooledcited by 260
  4. 2023GPT detectors are biased against non-native English writerscited by 175
  5. 2017Online Convex Optimization with Time-Varying Constraintscited by 55
  6. 2014Fast Algorithms for Online Stochastic Convex Programmingcited by 36
  7. 2020Simple and Fast Algorithm for Binary Integer and Online Linear Programmingcited by 27

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 5; 2025: 5; 2026: 4.

14 papers.

Sort:

By area: