Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

PromptCARE: Prompt Copyright Protection by Watermark Injection and Verification

About

Large language models (LLMs) have witnessed a meteoric rise in popularity among the general public users over the past few months, facilitating diverse downstream tasks with human-level accuracy and proficiency. Prompts play an essential role in this success, which efficiently adapt pre-trained LLMs to task-specific applications by simply prepending a sequence of tokens to the query texts. However, designing and selecting an optimal prompt can be both expensive and demanding, leading to the emergence of Prompt-as-a-Service providers who profit by providing well-designed prompts for authorized use. With the growing popularity of prompts and their indispensable role in LLM-based services, there is an urgent need to protect the copyright of prompts against unauthorized use. In this paper, we propose PromptCARE, the first framework for prompt copyright protection through watermark injection and verification. Prompt watermarking presents unique challenges that render existing watermarking techniques developed for model and dataset copyright verification ineffective. PromptCARE overcomes these hurdles by proposing watermark injection and verification schemes tailor-made for prompts and NLP characteristics. Extensive experiments on six well-known benchmark datasets, using three prevalent pre-trained LLMs (BERT, RoBERTa, and Facebook OPT-1.3b), demonstrate the effectiveness, harmlessness, robustness, and stealthiness of PromptCARE.

Hongwei Yao, Jian Lou, Kui Ren, Zhan Qin• 2023

Related benchmarks

TaskDatasetResultRank
Watermark EmbeddingLLM Prompts
Runtime (min)240.7
25
Question AnsweringBIGBENCH II
True WS Score100
12
MathGSM8K
True Workspace Rate98
12
Mathematical ReasoningGSM8K
Accuracy Deg %2.15
9
Natural Language ProcessingBIGBENCH II
Accuracy Degradation (%)0.03
9
CodeHumanEval
True WS Score0.37
8
Code GenerationHumanEval
Accuracy Degradation (%)0.37
6
Showing 7 of 7 rows

Other info

Follow for update