Fewer Weights, More Problems: A Practical Attack on LLM Pruning
Not on the map. Why?
Abstract (arXiv)
Model pruning, i.e., removing a subset of model weights, has become a prominent approach to reducing the memory footprint of large language models (LLMs) during inference. Notably, popular inference engines, such as vLLM, enable users to conveniently prune downloaded models before they are deployed. While the utility and efficiency of pruning methods have improved significantly, the security implications of pruning remain underexplored. In this work, for the first time, we show that modern LLM pruning methods can be maliciously exploited. In particular, an adversary can construct a model that appears benign yet, once pruned, exhibits malicious behaviors. Our method is based on the idea that the adversary can compute a proxy metric that estimates how likely each parameter is to be pruned. With this information, the adversary can first inject a malicious behavior into those parameters that are unlikely to be pruned. Then, they can repair the model by using parameters that are likely to be pruned, effectively canceling out the injected behavior in the unpruned model. We demonstrate the severity of our attack through extensive evaluation on five models; after any of the pruning in vLLM are applied (Magnitude, Wanda, and SparseGPT), it consistently exhibits strong malicious behaviors in a diverse set of attack scenarios (success rates of up to 95.7% for jailbreak, 98.7% for benign instruction refusal, and 99.5% for targeted content injection). Our results reveal a critical deployment-time security gap and underscore the urgent need for stronger security awareness in model compression.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 35 of its 45 references that are in the map. First posted on arXiv 9 Oct 2025.
Builds on
35 of 45 references.
References · 35
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,146
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
- 2016Pointer Sentinel Mixture Modelscited by 2,992
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 2,914
- 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,201
23 more
- 2015Learning both Weights and Connections for Efficient Neural Networkscited by 1,998
- 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,928
- 2023Jailbreaking Black Box Large Language Models in Twenty Queriescited by 1,326
- 2025gpt-oss-120b & gpt-oss-20b Model Cardcited by 1,258
- 2023SparseGPT: Massive Language Models Can Be Accurately Pruned in One-Shotcited by 1,090
- 2023A Simple and Effective Pruning Approach for Large Language Modelscited by 776
- 2023Instruction Tuning with GPT-4cited by 676
- 2023LLM-Pruner: On the Structural Pruning of Large Language Modelscited by 643
- 2018Fine-Pruning: Defending Against Backdooring Attacks on Deep Neural Networkscited by 550
- 2023Poisoning Web-Scale Training Datasets is Practicalcited by 276
- 2021Adversarial Neuron Pruning Purifies Backdoored Deep Modelscited by 230
- 2023Multilingual Jailbreak Challenges in Large Language Modelscited by 222
- 2024Assessing the Brittleness of Safety Alignment via Pruning and Low-Rank Modificationscited by 220
- 2021Accelerating Sparse Deep Neural Networkscited by 213
- 2024Latent Adversarial Training Improves Robustness to Persistent Harmful Behaviors in LLMscited by 158
- 2023Universal Jailbreak Backdoors from Poisoned Human Feedbackcited by 120
- 2023On the Exploitability of Instruction Tuningcited by 110
- 2024Antidote: Post-fine-tuning Safety Alignment for Large Language Models against Harmful Fine-tuningcited by 71
- 2024Exploiting LLM Quantizationcited by 61
- 2023LoRAPrune: Structured Pruning Meets Low-Rank Parameter-Efficient Fine-Tuningcited by 53
- 2022Quarantine: Sparsity Can Uncover the Trojan Attack Trigger for Freecited by 15
- 2025Pruning Strategies for Backdoor Defense in LLMscited by 4
- 2025Model Compression vs. Adversarial Robustness: An Empirical Study on Language Models for Codecited by 2
Built on by
Citing papers per year: 2026: 6.
6 papers.
- 2026SafeNeuron: Neuron-Level Safety Alignment for Large Language Modelscited by 8
- 2026Adversarial Contrastive Learning for LLM Quantization Attackscited by 4
- 2026Trusted Weights, Treacherous Optimizations? Optimization-Triggered Backdoor Attacks on LLMscited by 1
- 2026Widening the Gap: Exploiting LLM Quantization via Outlier Injectioncited by 0
- 2026When Pruning Meets Interpretability: Preserving Sparse Autoencoder Robustness in LLMscited by 0
- 2026No Free Efficiency: Revisiting the Trade-off Between Training Efficiency and Model Vulnerabilitycited by 0
- 2026No Free Efficiency: Revisiting the Trade-off Between Training Efficiency and Model Vulnerability27 Sep 2026
- 2026When Pruning Meets Interpretability: Preserving Sparse Autoencoder Robustness in LLMs26 Aug 2026
- 2026Trusted Weights, Treacherous Optimizations? Optimization-Triggered Backdoor Attacks on LLMs20 May 2026
- 2026Widening the Gap: Exploiting LLM Quantization via Outlier Injection14 May 2026
- 2026SafeNeuron: Neuron-Level Safety Alignment for Large Language Models12 Feb 2026
- 2026Adversarial Contrastive Learning for LLM Quantization Attacks6 Jan 2026