Quantization enables efficient inference in language models through model parameter compression. This work audits the impact of quantization on capability and safety domains including model safeguards, instruction-following, ethics and bias. Through benchmarks, we find that model safeguards and bias can degrade under quantization, while other capabilities such as truthfulness remain more stable in Qwen3-4B. We define this uneven transfer of LLM capabilities under quantization as Jagged Robustness. We find multiple factors driving Jagged Robustness: task complexity, evaluation method and generation coherence. Moreover, we verify the degradation of model safeguards by observing increased compliance with unsafe requests under quantization, and demonstrate universal adversarial suffix attacks that are benign for the full model but jailbreak quantized models. The findings indicate that it is risky to assume that the performance and robustness can transfer evenly across different capability domains from full models to quantized models.
Figures & tables
General
Alignment
Accuracy (%)
GPQA
MMLU
ARC
BBQ
TruthfulQA
Hendrycks Ethics (Average)
BF16
37.33
71.64
49.67
42.00
51.47
68.22
INT8
39.67 (+2.34)
71.93 (+0.29)
49.00 (-0.67)
43.67 (+1.67)
50.77 (-0.70)
70 (+1.78)
AWQ
38.67 (+1.34)
70.47 (-1.17)
45.67 (-4.00)
44.00 (+2.00)
50.31 (-1.16)
65 (-3.22)
INT4
35.67 (-1.66)
67.25 (-4.39)
44.67 (-5.00)
39.00 (-3.00)
51.86 (+0.39)
62.87 (-5.35)
Table 1: Model performance across tasks with absolute percentage point differences from the BF16 baseline.
General
Safety
Rate (%)
InFoBench
WildChat-nontoxic
DeceptionBench
SORRYBench
(follow_rate)
(success_rate)
(deception_rate)
(fulfillment_rate)
BF16
83.33
66.00
42.67
14.67
INT8
80.33 (-3.00)
62.67 (-3.33)
47.00 (+4.33)
13.33 (-1.34)
AWQ
77.67 (-5.66)
62.33 (-3.67)
45.33 (+2.66)
11.00 (-3.67)
INT4
82.33 (-1.00)
57.67 (-8.33)
53.67 (+11.00)
19.00 (+4.33)
Table 2: Model performance across LLM judge tasks with absolute percentage point differences from the BF16 baseline.
Acc (%)
GPQA
BBQ
Hendrycks Ethics
TruthfulQA
BF16
31.03
50.40
64.38
45.89
INT8
28.79 (-2.24)
49.50 (-0.90)
65.38 (+1)
46.80 (+0.91)
AWQ
28.35 (-2.68)
50.30 (-0.10)
63.18 (-1.2)
47.06 (+1.17)
INT4
25.89 (-5.14)
47.80 (-2.60)
60.08 (-4.3)
48.84 (+2.95)
Table 3: Model performance on LLR benchmarks with absolute percentage point differences from the BF16 baseline for 1.7B.
Rate (%)
Human Eval
mgsm_direct_en
MMLU-Pro
SORRYBench
BF16
41.46
13.20
42.56
56.67
INT8
40.85 (-0.61)
11.60 (-1.60)
39.94 (-2.62)
59.78 (+3.11)
AWQ
38.41 (-3.05)
10.80 (-2.40)
38.83 (-3.73)
60.22 (+3.55)
INT4
9.15 (-32.31)
5.60 (-7.60)
23.24 (-19.32)
77.56 (+20.89)
Table 4: Model performance on Free Generation benchmarks with absolute percentage point differences from the BF16 baseline.
Quantization
Incoherent Responses (%)
BF16
3.11
INT8
3.78 (+0.67)
AWQ
7.55 (+4.44)
INT4
42 (+38.89)
Table 5: Percentage of responses marked as incoherent in SORRYBench, with absolute percentage point differences (N = 450).
Fig. 2: Structure of the templated attack prompt.
Fig. 3: (a) Poisoned models may behave benignly in full precision but become misaligned after quantization. (b) Universal adversarial suffixes exist to jailbreak open source models. (c) The intuition of quantization-aware adversarial suffix attack. Open source models may still have vulnerabilities that expose only after quantization.
Without Suffix
With Suffix
Split
Precision
LM-Judge
RE-Judge
LM-Judge
RE-Judge
train
BF16
33.33
29.17
20.83
33.33
INT4
29.17
20.83
45.83
62.50
Δ
−4.17
−8.33
+25.00
+29.17
test
BF16
35.92
38.26
32.63
44.60
INT4
44.13
46.24
46.24
80.05
Table 6: Harmful-compliance rate (%) of quantization-aware adversarial suffixes on Qwen3-4B on SORRYBench prompts (24 train, 426 held-out). Unlike Table 2 (evaluated with DeepSeek V4-flash), this attack uses SORRYBench’s fine-tuned Mistral-7B-Instruct judge, resulting in different values.
Almost every large language model that reaches a broad audience is quantized: trained in full precision, then compressed for efficiency. This step is assumed harmless and its safety is rarely re-checked. We find its principal side effect is increased bias that standard safety evaluation misses. Holding the model, its training, and the prompts fixed, a quantized model still refuses harmful requests, still avoids over-refusing benign prompts, and still selects the unbiased multiple-choice answer. Yet asked an open-ended question, the same model volunteers stereotypes in all eight languages we probe, in roughly one in four open-ended answers under an independent judge (~24% to ~27% across the compression ladder): it passes every standard check and still reaches users measurably more biased. The selective gap is a robust finding; whether open-ended bias further increases with compression is less certain, sensitive to the judge that scores it. We address both with QuantiBias, a benchmark that pairs a generative, multilingual stereotype probe with the refusal and multiple-choice controls that isolate open-ended generation, contrasts each build with and without reasoning, and rates the content severity of what it generates. Across two backbone models (Qwen and Gemma), a five-family screen, and eight benchmarks, quantizers allocate their extra precision by capability data that carries no bias-prevention signal, and reasoning before answering roughly halves the effect on some families while doing nothing on others. A quantized build must be re-evaluated for open-ended bias, not only on the short-form safeguards it already passes.
Emilio Ferrara
Thomas Lord Department of Computer Science University of Southern California
LLM quantization has become essential for memory-efficient deployment. Recent work has shown that quantization schemes can pose critical security risks: an adversary may release a model that appears benign in full precision but exhibits malicious behavior once quantized by users. However, existing quantization-conditioned attacks have been limited to relatively simple quantization methods, where the attacker can estimate weight regions that remain invariant under the target quantization. Notably, prior attacks have consistently failed to compromise more popular and sophisticated schemes, limiting their practical impact. In this work, we introduce the first quantization-conditioned attack that consistently induces malicious behavior that can be triggered by a broad range of advanced quantization techniques, including AWQ, GPTQ, and GGUF I-quants. Our attack exploits a simple property shared by many modern quantization methods: large outliers can cause other weights to be rounded to zero. Consequently, by injecting outliers into specific weight blocks, an adversary can induce a targeted, predictable weight collapse in the model. This effect can be used to craft seemingly benign full-precision models that exhibit a wide range of malicious behaviors after quantization. Through extensive evaluation across three attack scenarios and LLMs, we show that our attack achieves high success rates against a broad range of quantization methods on which prior attacks fail. Our results demonstrate, for the first time, that the security risks of quantization are not restricted to simpler schemes but are broadly relevant across complex, widely-used quantization methods.
Large Language Models are routinely compressed via post-training quantization to reduce inference costs and memory footprint for cloud and edge deployment, yet the impact of this compression on model quality remains poorly understood. Existing studies typically compare only two conditions (full-precision vs. a single quantized variant), rely on aggregate bias metrics, and evaluate a single model family, making it impossible to distinguish gradual degradation from threshold-dependent safety failures. We conduct a controlled empirical study of three instruction-tuned models (Qwen2.5-7B, Mistral-7B, Phi-3.5-mini) at five precision levels (BF16 through 3-bit) on 12,148 BBQ bias benchmark items across 5 random seeds, totaling 911,100 inference records. Our results reveal that 3-bit quantization causes 6-21% of previously unbiased items to develop new stereotypical behaviors, following a clear dose-response pattern confirmed via logistic regression, while models' willingness to select "unknown" answers declines by 17.4%. Crucially, these item-level changes are invisible to standard quality metrics: perplexity increases by less than 0.5% at 8-bit and under 3% at 4-bit across all three models, yet 2.5-5.6% of items already develop new biases at 4-bit. These findings demonstrate that aggregate evaluation metrics systematically miss fairness-critical degradation, underscoring the need for quality-aware compression protocols that explicitly test for bias emergence before deployment.