paper-with-me

홈 › Papers

Learning to Watermark LLM-generated Text via Reinforcement Learning

2024-03-13 · Xiaojun Xu, Yuanshun Yao, Yang Liu

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 .

📄 PDF Abstract BibTeX arXiv:2403.10553

Code (1)

xiaojunxu/learning-to-watermark-llm 공식 구현 pytorch

Tasks

reinforcement-learningReinforcement Learning

Methods 이 논문이 사용한 방법론

Focus 설명 없음

Similar Papers 제목 키워드 기반

DERMARK: A Dynamic, Efficient and Robust Multi-bit Watermark for Large Language Models

2025-02-04 · Qihao Lin, Chen Tang, Lan Zhang, Junyang Zhang 외

Well-trained large language models (LLMs) present significant risks, including potential malicious use and copyright infringement. Current studies aim to trace the distribution of LLM-generated texts by implicitly embedd…

Less is More: Sparse Watermarking in LLMs with Enhanced Text Quality

2024-07-17 · Duy C. Hoang, Hung T. Q. Le, Rui Chu, Ping Li 외

With the widespread adoption of Large Language Models (LLMs), concerns about potential misuse have emerged. To this end, watermarking has been adapted to LLM, enabling a simple and effective way to detect and monitor gen…

POS

Multi-Bit Distortion-Free Watermarking for Large Language Models

2024-02-26 · Massieh Kordi Boroujeny, Ya Jiang, Kai Zeng, Brian Mark

Methods for watermarking large language models have been proposed that distinguish AI-generated text from human-generated text by slightly altering the model output distribution, but they also distort the quality of the …

Decoder

Necessary and Sufficient Watermark for Large Language Models

2023-10-02 · Yuki Takezawa, Ryoma Sato, Han Bao, Kenta Niwa 외

In recent years, large language models (LLMs) have achieved remarkable performances in various NLP tasks. They can generate texts that are indistinguishable from those written by humans. Such remarkable performance of LL…

ArticlesMachine Translation

Adaptive Text Watermark for Large Language Models

2024-01-25 · Yepeng Liu, Yuheng Bu

The advancement of Large Language Models (LLMs) has led to increasing concerns about the misuse of AI-generated text, and watermarking for LLM-generated text has emerged as a potential solution. However, it is challengin…