A Survey on Model Extraction Attacks and Defenses for Large Language Models
Not on the map. Why?
Abstract (arXiv)
Model extraction attacks pose significant security threats to deployed language models, potentially compromising intellectual property and user privacy. This survey provides a comprehensive taxonomy of LLM-specific extraction attacks and defenses, categorizing attacks into functionality extraction, training data extraction, and prompt-targeted attacks. We analyze various attack methodologies including API-based knowledge distillation, direct querying, parameter recovery, and prompt stealing techniques that exploit transformer architectures. We then examine defense mechanisms organized into model protection, data privacy protection, and prompt-targeted strategies, evaluating their effectiveness across different deployment scenarios. We propose specialized metrics for evaluating both attack effectiveness and defense performance, addressing the specific challenges of generative language models. Through our analysis, we identify critical limitations in current approaches and propose promising research directions, including integrated attack methodologies and adaptive defense mechanisms that balance security with model utility. This work serves NLP researchers, ML engineers, and security professionals seeking to protect language models in production environments.
Key facts. Cited by 18 papers in the map (data through 7 Oct 2026). Builds on 47 of its 83 references that are in the map. First posted on arXiv 26 Jun 2025.
Builds on
47 of 83 references.
References · 47
- 2020Extracting Training Data from Large Language Modelscited by 2,144
- 2023Jailbroken: How Does LLM Safety Training Fail?cited by 1,565
- 2022Ignore Previous Prompt: Attack Techniques For Language Modelscited by 760
- 2023Distilling Step-by-Step! Outperforming Larger Language Models with Less Training Data and Smaller Model Sizescited by 710
- 2023Tree of Attacks: Jailbreaking Black-Box LLMs Automaticallycited by 619
- 2016Stealing Machine Learning Models via Prediction APIscited by 602
- 2023A Survey on Large Language Model (LLM) Security and Privacy: The Good, the Bad, and the Uglycited by 380
- 2022Are Large Pre-Trained Language Models Leaking Your Personal Information?cited by 195
- 2024Security and Privacy Challenges of Large Language Models: A Surveycited by 179
- 2023Can Sensitive Information Be Deleted From LLMs? Objectives for Defending Against Extraction Attackscited by 156
- 2024Stealing Part of a Production Language Modelcited by 152
- 2024O1 Replication Journey: A Strategic Progress Report -- Part 1cited by 140
35 more
- 2019Thieves on Sesame Street! Model Extraction of BERT-based APIscited by 136
- 2024PLeak: Prompt Leaking Attacks against Large Language Model Applicationscited by 113
- 2023A Survey of Text Watermarking in the Era of Large Language Modelscited by 102
- 2024On Protecting the Data Privacy of Large Language Models (LLMs): A Surveycited by 91
- 2024O1 Replication Journey -- Part 2: Surpassing O1-preview through Simple Distillation, Big Progress or Bitter Lesson?cited by 90
- 2024A New Era in LLM Security: Exploring Security Concerns in Real-World LLM-based Systemscited by 74
- 2024Covert Malicious Finetuning: Challenges in Safeguarding LLM Adaptationcited by 74
- 2018NSML: Meet the MLaaS platform with a real-world case studycited by 70
- 2022CATER: Intellectual Property Protection on Text Generation APIs via Conditional Watermarkscited by 68
- 2021Model Extraction and Adversarial Transferability, Your BERT is Vulnerable!cited by 51
- 2023Prompt Stealing Attacks Against Text-to-Image Generation Modelscited by 48
- 2024Extracting Prompts by Inverting LLM Outputscited by 40
- 2017Model Extraction Warning in MLaaS Paradigmcited by 39
- 2018Chiron: Privacy-preserving Machine Learning as a Servicecited by 38
- 2023Ethicist: Targeted Training Data Extraction Through Loss Smoothed Soft Prompting and Calibrated Confidence Estimationcited by 36
- 2023Unveiling Memorization in Code Modelscited by 29
- 2022Text Revealer: Private Text Reconstruction via Model Inversion Attacks against Transformerscited by 28
- 2024Exploring Safety-Utility Trade-Offs in Personalized Language Modelscited by 26
- 2024DDK: Distilling Domain Knowledge for Efficient Large Language Modelscited by 25
- 2023Model Leeching: An Extraction Attack Targeting LLMscited by 22
- 2022Canary Extraction in Natural Language Understanding Modelscited by 20
- 2024Privacy Backdoors: Stealing Data with Corrupted Pretrained Modelscited by 20
- 2021Student Surpasses Teacher: Imitation Attack for Black-Box NLP APIscited by 16
- 2024Pandora's White-Box: Precise Training Data Detection and Extraction in Large Language Modelscited by 11
- 2024TransLinkGuard: Safeguarding Transformer Models Against Model Stealing in Edge Deploymentcited by 11
- 2024Enhancing Knowledge Distillation of Large Language Models through Efficient Multi-Modal Distribution Alignmentcited by 10
- 2025Mimicking the Familiar: Dynamic Command Generation for Information Theft Attacks in LLM Tool-Learning Systemcited by 10
- 2024Knowledge Distillation Using Frontier Open-source LLMs: Generalizability and the Role of Synthetic Datacited by 9
- 2025Quantification of Large Language Model Distillationcited by 9
- 2025CEGA: A Cost-Effective Approach for Graph-Based Model Extraction and Acquisitioncited by 9
- 2021Killing One Bird with Two Stones: Model Extraction and Attribute Inference Attacks against BERT-based APIscited by 7
- 2023A Theoretical Insight into Attack and Defense of Gradient Leakage in Transformercited by 6
- 2025LLM Access Shield: Domain-Specific LLM Framework for Privacy Policy Compliancecited by 6
- 2024CoreGuard: Safeguarding Foundational Capabilities of LLMs Against Model Stealing in Edge Deploymentcited by 5
- 2025Stealing Training Data from Large Language Models in Decentralized Training through Activation Inversion Attackcited by 3
Built on by
Citing papers per year: 2025: 5; 2026: 13.
18 papers.
Sort:
By area:
- 2026Intelligent AI Delegationcited by 16
- 2026On Protecting Agentic Systems' Intellectual Property via Watermarkingcited by 7
- 2025Memorization in Large Language Models in Medicine: Prevalence, Characteristics, and Implicationscited by 5
- 2026CREDIT: Certified Ownership Verification of Deep Neural Networks Against Model Extraction Attackscited by 4
- 2026CITED: A Decision Boundary-Aware Signature for GNNs Towards Model Extraction Defensecited by 3
- 2026Safety, Security, and Cognitive Risks in World Modelscited by 3
- 2026Sequential Behavioral Watermarking for LLM Agentscited by 3
- 2025Intellectual Property in Graph-Based Machine Learning as a Service: Attacks and Defensescited by 2
- 2025From Essence to Defense: Adaptive Semantic-aware Watermarking for Embedding-as-a-Service Copyright Protectioncited by 2
- 2026Echoes within the Reasoning: Stealthy and Effective Watermarking via Chain of Thoughtcited by 2
- 2026What Does It Mean to Break a Distillation Defense?cited by 1
- 2025DESIGN: Encrypted GNN Inference via Server-Side Input Graph Pruningcited by 0
6 more
- 2025Robustness of LLM-enabled vehicle trajectory prediction under data security threatscited by 0
- 2026Can Subgraph Explanations Be Weaponized to Steal Graph Neural Networks?cited by 0
- 2026RECAST: Model Reconstruction via Counterfactual-Aware Wasserstein Geometry under Limited Datacited by 0
- 2026Black-Box Inference of LLM Architectural Properties with Restrictive API Accesscited by 0
- 2026ADS-C: Antidistillation Sampling for Classificationcited by 0
- 2026JudgeStealer: Extracting LLM Judging Capabilities across Evaluation Protocolscited by 0
- 2026JudgeStealer: Extracting LLM Judging Capabilities across Evaluation Protocols27 Aug 2026
- 2026ADS-C: Antidistillation Sampling for Classification16 Jul 2026
- 2026Black-Box Inference of LLM Architectural Properties with Restrictive API Access1 Jul 2026
- 2026RECAST: Model Reconstruction via Counterfactual-Aware Wasserstein Geometry under Limited Data26 Jun 2026
- 2026What Does It Mean to Break a Distillation Defense?23 Jun 2026
- 2026Can Subgraph Explanations Be Weaponized to Steal Graph Neural Networks?28 May 2026
- 2026Echoes within the Reasoning: Stealthy and Effective Watermarking via Chain of Thought27 May 2026
- 2026Sequential Behavioral Watermarking for LLM Agents11 May 2026
- 2026Safety, Security, and Cognitive Risks in World Models1 Apr 2026
- 2026CREDIT: Certified Ownership Verification of Deep Neural Networks Against Model Extraction Attacks23 Feb 2026
- 2026CITED: A Decision Boundary-Aware Signature for GNNs Towards Model Extraction Defense23 Feb 2026
- 2026Intelligent AI Delegation12 Feb 2026
6 more
- 2026On Protecting Agentic Systems' Intellectual Property via Watermarking9 Feb 2026
- 2025From Essence to Defense: Adaptive Semantic-aware Watermarking for Embedding-as-a-Service Copyright Protection18 Dec 2025
- 2025Robustness of LLM-enabled vehicle trajectory prediction under data security threats14 Nov 2025
- 2025Memorization in Large Language Models in Medicine: Prevalence, Characteristics, and Implications10 Sep 2025
- 2025Intellectual Property in Graph-Based Machine Learning as a Service: Attacks and Defenses27 Aug 2025
- 2025DESIGN: Encrypted GNN Inference via Server-Side Input Graph Pruning8 Jul 2025
- 2026Safety, Security, and Cognitive Risks in World Modelscited by 3
- 2026Safety, Security, and Cognitive Risks in World Models1 Apr 2026
- 2026Intelligent AI Delegationcited by 16
- 2025Memorization in Large Language Models in Medicine: Prevalence, Characteristics, and Implicationscited by 5
- 2026CREDIT: Certified Ownership Verification of Deep Neural Networks Against Model Extraction Attackscited by 4
- 2026CITED: A Decision Boundary-Aware Signature for GNNs Towards Model Extraction Defensecited by 3
- 2025Intellectual Property in Graph-Based Machine Learning as a Service: Attacks and Defensescited by 2
- 2025From Essence to Defense: Adaptive Semantic-aware Watermarking for Embedding-as-a-Service Copyright Protectioncited by 2
- 2026What Does It Mean to Break a Distillation Defense?cited by 1
- 2025DESIGN: Encrypted GNN Inference via Server-Side Input Graph Pruningcited by 0
- 2025Robustness of LLM-enabled vehicle trajectory prediction under data security threatscited by 0
- 2026Can Subgraph Explanations Be Weaponized to Steal Graph Neural Networks?cited by 0
- 2026RECAST: Model Reconstruction via Counterfactual-Aware Wasserstein Geometry under Limited Datacited by 0
- 2026Black-Box Inference of LLM Architectural Properties with Restrictive API Accesscited by 0
12 most cited of 14 All 14 (JSON)
- 2026JudgeStealer: Extracting LLM Judging Capabilities across Evaluation Protocols27 Aug 2026
- 2026ADS-C: Antidistillation Sampling for Classification16 Jul 2026
- 2026Black-Box Inference of LLM Architectural Properties with Restrictive API Access1 Jul 2026
- 2026RECAST: Model Reconstruction via Counterfactual-Aware Wasserstein Geometry under Limited Data26 Jun 2026
- 2026What Does It Mean to Break a Distillation Defense?23 Jun 2026
- 2026Can Subgraph Explanations Be Weaponized to Steal Graph Neural Networks?28 May 2026
- 2026CREDIT: Certified Ownership Verification of Deep Neural Networks Against Model Extraction Attacks23 Feb 2026
- 2026CITED: A Decision Boundary-Aware Signature for GNNs Towards Model Extraction Defense23 Feb 2026
- 2026Intelligent AI Delegation12 Feb 2026
- 2025From Essence to Defense: Adaptive Semantic-aware Watermarking for Embedding-as-a-Service Copyright Protection18 Dec 2025
- 2025Robustness of LLM-enabled vehicle trajectory prediction under data security threats14 Nov 2025
- 2025Memorization in Large Language Models in Medicine: Prevalence, Characteristics, and Implications10 Sep 2025
12 newest of 14 All 14 (JSON)