mlsanityData to 14 Oct 2026

Activation Approximations Can Incur Safety Vulnerabilities Even in Aligned LLMs: Comprehensive Analysis and Defense

arXiv 2502.00840 ↗First posted 2 Feb 2025cs.CR cs.AIcited by 7

Not on the map. Why?

Abstract (arXiv)

Large Language Models (LLMs) have showcased remarkable capabilities across various domains. Accompanying the evolving capabilities and expanding deployment scenarios of LLMs, their deployment challenges escalate due to their sheer scale and the advanced yet complex activation designs prevalent in notable model series, such as Llama, Gemma, Mistral. These challenges have become particularly pronounced in resource-constrained deployment scenarios, where mitigating inference bottlenecks is imperative. Among various recent efforts, activation approximation has emerged as a promising avenue for pursuing inference efficiency, sometimes considered indispensable in applications such as private inference. Despite achieving substantial speedups with minimal impact on utility, even appearing sound and practical for real-world deployment, the safety implications of activation approximations remain unclear. In this work, we fill this critical gap in LLM safety by conducting the first systematic safety evaluation of activation approximations. Our safety vetting spans seven state-of-the-art techniques across three popular categories (activation polynomialization, activation sparsification, and activation quantization), revealing consistent safety degradation across ten safety-aligned LLMs. To overcome the hurdle of devising a unified defense accounting for diverse activation approximation methods, we perform an in-depth analysis of their shared error patterns and uncover three key findings. We propose QuadA, a novel safety enhancement method tailored to mitigate the safety compromises introduced by activation approximations. Extensive experiments and ablation studies corroborate QuadA's effectiveness in enhancing the safety capabilities of LLMs after activation approximations.

Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Builds on 73 of its 86 references that are in the map. First posted on arXiv 2 Feb 2025.

Builds on

73 of 86 references.

References · 73

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2022Training language models to follow instructions with human feedbackcited by 15,971
  3. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  4. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  5. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
  6. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
  7. 2020Measuring Massive Multitask Language Understandingcited by 7,963
  8. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,415
  9. 2024Qwen2.5 Technical Reportcited by 4,942
  10. 2016Gaussian Error Linear Units (GELUs)cited by 3,502
  11. 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,418
  12. 2023Qwen Technical Reportcited by 3,344
38 more
  1. 2023Mistral 7Bcited by 3,164
  2. 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 3,104
  3. 2016Pointer Sentinel Mixture Modelscited by 3,096
  4. 2022GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformerscited by 1,919
  5. 2024Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phonecited by 1,917
  6. 2024Mixtral of Expertscited by 1,823
  7. 2022Fast Inference from Transformers via Speculative Decodingcited by 1,653
  8. 2024HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusalcited by 1,429
  9. 2022SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Modelscited by 1,386
  10. 2023AWQ: Activation-aware Weight Quantization for LLM Compression and Accelerationcited by 1,298
  11. 2023Fine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To!cited by 1,154
  12. 2023SparseGPT: Massive Language Models Can Be Accurately Pruned in One-Shotcited by 1,121
  13. 2017Sigmoid-Weighted Linear Units for Neural Network Function Approximation in Reinforcement Learningcited by 950
  14. 2023BeaverTails: Towards Improved Safety Alignment of LLM via a Human-Preference Datasetcited by 860
  15. 2023A Simple and Effective Pruning Approach for Large Language Modelscited by 800
  16. 2023AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language Modelscited by 785
  17. 2023Safe RLHF: Safe Reinforcement Learning from Human Feedbackcited by 656
  18. 2023LLM-Pruner: On the Structural Pruning of Large Language Modelscited by 650
  19. 2024KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache Quantizationcited by 591
  20. 2023GPTFUZZER: Red Teaming Large Language Models with Auto-Generated Jailbreak Promptscited by 560
  21. 2023The Falcon Series of Open Language Modelscited by 535
  22. 2022ZeroQuant: Efficient and Affordable Post-Training Quantization for Large-Scale Transformerscited by 526
  23. 2023Catastrophic Jailbreak of Open-source LLMs via Exploiting Generationcited by 451
  24. 2023Scissorhands: Exploiting the Persistence of Importance Hypothesis for LLM KV Cache Compression at Test Timecited by 439
  25. 2023Sheared LLaMA: Accelerating Language Model Pre-training via Structured Pruningcited by 415
  26. 2023Adapting Language Models to Compress Contextscited by 356
  27. 2023Deja Vu: Contextual Sparsity for Efficient LLMs at Inference Timecited by 252
  28. 2024InfiniGen: Efficient Generative Inference of Large Language Models with Dynamic KV Cache Managementcited by 245
  29. 2024Assessing the Brittleness of Safety Alignment via Pruning and Low-Rank Modificationscited by 231
  30. 2019Structured Pruning of Large Language Modelscited by 203
  31. 2023Automatically Auditing Large Language Models via Discrete Optimizationcited by 191
  32. 2023Outlier Weighed Layerwise Sparsity (OWL): A Missing Secret Sauce for Pruning LLMs to High Sparsitycited by 165
  33. 2023Speculative Decoding with Big Little Decodercited by 164
  34. 2024BiLLM: Pushing the Limit of Post-Training Quantization for LLMscited by 144
  35. 2023From ChatGPT to ThreatGPT: Impact of Generative AI in Cybersecurity and Privacycited by 143
  36. 2024Safe LoRA: the Silver Lining of Reducing Safety Risks when Fine-tuning Large Language Modelscited by 125
  37. 2024Making Them Ask and Answer: Jailbreaking Large Language Models in Few Queries via Disguise and Reconstructioncited by 107
  38. 2024Self-Distillation Bridges Distribution Gap in Language Model Fine-Tuningcited by 96

50 most cited of 73 All 73 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 3; 2026: 4.

7 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024SCANS: Mitigating the Exaggerated Safety for LLMs via Safety-Conscious Activation Steering
  2. 2024Locking Down the Finetuned LLMs Safety
  3. 2026Understanding and Preserving Safety in Fine-Tuned LLMs
  4. 2026Aligned but Fragile: Enhancing LLM Safety Robustness via Zeroth-Order Optimization
  5. 2026Safety Paradox: How Enhanced Safety Awareness Leaves LLMs Vulnerable to Posterior Attack
  6. 2024Fine-Tuning, Quantization, and LLMs: Navigating Unintended Outcomes
  7. 2024Jailbreak Antidote: Runtime Safety-Utility Balance via Sparse Representation Adjustment in Large Language Models
  8. 2024Safety Layers in Aligned Large Language Models: The Key to LLM Security