Watermarking Makes Language Models Radioactive

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Sander, Tom, Fernandez, Pierre, Durmus, Alain, Douze, Matthijs, Furon, Teddy
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866914991372763136
author Sander, Tom
Fernandez, Pierre
Durmus, Alain
Douze, Matthijs
Furon, Teddy
author_facet Sander, Tom
Fernandez, Pierre
Durmus, Alain
Douze, Matthijs
Furon, Teddy
contents We investigate the radioactivity of text generated by large language models (LLM), i.e. whether it is possible to detect that such synthetic input was used to train a subsequent LLM. Current methods like membership inference or active IP protection either work only in settings where the suspected text is known or do not provide reliable statistical guarantees. We discover that, on the contrary, it is possible to reliably determine if a language model was trained on synthetic data if that data is output by a watermarked LLM. Our new methods, specialized for radioactivity, detects with a provable confidence weak residuals of the watermark signal in the fine-tuned LLM. We link the radioactivity contamination level to the following properties: the watermark robustness, its proportion in the training set, and the fine-tuning process. For instance, if the suspect model is open-weight, we demonstrate that training on watermarked instructions can be detected with high confidence ($p$-value $< 10^{-5}$) even when as little as $5\%$ of training text is watermarked.
format Preprint
id arxiv_https___arxiv_org_abs_2402_14904
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Watermarking Makes Language Models Radioactive
Sander, Tom
Fernandez, Pierre
Durmus, Alain
Douze, Matthijs
Furon, Teddy
Cryptography and Security
Artificial Intelligence
Computation and Language
Machine Learning
We investigate the radioactivity of text generated by large language models (LLM), i.e. whether it is possible to detect that such synthetic input was used to train a subsequent LLM. Current methods like membership inference or active IP protection either work only in settings where the suspected text is known or do not provide reliable statistical guarantees. We discover that, on the contrary, it is possible to reliably determine if a language model was trained on synthetic data if that data is output by a watermarked LLM. Our new methods, specialized for radioactivity, detects with a provable confidence weak residuals of the watermark signal in the fine-tuned LLM. We link the radioactivity contamination level to the following properties: the watermark robustness, its proportion in the training set, and the fine-tuning process. For instance, if the suspect model is open-weight, we demonstrate that training on watermarked instructions can be detected with high confidence ($p$-value $< 10^{-5}$) even when as little as $5\%$ of training text is watermarked.
title Watermarking Makes Language Models Radioactive
topic Cryptography and Security
Artificial Intelligence
Computation and Language
Machine Learning
url https://arxiv.org/abs/2402.14904