Are You Copying My Prompt? Protecting the Copyright of Vision Prompt for VPaaS via Watermark

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Ren, Huali, Yan, Anli, Gao, Chong-zhi, Yan, Hongyang, Zhang, Zhenxin, Li, Jin
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913361112858624
author Ren, Huali
Yan, Anli
Gao, Chong-zhi
Yan, Hongyang
Zhang, Zhenxin
Li, Jin
author_facet Ren, Huali
Yan, Anli
Gao, Chong-zhi
Yan, Hongyang
Zhang, Zhenxin
Li, Jin
contents Visual Prompt Learning (VPL) differs from traditional fine-tuning methods in reducing significant resource consumption by avoiding updating pre-trained model parameters. Instead, it focuses on learning an input perturbation, a visual prompt, added to downstream task data for making predictions. Since learning generalizable prompts requires expert design and creation, which is technically demanding and time-consuming in the optimization process, developers of Visual Prompts as a Service (VPaaS) have emerged. These developers profit by providing well-crafted prompts to authorized customers. However, a significant drawback is that prompts can be easily copied and redistributed, threatening the intellectual property of VPaaS developers. Hence, there is an urgent need for technology to protect the rights of VPaaS developers. To this end, we present a method named \textbf{WVPrompt} that employs visual prompt watermarking in a black-box way. WVPrompt consists of two parts: prompt watermarking and prompt verification. Specifically, it utilizes a poison-only backdoor attack method to embed a watermark into the prompt and then employs a hypothesis-testing approach for remote verification of prompt ownership. Extensive experiments have been conducted on three well-known benchmark datasets using three popular pre-trained models: RN50, BIT-M, and Instagram. The experimental results demonstrate that WVPrompt is efficient, harmless, and robust to various adversarial operations.
format Preprint
id arxiv_https___arxiv_org_abs_2405_15161
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Are You Copying My Prompt? Protecting the Copyright of Vision Prompt for VPaaS via Watermark
Ren, Huali
Yan, Anli
Gao, Chong-zhi
Yan, Hongyang
Zhang, Zhenxin
Li, Jin
Cryptography and Security
Computer Vision and Pattern Recognition
Visual Prompt Learning (VPL) differs from traditional fine-tuning methods in reducing significant resource consumption by avoiding updating pre-trained model parameters. Instead, it focuses on learning an input perturbation, a visual prompt, added to downstream task data for making predictions. Since learning generalizable prompts requires expert design and creation, which is technically demanding and time-consuming in the optimization process, developers of Visual Prompts as a Service (VPaaS) have emerged. These developers profit by providing well-crafted prompts to authorized customers. However, a significant drawback is that prompts can be easily copied and redistributed, threatening the intellectual property of VPaaS developers. Hence, there is an urgent need for technology to protect the rights of VPaaS developers. To this end, we present a method named \textbf{WVPrompt} that employs visual prompt watermarking in a black-box way. WVPrompt consists of two parts: prompt watermarking and prompt verification. Specifically, it utilizes a poison-only backdoor attack method to embed a watermark into the prompt and then employs a hypothesis-testing approach for remote verification of prompt ownership. Extensive experiments have been conducted on three well-known benchmark datasets using three popular pre-trained models: RN50, BIT-M, and Instagram. The experimental results demonstrate that WVPrompt is efficient, harmless, and robust to various adversarial operations.
title Are You Copying My Prompt? Protecting the Copyright of Vision Prompt for VPaaS via Watermark
topic Cryptography and Security
Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2405.15161