SWAP: Towards Copyright Auditing of Soft Prompts via Sequential Watermarking

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Yang, Wenyuan, Sun, Yichen, Chen, Changzheng, Chu, Zhixuan, Zhang, Jiaheng, Li, Yiming, Tao, Dacheng
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911719113097216
author Yang, Wenyuan
Sun, Yichen
Chen, Changzheng
Chu, Zhixuan
Zhang, Jiaheng
Li, Yiming
Tao, Dacheng
author_facet Yang, Wenyuan
Sun, Yichen
Chen, Changzheng
Chu, Zhixuan
Zhang, Jiaheng
Li, Yiming
Tao, Dacheng
contents Large-scale vision-language models, especially CLIP, have demonstrated remarkable performance across diverse downstream tasks. Soft prompts, as carefully crafted modules that efficiently adapt vision-language models to specific tasks, necessitate effective copyright protection. In this paper, we investigate model copyright protection by auditing whether suspicious third-party models incorporate protected soft prompts. While this can be viewed as a special case of model ownership auditing, our analysis shows that existing techniques are ineffective due to prompt learning's unique characteristics. Non-intrusive auditing is inherently prone to false positives when independent models share similar data distributions with victim models. Intrusive approaches also fail: backdoor methods designed for CLIP cannot embed functional triggers, while extending traditional DNN backdoor techniques to prompt learning suffers from harmfulness and ambiguity challenges. We find that these failures in intrusive auditing stem from the same fundamental reason: watermarking operates within the same decision space as the primary task yet pursues opposing objectives. Motivated by these findings, we propose sequential watermarking for soft prompts (SWAP), which implants watermarks into a different and more complex space. SWAP encodes watermarks through a specific order of defender-specified out-of-distribution classes, inspired by the zero-shot prediction capability of CLIP. This watermark, which is embedded in a more complex space, keeps the original prediction label unchanged, making it less opposed to the primary task. We further design a hypothesis-test-guided verification protocol for SWAP and provide a theoretical analysis of when verification works. Extensive experiments on 11 datasets demonstrate SWAP's effectiveness, harmlessness, and robustness against potential attacks.
format Preprint
id arxiv_https___arxiv_org_abs_2511_04711
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle SWAP: Towards Copyright Auditing of Soft Prompts via Sequential Watermarking
Yang, Wenyuan
Sun, Yichen
Chen, Changzheng
Chu, Zhixuan
Zhang, Jiaheng
Li, Yiming
Tao, Dacheng
Cryptography and Security
Artificial Intelligence
Machine Learning
Large-scale vision-language models, especially CLIP, have demonstrated remarkable performance across diverse downstream tasks. Soft prompts, as carefully crafted modules that efficiently adapt vision-language models to specific tasks, necessitate effective copyright protection. In this paper, we investigate model copyright protection by auditing whether suspicious third-party models incorporate protected soft prompts. While this can be viewed as a special case of model ownership auditing, our analysis shows that existing techniques are ineffective due to prompt learning's unique characteristics. Non-intrusive auditing is inherently prone to false positives when independent models share similar data distributions with victim models. Intrusive approaches also fail: backdoor methods designed for CLIP cannot embed functional triggers, while extending traditional DNN backdoor techniques to prompt learning suffers from harmfulness and ambiguity challenges. We find that these failures in intrusive auditing stem from the same fundamental reason: watermarking operates within the same decision space as the primary task yet pursues opposing objectives. Motivated by these findings, we propose sequential watermarking for soft prompts (SWAP), which implants watermarks into a different and more complex space. SWAP encodes watermarks through a specific order of defender-specified out-of-distribution classes, inspired by the zero-shot prediction capability of CLIP. This watermark, which is embedded in a more complex space, keeps the original prediction label unchanged, making it less opposed to the primary task. We further design a hypothesis-test-guided verification protocol for SWAP and provide a theoretical analysis of when verification works. Extensive experiments on 11 datasets demonstrate SWAP's effectiveness, harmlessness, and robustness against potential attacks.
title SWAP: Towards Copyright Auditing of Soft Prompts via Sequential Watermarking
topic Cryptography and Security
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2511.04711