ModelShield: Adaptive and Robust Watermark Against Model Extraction Attack
Open accessThe DOI matches its Crossref record; 54 of the 54 references it cites were found in a registry or an index.
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.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
The source backs part of the claim, not all of it — or backs it for a different population, condition or comparison.
In the citing paper
“Recent studies show these attacks require minimal assumptions, succeeding even in black-box settings where adversaries only access model APIs [106].”
From Privacy-preserving Machine Learning in Internet of Vehicle Applications: Fundamentals, Recent Advances, and Future Direction (2025) · cites this paper as [106]
Experimental — accuracy not yet measured
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., Kaiser, L., & Polosukhin, I. (2017) · arXiv · doi:10.48550/arxiv.1706.03762 · Cited by 120,404 · cited 1×
“We use the transformer-based [57] model as the imitation model due to its widespread adoption and e ff ectiveness in text generation.”
Exploiting Generative AI to Scale up Intelligent Tutoring Systems
Jakubův, J., Chvalovský, K., Goertzel, Z., Kaliszyk, C., Olšák, M., Piotrowski, B., Schulz, S., Suda, M., & Urban, J. (2023) · DROPS (Schloss Dagstuhl – Leibniz Center for Informatics) · doi:10.4230/lipics.itp.2023.19 · Cited by 76,658
Language Models are Few-Shot Learners
Brown, T. B., Mann, B., Ryder, N., Subbiah, M., Kaplan, J., Dhariwal, P., Neelakantan, A., Shyam, P., Sastry, G., Askell, A., et al. (2020) · arXiv · doi:10.48550/arxiv.2005.14165 · Cited by 23,372 · cited 1×
“5-turbo-0613 ) [56] as the victim model, querying it and applying ModelShield to generate answers containing watermark words.”
BLEU: a method for automatic evaluation of machine translation
Papineni, K., Roukos, S., Ward, T., & Zhu, W.-J. (2001) · Proceedings of the 40th Annual Meeting on Association for Computational Linguistics - ACL '02 · doi:10.3115/1073083.1073135 · Cited by 21,344 · cited 1×
“Specifically, we assess the language model’s QA task performance using BLEU [59] and ROUGE [60] metrics based on human gold standards.”
(2004) · Cited by 9,718
Learning Word Vectors for Sentiment Analysis
Maas, A. L., Daly, R. E., Pham, P. T., Huang, D., Ng, A. Y., & Potts, C. (2011) · Cited by 6,960
Implementation intentions: Strong effects of simple plans.
Gollwitzer, P. M. (1999) · American Psychologist · doi:10.1037/0003-066x.54.7.493 · Cited by 5,478 · cited 1×
“The watermark generation process resembles a person reminding themselves to incorporate a unique watermark known only to them during the spontaneous creation stage [45], [46].”
Membership Inference Attacks Against Machine Learning Models
Shokri, R., Stronati, M., Song, C., & Shmatikov, V. (2017) · 2017 IEEE Symposium on Security and Privacy (SP) · doi:10.1109/sp.2017.41 · Cited by 4,754 · cited 1×
“In the detailed contrastive watermark verification , we employ two-sample KS test [48], which is inspired by the detection method in Membership Inference Attacks [49].”
Knowledge Distillation: A Survey
Gou, J., Yu, B., Maybank, S. J., & Tao, D. (2021) · International Journal of Computer Vision · doi:10.1007/s11263-021-01453-z · Cited by 3,931 · cited 1×
“Model extraction attacks are akin to knowledge distillation [1], illustrated by the Alpaca case [2].”
Training Language Models to Follow Instructions with Human Feedback
Ouyang, L., Wu, J., Jiang, X., Almeida, D., Wainwright, C., Mishkin, P., Zhang, C., Agarwal, S., Slama, K., Ray, A., et al. (2022) · Advances in Neural Information Processing Systems 35 · doi:10.52202/068431-2011 · Cited by 3,117 · cited 1×
“Given that existing LLMs possess an almost human-like capacity for understanding and adhering to instructions [42], [43], our strategy leverages this strong instruction-following ability as a defensive mechanism in system mode.”
Research works printed but not linked: 10
- Y. Gu, L. Dong, F. Wei, and M. Huang, "Minillm: Knowledge distillation of large language models," in The Twelfth International Conference on Learning Representations, 2023.
- Krause, E. Brunskill, K. Cho, B. Engelhardt, S. Sabato, and J. Scarlett, Eds., vol. 202. PMLR, 23-29 Jul 2023, pp. 42 187-42 199. [Online]. Available: https://proceedings.mlr.press/v202/zhao23i.html
- A. Radford, J. Wu, R. Child, D. Luan, D. Amodei, I. Sutskever, et al., "Language models are unsupervised multitask learners," OpenAI blog, vol. 1, no. 8, p. 9, 2019.
- F. Tramèr, F. Zhang, A. Juels, M. K. Reiter, and T. Ristenpart, "Stealing machine learning models via prediction apis," in USENIX Security Symposium, 2016. · doi:10.5555/3241094.3241142
- Calzolari, C.-R. Huang, H. Kim, J. Pustejovsky, L. Wanner, K.-S. Choi, P.-M. Ryu, H.-H. Chen, L. Donatelli, H. Ji, S. Kurohashi, P. Paggio, N. Xue, S. Kim, Y. Hahm, Z. He, T. K. Lee, E. Santus, F. Bond, and S.-H. Na, Eds. Gyeongju, Republic of Korea: International Committee on Computational Linguistics, Oct. 2022, pp. 2849-2860.
- Krause, E. Brunskill, K. Cho, B. Engelhardt, S. Sabato, and J. Scarlett, Eds., vol. 202. PMLR, 23-29 Jul 2023, pp. 17 061-17 084.
- W. Peng, J. Yi, F. Wu, S. Wu, B. Bin Zhu, L. Lyu, B. Jiao, T. Xu, G. Sun, and X. Xie, "Are you copying my model? protecting the copyright of large language models for EaaS via backdoor watermark," in Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), A. Rogers, J. Boyd-Graber, and N. Okazaki, Eds. Toronto, Canada: Association for Computational Linguistics, July 2023, pp. 7653-7668.
- C. S. Carver and M. F. Scheier, On the self-regulation of behavior. cambridge university press, 2001.
- A. Go, "Twitter sentiment classification using distant supervision," 2009. [Online]. Available: https://api.semanticscholar.org/CorpusID:18635269
- E. J. Hu, Y. Shen, P. Wallis, Z. Allen-Zhu, Y. Li, S. Wang, L. Wang, and W. Chen, "LoRA: Low-rank adaptation of large language models," in International Conference on Learning Representations, 2022.
Cited by
A Survey on Model Extraction Attacks and Defenses for Large Language Models
Zhao, K., Li, L., Ding, K., Gong, N. Z., Zhao, Y., & Dong, Y. (2025) · ACM SIGKDD Conference on Knowledge Discovery and Data Mining (KDD) · doi:10.1145/3711896.3736573 · Cited by 62
Watermarking for Large Language Models: A Survey
Yang, Z., Zhao, G., & Wu, H. (2025) · Mathematics · doi:10.3390/math13091420 · Cited by 47
“…al. [63] Logits-based 1-bit Liu et al. [64] Logits-based 1-bit Niess et al. [65] Logits-based 1-bit Pang et al. [66] Logits-based 1-bit Pang et al. [40] External decoder-based 1-bit Qu et al. [67] Logits-based Multi-bits Ren et al. [68] Logits-based 1-bit Ren et al. [69] Logits-based 1-bit Song et…”
Attack and defense techniques in large language models: A survey and new perspectives
Liao, Z., Chen, K., Lin, Y., Li, K., Liu, Y., Chen, H., Huang, X., & Yu, Y. (2025) · Neural Networks · doi:10.1016/j.neunet.2025.108388 · Cited by 53
Triantafyllopoulos, A., Spiesberger, A. A., Tsangko, I., Jing, X., Distler, V., Dietz, F., Alt, F., & Schuller, B. W. (2025) · Computer Speech & Language · doi:10.1016/j.csl.2025.101802 · Cited by 36
FreqMambaMark: Wavelet-Mamba-driven robust medical image watermarking
He, Z., Chen, Y., Yang, Y., Ouyang, Z., Luo, Y., & Chen, L. (2026) · Knowledge-Based Systems · doi:10.1016/j.knosys.2026.115344 · Cited by 4
Watermarking Language Models Through Language Models
Dasgupta, A., Tanvir, A. A., & Zhong, X. R. (2025) · IEEE Transactions on Artificial Intelligence · doi:10.1109/tai.2025.3605117 · Cited by 18
“To evaluate the robustness of our watermarking framework against prompt-based manipulations, we conduct a targeted attack experiment where adversarial text is appended to the watermarked outputs [20].”
IPNetTool: Watermarking and Chaos for copyright protection of image classification models
Tyagi, T., Singh, K. N., Singh, A. K., & Gupta, B. B. (2025) · Future Generation Computer Systems · doi:10.1016/j.future.2025.107907 · Cited by 2
Ezzeddine, F., Giordano, S., & Ayoub, O. (2026) · Frontiers in Artificial Intelligence · doi:10.3389/frai.2026.1746910 · Cited by 7
Islam, N., & Zulkernine, M. (2025) · arXiv · doi:10.48550/arxiv.2503.01089 · Cited by 9
“FASTGNN [178] is a potential solution to this which uses FL and GNN for traffic flow prediction that protects graph topological data privacy.”
Sharma, C., Dhillon, A., Prashar, D., Khan, A. A., Ali, F., & AlZubi, A. A. (2025) · Scientific Reports · doi:10.1038/s41598-025-33103-6 · Cited by 1
A secure deep image watermarking model using patch-based embedding and conditional mechanism
Bartani, A., Karimi, S., Awla, H. Q., & Tab, F. A. (2026) · Engineering Applications of Artificial Intelligence · doi:10.1016/j.engappai.2026.114503 · Cited by 1
Mahto, D. K., & Dwivedi, R. (2026) · The Journal of Supercomputing · doi:10.1007/s11227-026-08475-9 · Cited by 1
Li, J., Wang, J., Zhao, Z., & Wei, Z. (2026) · Computer Standards & Interfaces · doi:10.1016/j.csi.2026.104181 · Cited by 1
A surrogate ensemble fusion framework for robust watermark extraction in black-box models
Zhang, Z., Luo, S., Xing, F., & Pan, L. (2026) · Information Fusion · doi:10.1016/j.inffus.2026.104547 · Cited by 1
Context Injection Vulnerabilities and Resource Exploitation Attacks in Model Context ProtocolPreprint
Siameh, T., Addobea, A. A., & Liu, C. (2025) · doi:10.36227/techrxiv.175321790.02502754/v1 · Cited by 5
Utilizing WatermarkMamba to Conceal Watermarks for Effective Model Theft Protection
Zhao, Y., & Zhong, Q. (2025) · Signals and communication technology · doi:10.1007/978-3-031-94973-9_7
Bypassing Cross-Domain Restrictions with Unsupervised Visual Translation
Ren, H., Chen, P., Ding, Z., Chen, W., Li, J., & Gao, C.-Z. (2025) · Lecture notes in computer science · doi:10.1007/978-981-95-3185-1_15 · Cited by 1
Robust Ownership Verification in Large Language Models via Equivalent Neuron Pair Encoding
Chen, Z., & Ye, P.-G. (2025) · Lecture notes in computer science · doi:10.1007/978-981-95-3185-1_13
Backdoor-Based Protection Framework for Model Functional Services
Guo, Y., Hao, Q., Liu, Z., Wu, Q., Lu, Y., Gu, M., & Hu, S. (2026) · Lecture notes in computer science · doi:10.1007/978-981-95-6963-2_4
A Systematic Security Analysis of Model Context Protocol: Vulnerabilities, Exploits, and Mitigations
Siameh, T., Addobea, A. A., Liu, C.-H., & Fiah, E. K. (2026) · IEEE International Conference on AI in Cybersecurity (ICAIC) · doi:10.1109/icaic67076.2026.11395848 · Cited by 3
Your Non-Transferable Learning is Fragile: Practical Breach of Protected Models
Yan, A., Ren, H., Mo, K., Ye, P., Zhang, Z., Yan, H., & Li, J. (2026) · IEEE Transactions on Information Forensics and Security · doi:10.1109/tifs.2026.3672383
“T HE application scale and coverage of deep learning models in various complex tasks (e.g., medical diagnosis [43], autonomous driving [31]) is constantly increasing, and its strategic value as intellectual property is becoming increasingly prominent [27], [45].”
SLIM: Stable Latent Integration for Robust Watermark in Diffusion Model
Kong, X., Chen, P., Li, B., Yuan, J.-Y., Cai, Z., Wu, H., & Liang, L. (2026) · IEEE transactions on circuits and systems for video technology (Print) · doi:10.1109/tcsvt.2026.3676184 · Cited by 1
“…Intelligence Generated Content (AIGC Watermark) can be embedded into AI-generated images imperceptibly to users but extractable for verification, allowing the origin of content to be traced and intellectual property to be verified, thereby providing proactive protection [8], [9], [10], [11].”
MDV: Resolving the Auxiliary Data Dilemma in Model Extraction Defenses
Liang, C., Huang, J., Zhang, S., & Zhang, Z. (2026) · IEEE Transactions on Information Forensics and Security · doi:10.1109/tifs.2026.3695426
“ModelShield [37] introduces a self-watermarking mechanism that enables models to autonomously embed an invisible but detectable watermark in generated content.”
Mitigating Security Risks in Large Language Models: A Full Lifecycle Perspective
Wang, Y., Bai, Z., Huo, J., Wang, B.-Y., Liu, J., Cao, H.-Y., Meng, F., Yang, X., & Gao, Y. (2026) · Machine-mediated learning · doi:10.1007/s10994-025-06930-x
Precise defense method against low-magnitude poisoning attack in industrial internet of things
Ran, Z., Yao, Y. K., Shan, Y., Li, W., Yang, W., & Hao, Y. (2026) · Expert Systems with Applications · doi:10.1016/j.eswa.2026.133244
ComMark: Covert and Robust Black-Box Model Watermarking with Compressed Samples
Yang, Y., Chen, X., Zhao, Z., Zhou, Y., Gu, X., & Cao, J. (2026) · International Conference on Multimedia Retrieval · doi:10.1145/3805622.3810742
Li, X., Zhao, W., Xu, J., Liu, Y., & Lu, Z. (2026) · ACM Workshop on Wireless Security and Machine Learning (WiseML) · doi:10.1145/3811880.3815105
Geng, T., Zi, Y., Zhou, X., Li, J. J., & Liang, H. (2026) · Communications in computer and information science · doi:10.1007/978-981-92-3541-4_13
MLMAC: MAC-Like Model Identity for Edge IoT AI Agents Using Behavioral Vectors and Fuzzy Extraction
Kanakri, W., & King, B. (2026) · IEEE Internet of Things Journal · doi:10.1109/jiot.2026.3717885
“Model watermarking [22], [23], [24], [25], [26], [27], [28] embeds extrinsic patterns that are intentionally identical across copies—the opposite of instance-unique identification—and can be detected and removed [18], [29].”
Efficiently Mitigating Model Extraction Attacks against Neural Networks on Edge Devices
Porsia, A., Monteasi, G., Ruospo, A., Galdiero, D., & Sánchez, E. (2026) · IEEE International On-Line Testing Symposium (IOLTS) · doi:10.1109/iolts69666.2026.11633832
“One of the most relevant ownership verification approaches is watermarking [21]–[26], where unique identifiers are embedded into ML models and later used to identify stolen models.”
Islam, M. R., Uddin, M. P., & Xiang, Y. (2026) · Computer Science Review · doi:10.1016/j.cosrev.2026.101074
Metadata
- Authors
- Pang, K., Qi, T., Wu, C., Bai, M., Jiang, M., & Huang, Y.
- Affiliations
- Tsinghua University (CN)
- Beijing University of Posts and Telecommunications (CN)
- Huawei Technologies (China) (CN)
- Venue
- IEEE Transactions on Information Forensics and Security
- Published
- 2025
- Volume
- 20
- Pages
- 1767-1782
- ISSN
- 1556-6013 (ISSN-L)
- 1556-6021
- OpenAlex
- W4406458681
- Semantic Scholar
- 3434f582cc9c2818785e2920241d43d932625539
- Cited by
- 29
- References
- 53
- Citations by year
- 2026: 19 · 2025: 10
- FWCI
- 11.63
- Type
- journal article
- Language
- en
- Open access
- green
- arxiv.org
- Licence
- Locations
- IEEE Transactions on Information Forensics and Security (publishedVersion)
- arXiv (Cornell University) (submittedVersion)
- arXiv (Cornell University)
- Funders
- CCF-Sangfor ‘Yuanwang’ Research Fund (20240202)
- National Natural Science Foundation of China (U2336208, 62036001, 62262002, 82090053)
- Topics
- Physical Sciences › Computer Science › Artificial Intelligence › Adversarial Robustness in Machine Learning
- Physical Sciences › Computer Science › Computer Vision and Pattern Recognition › Advanced Steganography and Watermarking Techniques
- Physical Sciences › Computer Science › Hardware and Architecture › Physical Unclonable Functions (PUFs) and Hardware Security
- Keywords
- model extraction attacks, watermarking, large language models, intellectual property protection, watermark detection, adversarial robustness, black-box access
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.