Preserving Fairness and Safety in Quantized LLMs Through Critical Weight Protection
Muhammad Alif Al Hakim, Alfan Farizki Wicaksono, Fajri Koto
TL;DR
This work investigates how model quantization affects fairness and safety in large language models, emphasizing multilingual and dynamic quantization contexts. It introduces Critical Weight Protection, a mixed-precision approach that preserves fairness- and safety-critical weights in FP16 while quantizing the rest, guided by per-parameter FAIRSCORE and SAFESCORE sensitivities whose sum ranks weights for retention. Through extensive experiments across three model families and five quantization methods on multilingual fairness and safety benchmarks, the study shows that quantization generally degrades alignment, with dynamic quantization offering better stability and non-English settings often more vulnerable. A mitigation strategy based on preserving high-sensitivity weights (AWQ with FAIRSCORE/SAFESCORE) demonstrates improved fairness and safety with minimal impact on general utility, outperforming a SNIP-based baseline in several cases. These results provide practical guidance for trustworthy LLM deployment under compression, highlighting the value of sensitivity-driven mixed-precision quantization to balance efficiency with alignment objectives.
Abstract
Quantization is widely adopted to reduce the computational cost of large language models (LLMs); however, its implications for fairness and safety, particularly in dynamic quantization and multilingual contexts, remain underexplored. In this work, we conduct a systematic study of how static and dynamic quantization methods impact fairness and safety across benchmarks measuring intrinsic and extrinsic bias and safety alignment. For fairness, we evaluate English, French, Dutch, Spanish, and Turkish; for safety, we focus on English, Korean, and Arabic. Our findings reveal that quantization consistently degrades fairness and safety, with dynamic methods demonstrating greater stability than static ones. Moreover, fairness degradation varies across languages, while safety deterioration is especially pronounced in non-English settings. To address these risks, we introduce Critical Weight Protection, a novel technique that identifies and preserves fairness- and safety-critical weights during quantization. This approach effectively mitigates bias and safety deterioration without costly retraining or alignment, maintaining trustworthiness while retaining efficiency.
