Activation Approximation Introduces Safety Vulnerabilities Even in Aligned LLMs: A Comprehensive Analysis and DefenseActivation Approximations Can Incur Safety Vulnerabilities Even in Aligned LLMs: Comprehensive Analysis and Defense
AI summary
The paper conducts a systematic safety evaluation of activation approximation, an inference acceleration method, which the authors claim is the first such evaluation, covering 7 techniques in three categories: activation polynomialization, activation sparsification, and activation quantization, and observes degradation of safety capabilities on all 10 safety-aligned LLMs. The authors further analyze the common error patterns of these methods and accordingly propose a safety enhancement method, QuadA; experiments and ablations show that it can improve the model's safety performance after activation approximation.