Preprint · 2024 · Open access
Learning to Watermark LLM-generated Text via Reinforcement Learning
arXiv · Published 13 March 2024 · DOI 10.48550/arxiv.2403.10553
In brief
“Learning to Watermark LLM-generated Text via Reinforcement Learning” is a 2024 preprint by Xu, Xiaojun and 2 co-authors, published in arXiv. OpenAlex counts 56 citations as of 1 December 2026, which puts it in the top 2% of works published in 2024 by citations. It is open access under a CC BY licence: the full text is free to read at arXiv.
- Citations
- 56
- Most cited in
- 2026 (29)
- References
- 36
- Authors
- 3
Abstract
We study how to watermark LLM outputs, i.e. embedding algorithmically detectable signals into LLM-generated text to track misuse. Unlike the current mainstream methods that work with a fixed LLM, we expand the watermark design space by including the LLM tuning stage in the watermark pipeline. While prior works focus on token-level watermark that embeds signals into the output, we design a model-level watermark that embeds signals into the LLM weights, and such signals can be detected by a paired detector. We propose a co-training framework based on reinforcement learning that iteratively (1) trains a detector to detect the generated watermarked text and (2) tunes the LLM to generate text easily detectable by the detector while keeping its normal utility. We empirically show that our watermarks are more accurate, robust, and adaptable (to new attacks). It also allows watermarked model open-sourcing. In addition, if used together with alignment, the extra overhead introduced is low - only training an extra reward model (i.e. our detector). We hope our work can bring more effort into studying a broader watermark design that is not limited to working with a fixed LLM. We open-source the code: https://github.com/xiaojunxu/learning-to-watermark-llm .
Cite this paper
Formatted from the catalogue record. Check names, capitals and page numbers against the paper before you submit.
APA 7
Xiaojun, X., Yao, Y., & Liu, Y. (2024). Learning to Watermark LLM-generated Text via Reinforcement Learning. arXiv. https://doi.org/10.48550/arxiv.2403.10553
MLA 9
Xiaojun, Xu,, et al. “Learning to Watermark LLM-generated Text via Reinforcement Learning.” arXiv, 2024. https://doi.org/10.48550/arxiv.2403.10553.
Chicago
Xiaojun, Xu,, Yuanshun Yao, and Yang Liu. 2024. “Learning to Watermark LLM-generated Text via Reinforcement Learning.” arXiv. https://doi.org/10.48550/arxiv.2403.10553.
Harvard
Xiaojun, X., Yao, Y. and Liu, Y. (2024) ‘Learning to Watermark LLM-generated Text via Reinforcement Learning’, arXiv. doi:10.48550/arxiv.2403.10553.
IEEE
X. Xiaojun, Y. Yao, and Y. Liu, “Learning to Watermark LLM-generated Text via Reinforcement Learning,” arXiv, 2024, doi: 10.48550/arxiv.2403.10553.
BibTeX
@misc{xiaojun2024learning,
title = {{Learning to Watermark LLM-generated Text via Reinforcement Learning}},
author = {Xiaojun, Xu, and Yao, Yuanshun and Liu, Yang},
howpublished = {arXiv},
year = {2024},
doi = {10.48550/arxiv.2403.10553},
url = {https://doi.org/10.48550/arxiv.2403.10553}
}
Download for a reference manager: BibTeX (.bib) · RIS for Zotero, Mendeley and EndNote (.ris)
Citations by year
| Year | Citations | Share of the best year |
|---|---|---|
| 2024 | 8 | |
| 2025 | 19 | |
| 2026 | 29 |
Topic and keywords
Physical Sciences › Computer Science › Artificial Intelligence › Adversarial Robustness in Machine Learning
- LLM watermarking
- watermark detection
- reinforcement learning
- co-training
- LLM fine-tuning
- reward models
- watermark robustness
Work with this paper
Most-cited papers in Computer Science
- ImageNet classification with deep convolutional neural networksAlex Krizhevsky, Ilya Sutskever, Geoffrey E. Hinton · Communications of the ACM · 2017 · 114,726 citations
- Long Short-Term MemorySepp Hochreiter, Jürgen Schmidhuber · Neural Computation · 1997 · 109,097 citations
- A Mathematical Theory of CommunicationClaude E. Shannon · Bell System Technical Journal · 1948 · 91,736 citations
- Deep learningYann LeCun, Yoshua Bengio, Geoffrey E. Hinton · Nature · 2015 · 90,226 citations
- Faster R-CNN: Towards Real-Time Object Detection with Region Proposal NetworksShaoqing Ren, Kaiming He, Ross Girshick and 1 more · IEEE Transactions on Pattern Analysis and Machine Intelligence · 2016 · 74,143 citations
Questions about this paper
How do I cite this paper in APA style?
Xiaojun, X., Yao, Y., & Liu, Y. (2024). Learning to Watermark LLM-generated Text via Reinforcement Learning. arXiv. https://doi.org/10.48550/arxiv.2403.10553
How many times has this paper been cited?
56 times, according to OpenAlex on 1 December 2026. Google Scholar and Scopus count different sets of sources, so their numbers differ.
Is this paper free to read?
Yes. It is open access at arXiv: sign in and open the PDF from this page.
Who wrote this paper?
Xu, Xiaojun, Yuanshun Yao, Yang Liu.
What is the DOI of this paper?
10.48550/arxiv.2403.10553, permanently at https://doi.org/10.48550/arxiv.2403.10553. Sign in and open it from this page.
Bibliographic data from OpenAlex (CC0), last checked 1 December 2026. ResearchGuru does not host this paper; once you are signed in, the links open it at the publisher or the repository that does.