Mark My Words: Analyzing and Evaluating Language Model Watermarks

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Piet, Julien, Sitawarin, Chawin, Fang, Vivian, Mu, Norman, Wagner, David
Format: Preprint
Published: 2023
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910645674311680
author Piet, Julien
Sitawarin, Chawin
Fang, Vivian
Mu, Norman
Wagner, David
author_facet Piet, Julien
Sitawarin, Chawin
Fang, Vivian
Mu, Norman
Wagner, David
contents The capabilities of large language models have grown significantly in recent years and so too have concerns about their misuse. It is important to be able to distinguish machine-generated text from human-authored content. Prior works have proposed numerous schemes to watermark text, which would benefit from a systematic evaluation framework. This work focuses on LLM output watermarking techniques - as opposed to image or model watermarks - and proposes Mark My Words, a comprehensive benchmark for them under different natural language tasks. We focus on three main metrics: quality, size (i.e., the number of tokens needed to detect a watermark), and tamper resistance (i.e., the ability to detect a watermark after perturbing marked text). Current watermarking techniques are nearly practical enough for real-world use: Kirchenbauer et al. [33]'s scheme can watermark models like Llama 2 7B-chat or Mistral-7B-Instruct with no perceivable loss in quality on natural language tasks, the watermark can be detected with fewer than 100 tokens, and their scheme offers good tamper resistance to simple perturbations. However, they struggle to efficiently watermark code generations. We publicly release our benchmark (https://github.com/wagner-group/MarkMyWords).
format Preprint
id arxiv_https___arxiv_org_abs_2312_00273
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Mark My Words: Analyzing and Evaluating Language Model Watermarks
Piet, Julien
Sitawarin, Chawin
Fang, Vivian
Mu, Norman
Wagner, David
Cryptography and Security
Artificial Intelligence
Computation and Language
The capabilities of large language models have grown significantly in recent years and so too have concerns about their misuse. It is important to be able to distinguish machine-generated text from human-authored content. Prior works have proposed numerous schemes to watermark text, which would benefit from a systematic evaluation framework. This work focuses on LLM output watermarking techniques - as opposed to image or model watermarks - and proposes Mark My Words, a comprehensive benchmark for them under different natural language tasks. We focus on three main metrics: quality, size (i.e., the number of tokens needed to detect a watermark), and tamper resistance (i.e., the ability to detect a watermark after perturbing marked text). Current watermarking techniques are nearly practical enough for real-world use: Kirchenbauer et al. [33]'s scheme can watermark models like Llama 2 7B-chat or Mistral-7B-Instruct with no perceivable loss in quality on natural language tasks, the watermark can be detected with fewer than 100 tokens, and their scheme offers good tamper resistance to simple perturbations. However, they struggle to efficiently watermark code generations. We publicly release our benchmark (https://github.com/wagner-group/MarkMyWords).
title Mark My Words: Analyzing and Evaluating Language Model Watermarks
topic Cryptography and Security
Artificial Intelligence
Computation and Language
url https://arxiv.org/abs/2312.00273