A watermarking method for large language modelsA Watermark for Large Language Models
Researchers proposed a watermarking framework for proprietary large language models that embeds a signal in generated text that is invisible to humans but detectable by algorithm from a short token fragment, to mitigate the potential harms of large language models. The method randomly selects a set of green tokens before generating each word and slightly increases their probability of being selected during sampling; the watermark's impact on text quality is negligible, and detection can be done with an efficient open-source algorithm without access to the model API or parameters. The authors also proposed a statistical test for the watermark with an interpretable p-value, and gave an information-theoretic framework for analyzing watermark sensitivity; they tested on billion-parameter models of the OPT (Open Pretrained Transformer) series and discussed robustness and security.