ModelShield: Adaptive and Robust Watermark against Model Extraction Attack
On the map: LLM safety and security → Watermarking generated content and models
Abstract (arXiv)
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.
Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Placed in Watermarking generated content and models, one of 12 directions in LLM safety and security. Builds on 42 of its 77 references that are in the map. First posted on arXiv 3 May 2024.
Builds on
42 of 77 references.
Closest ancestors · 10
Same direction, newest first
- 2023Publicly-Detectable Watermarking for Language Models27 Oct
- 2023Robust Distortion-free Watermarks for Language Models28 Jul
- 2023Undetectable Watermarks for Language Models25 May
- 2023Are You Copying My Model? Protecting the Copyright of Large Language Models for EaaS via Backdoor Watermark17 May
- 2023Protecting Language Generation Models via Invisible Watermarking6 Feb
- 2023A Watermark for Large Language Models24 Jan
- 2022Watermarking Pre-trained Language Models with Backdooring14 Oct
- 2022CATER: Intellectual Property Protection on Text Generation APIs via Conditional Watermarks19 Sep
- 2021Copy, Right? A Testing Framework for Copyright Protection of Deep Learning Models10 Dec
- 2021Protecting Intellectual Property of Language Generation APIs with Lexical Watermark5 Dec
Other references · 32
- 2017Attention Is All You Needcited by 60,361
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
- 2019BERTScore: Evaluating Text Generation with BERTcited by 5,512
- 2023Mistral 7Bcited by 3,164
- 2016Membership Inference Attacks against Machine Learning Modelscited by 2,281
- 2020Knowledge Distillation: A Surveycited by 1,603
- 2016Stealing Machine Learning Models via Prediction APIscited by 619
- 2020GoEmotions: A Dataset of Fine-Grained Emotionscited by 486
20 more
- 2023How Close is ChatGPT to Human Experts? Comparison Corpus, Evaluation, and Detectioncited by 481
- 2019High Accuracy and High Fidelity Extraction of Neural Networkscited by 214
- 2018PRADA: Protecting against DNN Model Stealing Attackscited by 165
- 2021Mind the Style of Text! Adversarial and Backdoor Attacks Based on Text Style Transfercited by 158
- 2019Thieves on Sesame Street! Model Extraction of BERT-based APIscited by 139
- 2021Hidden Backdoors in Human-Centric Language Modelscited by 90
- 2022Untargeted Backdoor Watermark: Towards Harmless and Stealthy Dataset Copyright Protectioncited by 86
- 2019Prediction Poisoning: Towards Defenses Against DNN Model Stealing Attackscited by 81
- 2020Imitation Attacks and Defenses for Black-box Machine Translation Systemscited by 81
- 2022Black-box Dataset Ownership Verification via Backdoor Watermarkingcited by 65
- 2022Towards Data-Free Model Stealing in a Hard Label Settingcited by 58
- 2019Defending Against Model Stealing Attacks with Adaptive Misinformationcited by 57
- 2023Domain Watermark: Effective and Harmless Dataset Copyright Protection is Closed at Handcited by 57
- 2021Defending against Model Stealing via Verifying Embedded External Featurescited by 46
- 2022StolenEncoder: Stealing Pre-trained Encoders in Self-supervised Learningcited by 23
- 2022Evaluating Distributional Distortion in Neural Language Modelingcited by 19
- 2021Student Surpasses Teacher: Imitation Attack for Black-Box NLP APIscited by 18
- 2022On the Effectiveness of Dataset Watermarking in Adversarial Settingscited by 12
- 2024WARDEN: Multi-Directional Backdoor Watermarks for Embedding-as-a-Service Copyright Protectioncited by 12
- 2021BODAME: Bilevel Optimization for Defense Against Model Extractioncited by 1
Built on by
Citing papers per year: 2024: 1; 2025: 3; 2026: 3.
7 papers.
- 2025FIT-Print: Towards False-claim-resistant Model Ownership Verification via Targeted Fingerprintcited by 10
- 2024Watermarking Language Models through Language Modelscited by 8
- 2025MISLEADER: Defending against Model Extraction with Ensembles of Distilled Modelscited by 8
- 2026Robust LLM Watermarking with Minimal Semantic Distortion for IP Protectioncited by 1
- 2026LLM Watermarking as Big Data Provenance: A Deployment-Oriented Systematizationcited by 1
- 2025FLClear: Visually Verifiable Multi-Client Watermarking for Federated Learningcited by 0
- 2026R-CoT: A Reasoning-Layer Watermark via Redundant Chain-of-Thought in Large Language Modelscited by 0
- 2026LLM Watermarking as Big Data Provenance: A Deployment-Oriented Systematization11 Jul 2026
- 2026Robust LLM Watermarking with Minimal Semantic Distortion for IP Protection22 May 2026
- 2026R-CoT: A Reasoning-Layer Watermark via Redundant Chain-of-Thought in Large Language Models28 Apr 2026
- 2025FLClear: Visually Verifiable Multi-Client Watermarking for Federated Learning16 Nov 2025
- 2025MISLEADER: Defending against Model Extraction with Ensembles of Distilled Models3 Jun 2025
- 2025FIT-Print: Towards False-claim-resistant Model Ownership Verification via Targeted Fingerprint26 Jan 2025
- 2024Watermarking Language Models through Language Models7 Nov 2024
Similar, not cited
Close in wording, no citation either way
- 2026T2S: A Rehearsal-Based Approach for Extraction-Resistant Model Watermarking
- 2024Provably Robust Watermarks for Open-Source Language Models
- 2024Learnable Linguistic Watermarks for Tracing Model Extraction Attacks on Large Language Models
- 2025SEAL: Subspace-Anchored Watermarks for LLM Ownership
- 2025PRO: Enabling Precise and Robust Text Watermark for Open-Source LLMs
- 2022DynaMarks: Defending Against Deep Learning Model Extraction Using Dynamic Watermarking
- 2024MEA-Defender: A Robust Watermark against Model Extraction Attack
- 2024Optimizing Adaptive Attacks against Watermarks for Language Models