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
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
How to cite
Cite CoChat for the checks on this page, and the paper for its own findings.
- This page
- CoChat. (2026). Citation check: ModelShield: Adaptive and Robust Watermark Against Model Extraction Attack. https://app.cochat.ai/papers/10.1109/tifs.2025.3530691
- The paper
- Pang, K., Qi, T., Wu, C., Bai, M., Jiang, M., & Huang, Y. (2025). ModelShield: Adaptive and Robust Watermark Against Model Extraction Attack. IEEE Transactions on Information Forensics and Security. https://doi.org/10.1109/tifs.2025.3530691
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.