ModelShield: Adaptive and Robust Watermark Against Model Extraction Attack
Top Cited Papers
- 16 January 2025
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Information Forensics and Security
- Vol. 20 (15566013) , 1767-1782
Abstract
Large language models (LLMs) demonstrate general intelligence across a variety of machine learning tasks, thereby enhancing the commercial value of their intellectual property (IP). To protect this IP, model owners typically allow user access only in a black-box manner, however, adversaries can still utilize model extraction attacks to steal the model intelligence encoded in model generation. Watermarking technology offers a promising solution for defending against such attacks by embedding unique identifiers into the model-generated content. However, existing watermarking methods often compromise the quality of generated content due to heuristic alterations and lack robust mechanisms to counteract adversarial strategies, thus limiting their practicality in real-world scenarios. In this paper, we introduce an adaptive and robust watermarking method (named ModelShield) to protect the IP of LLMs. Our method incorporates a self-watermarking mechanism that allows LLMs to autonomously insert watermarks into their generated content to avoid the degradation of model content. We also propose a robust watermark detection mechanism capable of effectively identifying watermark signals under the interference of varying adversarial strategies. Besides, ModelShield is a plug-and-play method that does not require additional model training, enhancing its applicability in LLM deployments. Extensive evaluations on two real-world datasets and three LLMs demonstrate that our method surpasses existing methods in terms of defense effectiveness and robustness while significantly reducing the degradation of watermarking on the model-generated content.Keywords
All Related Versions
Funding Information
- CCF-Sangfor ‘Yuanwang’ Research Fund (20240202)
- National Natural Science Foundation of China (U2336208, 62036001, 62262002, 82090053)
This publication has 28 references indexed in Scilit:
- Towards Data-Free Model Stealing in a Hard Label Setting2022
- Copy, Right? A Testing Framework for Copyright Protection of Deep Learning Models2022
- Knowledge Distillation: A SurveyInternational Journal of Computer Vision, 2021
- Defending Against Model Stealing Attacks With Adaptive Misinformation2020
- PRADA: Protecting Against DNN Model Stealing Attacks2019
- Membership Inference Attacks Against Machine Learning Models2017
- Kolmogorov–Smirnov Test: Overview2014
- Quantization index modulation: a class of provably good methods for digital watermarking and information embeddingIEEE Transactions on Information Theory, 2001
- Multimedia watermarking techniquesProceedings of the IEEE, 1999
- Implementation intentions: Strong effects of simple plans.American Psychologist, 1999