Exploiting LLM Quantization
Not on the map. Why?
Abstract (arXiv)
Quantization leverages lower-precision weights to reduce the memory usage of large language models (LLMs) and is a key technique for enabling their deployment on commodity hardware. While LLM quantization's impact on utility has been extensively explored, this work for the first time studies its adverse effects from a security perspective. We reveal that widely used quantization methods can be exploited to produce a harmful quantized LLM, even though the full-precision counterpart appears benign, potentially tricking users into deploying the malicious quantized model. We demonstrate this threat using a three-staged attack framework: (i) first, we obtain a malicious LLM through fine-tuning on an adversarial task; (ii) next, we quantize the malicious model and calculate constraints that characterize all full-precision models that map to the same quantized model; (iii) finally, using projected gradient descent, we tune out the poisoned behavior from the full-precision model while ensuring that its weights satisfy the constraints computed in step (ii). This procedure results in an LLM that exhibits benign behavior in full precision but when quantized, it follows the adversarial behavior injected in step (i). We experimentally demonstrate the feasibility and severity of such an attack across three diverse scenarios: vulnerable code generation, content injection, and over-refusal attack. In practice, the adversary could host the resulting full-precision model on an LLM community hub such as Hugging Face, exposing millions of users to the threat of deploying its malicious quantized version on their devices.
Key facts. Cited by 65 papers in the map (data through 14 Oct 2026). Builds on 34 of its 47 references that are in the map. First posted on arXiv 28 May 2024.
Builds on
34 of 47 references.
References · 34
- 2017Attention Is All You Needcited by 60,361
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2023GPT-4 Technical Reportcited by 18,396
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2021On the Opportunities and Risks of Foundation Modelscited by 4,033
- 2021Program Synthesis with Large Language Modelscited by 3,637
- 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,418
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 3,104
- 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,975
22 more
- 2022GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformerscited by 1,919
- 2024Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phonecited by 1,917
- 2023Jailbroken: How Does LLM Safety Training Fail?cited by 1,651
- 2017Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inferencecited by 1,593
- 2023Jailbreaking Black Box Large Language Models in Twenty Queriescited by 1,420
- 2022LLM.int8(): 8-bit Matrix Multiplication for Transformers at Scalecited by 906
- 2023Instruction Tuning with GPT-4cited by 686
- 2024KIVI: A Tuning-Free Asymmetric 2bit Quantization for KV Cachecited by 637
- 2023Is ChatGPT a General-Purpose Natural Language Processing Task Solver?cited by 488
- 2023LMSYS-Chat-1M: A Large-Scale Real-World LLM Conversation Datasetcited by 461
- 2023SpQR: A Sparse-Quantized Representation for Near-Lossless LLM Weight Compressioncited by 367
- 2023Poisoning Web-Scale Training Datasets is Practicalcited by 290
- 2024Extreme Compression of Large Language Models via Additive Quantizationcited by 232
- 2024Foundational Challenges in Assuring Alignment and Safety of Large Language Modelscited by 199
- 2024GEAR: An Efficient KV Cache Compression Recipe for Near-Lossless Generative Inference of LLMcited by 158
- 2023Large Language Models for Code: Security Hardening and Adversarial Testingcited by 155
- 2020You Autocomplete Me: Poisoning Vulnerabilities in Neural Code Completioncited by 131
- 2023On the Exploitability of Instruction Tuningcited by 116
- 2024Instruction Tuning for Secure Code Generationcited by 68
- 2021Quantization Backdoors to Deep Learning Commercial Frameworkscited by 29
- 2021Qu-ANTI-zation: Exploiting Quantization Artifacts for Achieving Adversarial Outcomescited by 19
- 2021Stealthy Backdoors as Compression Artifactscited by 18
Built on by
Citing papers per year: 2024: 5; 2025: 30; 2026: 30.
65 papers.
Sort:
By area:
- 2024Catastrophic Failure of LLM Unlearning via Quantizationcited by 81
- 2025QeRL: Beyond Efficiency -- Quantization-enhanced Reinforcement Learning for LLMscited by 16
- 2024Optimal Query Allocation in Extractive QA with LLMs: A Learning-to-Defer Framework with Theoretical Guaranteescited by 15
- 2025A Survey on Inference Engines for Large Language Models: Perspectives on Optimization and Efficiencycited by 12
- 2025Position: The Real Barrier to LLM Agent Usability is Agentic ROIcited by 12
- 2025Low-bit Model Quantization for Deep Neural Networks: A Surveycited by 11
- 2025Rethinking Predictive Modeling for LLM Routing: When Simple kNN Beats Complex Learned Routerscited by 11
- 2025MixAT: Combining Continuous and Discrete Adversarial Training for LLMscited by 11
- 2025Unraveling Spatio-Temporal Foundation Models via the Pipeline Lens: A Comprehensive Reviewcited by 10
- 2024Large Language Model Supply Chain: Open Problems From the Security Perspectivecited by 9
- 2025Quantized but Deceptive? A Multi-Dimensional Truthfulness Evaluation of Quantized LLMscited by 9
- 2025Activation Approximations Can Incur Safety Vulnerabilities Even in Aligned LLMs: Comprehensive Analysis and Defensecited by 7
38 more
- 2025The Larger the Merrier? Efficient Large AI Model Inference in Wireless Edge Networkscited by 7
- 2025Your Compiler is Backdooring Your Model: Understanding and Exploiting Compilation Inconsistency Vulnerabilities in Deep Learning Compilerscited by 7
- 2025Fewer Weights, More Problems: A Practical Attack on LLM Pruningcited by 7
- 2024Direct Quantized Training of Language Models with Stochastic Roundingcited by 6
- 2026LoopQ: Quantization for Looped Language Modelscited by 6
- 2025Strategyproof Reinforcement Learning from Human Feedbackcited by 5
- 2025Watch your steps: Dormant Adversarial Behaviors that Activate upon LLM Finetuningcited by 5
- 2025Scalable Parameter and Memory Efficient Pretraining for LLM: Recent Algorithmic Advances and Benchmarkingcited by 5
- 2025DBellQuant: Breaking the Bell with Double-Bell Transformation for LLMs Post Training Binarizationcited by 4
- 2026ZipMoE: Efficient On-Device MoE Serving via Lossless Compression and Cache-Affinity Schedulingcited by 4
- 2026Hair-Trigger Alignment: Black-Box Evaluation Cannot Guarantee Post-Update Alignmentcited by 4
- 2026FreeAct: Freeing Activations for LLM Quantizationcited by 4
- 2025LegalEval-Q: A New Benchmark for The Quality Evaluation of LLM-Generated Legal Textcited by 3
- 2025Smaller = Weaker? Benchmarking Robustness of Quantized LLMs in Code Generationcited by 3
- 2025CompLeak: Deep Learning Model Compression Exacerbates Privacy Leakagecited by 3
- 2026Why Does the LLM Stop Computing: An Empirical Study of User-Reported Failures in Open-Source LLMscited by 3
- 2026Rethinking Token Reduction for Large Vision-Language Modelscited by 3
- 2025Q-resafe: Assessing Safety Risks and Quantization-aware Safety Patching for Quantized Large Language Modelscited by 2
- 2026Quantamination: Dynamic Quantization Leaks Your Data Across the Batchcited by 2
- 2026Benchmarking Trustworthiness of SLMs: Pre-trained vs. Compressedcited by 2
- 2026Broken on Arrival: Silently Defective LLM Artifacts in Public Model Registries and How to Catch Themcited by 2
- 2025LiteLMGuard: Seamless and Lightweight On-Device Prompt Filtering for Safeguarding Small Language Models against Quantization-induced Risks and Vulnerabilitiescited by 1
- 2025Tuning without Peeking: Provable Generalization Bounds and Robust LLM Post-Trainingcited by 1
- 2025AttestLLM: Efficient Attestation Framework for Billion-scale On-device LLMscited by 1
- 2025From Quarter to All: Accelerating Speculative LLM Decoding via Floating-Point Exponent Remapping and Parameter Sharingcited by 1
- 2026Theory of Minimal Weight Perturbations in Deep Networks and its Applications for Low-Rank Activated Backdoor Attackscited by 1
- 2026Trusted Weights, Treacherous Optimizations? Optimization-Triggered Backdoor Attacks on LLMscited by 1
- 2026Security in the Fine-Tuning Lifecycle of Large Language Models: Threats, Defenses,Evaluation, and Future Directionscited by 1
- 2026Quality Is Not a Safety Proxy Under Quantizationcited by 1
- 2026Which Decisions Low-Bit Quantization Breaks, and How to Predict Themcited by 1
- 2024Efficient Learning Content Retrieval with Knowledge Injectioncited by 0
- 2025Optimization Problem Solving Can Transition to Evolutionary Agentic Workflowscited by 0
- 2025The Case for Instance-Optimized LLMs in OLAP Databasescited by 0
- 2025Surveying the Operational Cybersecurity and Supply Chain Threat Landscape when Developing and Deploying AI Systemscited by 0
- 2025Embedding Poisoning: Bypassing Safety Alignment via Embedding Semantic Shiftcited by 0
- 2025Fair-GPTQ: Bias-Aware Quantization for Large Language Modelscited by 0
- 2025Validity Is What You Needcited by 0
- 2026Agentic Federated Learning: The Future of Distributed Training Orchestrationcited by 0
50 most cited of 65 All 65 (JSON)
- 2026What You Sign Is Not What You Run: The Verifiability Gap in Quantized LLM Supply Chains14 Oct 2026
- 2026Running Fewer Loops Removes Refusal Behaviour in Recurrent-Depth Language Models10 Oct 2026
- 2026Towards Merging-conditional Backdoor Unalignment against Large Language Models10 Oct 2026
- 2026Anosognosia in LLMs: Probing Self-Awareness of Quantized Computational Substrate5 Oct 2026
- 2026MOMAT: Mixture of Multiple Atlases for Low-Power Jailbreak Defense of Quantized LLMs1 Oct 2026
- 2026Broken on Arrival: Silently Defective LLM Artifacts in Public Model Registries and How to Catch Them5 Sep 2026
- 2026Quantization-Triggered Backdoors in Language Models: Cross-Quantizer Transferability and the Validation--Deployment Gap27 Aug 2026
- 2026When Personality Meets Quantization: A Layer-wise MBTI Analysis of Quantized LLMs26 Aug 2026
- 2026Benchmarking Trustworthiness of SLMs: Pre-trained vs. Compressed12 Aug 2026
- 2026Which Decisions Low-Bit Quantization Breaks, and How to Predict Them6 Aug 2026
- 2026A Security-Oriented Lifecycle Model for Large Language Model Systems4 Aug 2026
- 2026Securing LLMs in the Wild: Privacy and Security Challenges at the Edge13 Jul 2026
38 more
- 2026FlipGuard: Defending Large Language Models Against Quantization-Conditioned Backdoor Attacks27 Jun 2026
- 2026Quality Is Not a Safety Proxy Under Quantization8 Jun 2026
- 2026ProactiveLLM: Learning Active Interaction for Streaming Large Language Models30 May 2026
- 2026A Paired Testing Protocol for Batch-Conditioned Refusal Robustness in LLM Serving26 May 2026
- 2026Security in the Fine-Tuning Lifecycle of Large Language Models: Threats, Defenses,Evaluation, and Future Directions24 May 2026
- 2026Trusted Weights, Treacherous Optimizations? Optimization-Triggered Backdoor Attacks on LLMs20 May 2026
- 2026Retrieval-Augmented Generation to Support Railways Engineering Tasks: A Case Study18 May 2026
- 2026Generative Artificial Intelligence for Literature Reviews15 May 2026
- 2026Widening the Gap: Exploiting LLM Quantization via Outlier Injection14 May 2026
- 2026LoopQ: Quantization for Looped Language Models8 May 2026
- 2026Quantamination: Dynamic Quantization Leaks Your Data Across the Batch29 Apr 2026
- 2026Agentic Federated Learning: The Future of Distributed Training Orchestration6 Apr 2026
- 2026Rethinking Token Reduction for Large Vision-Language Models23 Mar 2026
- 2026FreeAct: Freeing Activations for LLM Quantization2 Mar 2026
- 2026Hair-Trigger Alignment: Black-Box Evaluation Cannot Guarantee Post-Update Alignment29 Jan 2026
- 2026ZipMoE: Efficient On-Device MoE Serving via Lossless Compression and Cache-Affinity Scheduling29 Jan 2026
- 2026Theory of Minimal Weight Perturbations in Deep Networks and its Applications for Low-Rank Activated Backdoor Attacks23 Jan 2026
- 2026Why Does the LLM Stop Computing: An Empirical Study of User-Reported Failures in Open-Source LLMs20 Jan 2026
- 2025Validity Is What You Need31 Oct 2025
- 2025From Quarter to All: Accelerating Speculative LLM Decoding via Floating-Point Exponent Remapping and Parameter Sharing21 Oct 2025
- 2025QeRL: Beyond Efficiency -- Quantization-enhanced Reinforcement Learning for LLMs13 Oct 2025
- 2025Fewer Weights, More Problems: A Practical Attack on LLM Pruning9 Oct 2025
- 2025Fair-GPTQ: Bias-Aware Quantization for Large Language Models18 Sep 2025
- 2025Your Compiler is Backdooring Your Model: Understanding and Exploiting Compilation Inconsistency Vulnerabilities in Deep Learning Compilers14 Sep 2025
- 2025Embedding Poisoning: Bypassing Safety Alignment via Embedding Semantic Shift8 Sep 2025
- 2025AttestLLM: Efficient Attestation Framework for Billion-scale On-device LLMs8 Sep 2025
- 2025Surveying the Operational Cybersecurity and Supply Chain Threat Landscape when Developing and Deploying AI Systems27 Aug 2025
- 2025Quantized but Deceptive? A Multi-Dimensional Truthfulness Evaluation of Quantized LLMs26 Aug 2025
- 2025CompLeak: Deep Learning Model Compression Exacerbates Privacy Leakage22 Jul 2025
- 2025The Case for Instance-Optimized LLMs in OLAP Databases7 Jul 2025
- 2025Tuning without Peeking: Provable Generalization Bounds and Robust LLM Post-Training2 Jul 2025
- 2025Smaller = Weaker? Benchmarking Robustness of Quantized LLMs in Code Generation28 Jun 2025
- 2025Q-resafe: Assessing Safety Risks and Quantization-aware Safety Patching for Quantized Large Language Models25 Jun 2025
- 2025DBellQuant: Breaking the Bell with Double-Bell Transformation for LLMs Post Training Binarization18 Jun 2025
- 2025Unraveling Spatio-Temporal Foundation Models via the Pipeline Lens: A Comprehensive Review2 Jun 2025
- 2025LegalEval-Q: A New Benchmark for The Quality Evaluation of LLM-Generated Legal Text30 May 2025
- 2025Scalable Parameter and Memory Efficient Pretraining for LLM: Recent Algorithmic Advances and Benchmarking28 May 2025
- 2025Position: The Real Barrier to LLM Agent Usability is Agentic ROI23 May 2025
50 newest of 65 All 65 (JSON)
- 2024Catastrophic Failure of LLM Unlearning via Quantizationcited by 81
- 2025MixAT: Combining Continuous and Discrete Adversarial Training for LLMscited by 11
- 2025Watch your steps: Dormant Adversarial Behaviors that Activate upon LLM Finetuningcited by 5
- 2025LiteLMGuard: Seamless and Lightweight On-Device Prompt Filtering for Safeguarding Small Language Models against Quantization-induced Risks and Vulnerabilitiescited by 1
- 2025Tuning without Peeking: Provable Generalization Bounds and Robust LLM Post-Trainingcited by 1
- 2026Trusted Weights, Treacherous Optimizations? Optimization-Triggered Backdoor Attacks on LLMscited by 1
- 2026Security in the Fine-Tuning Lifecycle of Large Language Models: Threats, Defenses,Evaluation, and Future Directionscited by 1
- 2026FlipGuard: Defending Large Language Models Against Quantization-Conditioned Backdoor Attackscited by 0
- 2026Securing LLMs in the Wild: Privacy and Security Challenges at the Edgecited by 0
- 2026Quantization-Triggered Backdoors in Language Models: Cross-Quantizer Transferability and the Validation--Deployment Gapcited by 0
- 2026MOMAT: Mixture of Multiple Atlases for Low-Power Jailbreak Defense of Quantized LLMscited by 0
- 2026Towards Merging-conditional Backdoor Unalignment against Large Language Modelscited by 0
12 most cited of 13 All 13 (JSON)
- 2026Running Fewer Loops Removes Refusal Behaviour in Recurrent-Depth Language Models10 Oct 2026
- 2026Towards Merging-conditional Backdoor Unalignment against Large Language Models10 Oct 2026
- 2026MOMAT: Mixture of Multiple Atlases for Low-Power Jailbreak Defense of Quantized LLMs1 Oct 2026
- 2026Quantization-Triggered Backdoors in Language Models: Cross-Quantizer Transferability and the Validation--Deployment Gap27 Aug 2026
- 2026Securing LLMs in the Wild: Privacy and Security Challenges at the Edge13 Jul 2026
- 2026FlipGuard: Defending Large Language Models Against Quantization-Conditioned Backdoor Attacks27 Jun 2026
- 2026Security in the Fine-Tuning Lifecycle of Large Language Models: Threats, Defenses,Evaluation, and Future Directions24 May 2026
- 2026Trusted Weights, Treacherous Optimizations? Optimization-Triggered Backdoor Attacks on LLMs20 May 2026
- 2025Tuning without Peeking: Provable Generalization Bounds and Robust LLM Post-Training2 Jul 2025
- 2025MixAT: Combining Continuous and Discrete Adversarial Training for LLMs22 May 2025
- 2025Watch your steps: Dormant Adversarial Behaviors that Activate upon LLM Finetuning22 May 2025
- 2025LiteLMGuard: Seamless and Lightweight On-Device Prompt Filtering for Safeguarding Small Language Models against Quantization-induced Risks and Vulnerabilities8 May 2025
12 newest of 13 All 13 (JSON)
- 2026Agentic Federated Learning: The Future of Distributed Training Orchestration6 Apr 2026
- 2025Validity Is What You Need31 Oct 2025
- 2025Position: The Real Barrier to LLM Agent Usability is Agentic ROI23 May 2025
- 2025Optimization Problem Solving Can Transition to Evolutionary Agentic Workflows7 May 2025
- 2025QeRL: Beyond Efficiency -- Quantization-enhanced Reinforcement Learning for LLMscited by 16
- 2024Optimal Query Allocation in Extractive QA with LLMs: A Learning-to-Defer Framework with Theoretical Guaranteescited by 15
- 2025A Survey on Inference Engines for Large Language Models: Perspectives on Optimization and Efficiencycited by 12
- 2025Low-bit Model Quantization for Deep Neural Networks: A Surveycited by 11
- 2025Unraveling Spatio-Temporal Foundation Models via the Pipeline Lens: A Comprehensive Reviewcited by 10
- 2024Large Language Model Supply Chain: Open Problems From the Security Perspectivecited by 9
- 2025Quantized but Deceptive? A Multi-Dimensional Truthfulness Evaluation of Quantized LLMscited by 9
- 2025Activation Approximations Can Incur Safety Vulnerabilities Even in Aligned LLMs: Comprehensive Analysis and Defensecited by 7
- 2025The Larger the Merrier? Efficient Large AI Model Inference in Wireless Edge Networkscited by 7
- 2025Your Compiler is Backdooring Your Model: Understanding and Exploiting Compilation Inconsistency Vulnerabilities in Deep Learning Compilerscited by 7
- 2025Fewer Weights, More Problems: A Practical Attack on LLM Pruningcited by 7
- 2024Direct Quantized Training of Language Models with Stochastic Roundingcited by 6
12 most cited of 39 All 39 (JSON)
- 2026What You Sign Is Not What You Run: The Verifiability Gap in Quantized LLM Supply Chains14 Oct 2026
- 2026Anosognosia in LLMs: Probing Self-Awareness of Quantized Computational Substrate5 Oct 2026
- 2026Broken on Arrival: Silently Defective LLM Artifacts in Public Model Registries and How to Catch Them5 Sep 2026
- 2026When Personality Meets Quantization: A Layer-wise MBTI Analysis of Quantized LLMs26 Aug 2026
- 2026Benchmarking Trustworthiness of SLMs: Pre-trained vs. Compressed12 Aug 2026
- 2026Which Decisions Low-Bit Quantization Breaks, and How to Predict Them6 Aug 2026
- 2026A Security-Oriented Lifecycle Model for Large Language Model Systems4 Aug 2026
- 2026Quality Is Not a Safety Proxy Under Quantization8 Jun 2026
- 2026ProactiveLLM: Learning Active Interaction for Streaming Large Language Models30 May 2026
- 2026Generative Artificial Intelligence for Literature Reviews15 May 2026
- 2026Widening the Gap: Exploiting LLM Quantization via Outlier Injection14 May 2026
- 2026LoopQ: Quantization for Looped Language Models8 May 2026
12 newest of 39 All 39 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2024Fine-Tuning, Quantization, and LLMs: Navigating Unintended Outcomes
- 2026Adversarial Contrastive Learning for LLM Quantization Attacks
- 2024Breaking Down the Defenses: A Comparative Survey of Attacks on Large Language Models
- 2024Recent Advances in Attack and Defense Approaches of Large Language Models
- 2026QuantGuard: Learnable Rounding for Repairing Quantization-Conditioned Backdoors in LLMs
- 2025AdversariaLLM: A Unified and Modular Toolbox for LLM Robustness Research
- 2023Survey of Vulnerabilities in Large Language Models Revealed by Adversarial Attacks
- 2025Paper Summary Attack: Jailbreaking LLMs through LLM Safety Papers