Measurement Artifacts in Trustworthiness Evaluations of Quantized Small Language Models
Organizations: COMSATS University Islamabad · Middlesex University London
Abstract
Evaluations of quantized language models attribute the change in a benchmark score to quantization. We write the measured change as the true change plus a term contributed by the instrument. Instrument error that is the same at every precision can shrink a paired comparison but cannot create or reverse an effect. Error that interacts with quantization can do both, and it is reported as an effect of quantization. We estimate this interaction for four measurement choices in 8 instruction-tuned models below two billion parameters, at float16, LLM.int8() and NF4, on identical items. Measured against labels from two human annotators, the 4-bit rise in harmful compliance is about half to two-thirds of the rise in non-refusal that a corrected key word detector records. Cloze and lettered multiple-choice scoring disagree about the effect of quantization far more than their noise allows: their estimates correlate at \r{ho} = 0.10, against a ceiling of about 0.77. LLM.int8() answers and generations depend on which items share a batch, and padding alone changes its answers. Rounding activations to 8 bits is enough to produce this dependence. NF4 is batch-invariant. The two largest reported calibration losses are response-bias shifts. We release item-level predictions, option scores and human annotations, and give recommendations for evaluating compressed small models.
Figures & tables
| Safety: non-refusal | HaluEval acc. | TruthfulQA MC1 | BBQ ambig. acc. | |||||
|---|---|---|---|---|---|---|---|---|
| Model | flip% | flip% | flip% | flip% | ||||
| SmolLM2-135M | +4.0 † | 4.4 | 1.3 | 9.2 | +0.9 | 7.0 | +0.1 | 1.0 |
| SmolLM2-360M | +9.8 † | 11.0 | +6.1 † | 8.2 | +0.4 | 6.2 | +2.6 † | 3.1 |
| Qwen2.5-0.5B | 1.0 | 5.2 | 8.8 † | 13.8 | 1.1 | 7.7 | 0.8 † | 1.0 |
| Gemma-3-1B | +6.2 † | 17.7 | +0.6 | 7.8 | 1.2 | 8.1 | 0.5 | 2.0 |
| TinyLlama-1.1B | 1.2 | 2.7 | +3.0 † | 5.3 | +0.5 | 2.9 | 0.2 | 0.4 |
| Instrument | Target | Recall | Prec. | |
|---|---|---|---|---|
| Keyword (baseline) | ref. | 33.3 [21,48] | 68.2 [47,84] | 22 |
| Keyword (corrected) | ref. | 80.0 [66,89] | 80.0 [66,89] | 45 |
| Llama Guard 3 | harm | 57.1 [39,73] | 48.5 [33,65] | 33 |
| WildGuard ∗ | ref. | 95.2 [84,99] | 83.3 [70,91] | 48 |
| WildGuard ∗ | harm | 81.5 [63,92] | 78.6 [60,90] | 28 |
| Keyword | Guard | WildGuard | Human-calibrated | |||
| refusal | safe | refusal | harmful | refusal | harmful | |
| float16 | 58.0 | 65.2 | 59.2 | 39.1 | 63.6 [55.6, 71.7] | 28.0 [18.9, 37.2] |
| 8-bit | 59.4 | 66.9 | 60.9 | 37.4 | 64.8 [56.8, 72.6] | 27.0 [18.2, 35.9] |
| 4-bit | 53.3 | 61.7 | 55.0 | 43.0 | 60.0 [51.7, 68.6] | 30.6 [20.8, 40.3] |
| 8-bit | +1.4 | +1.7 | +1.7 | 1.7 | +1.2 [+0.8, +1.5] | 1.0 [ 1.4, 0.6] |
| 4-bit | 4.7 | 3.5 | 4.2 | +3.9 | 3.6 [ 4.4, 2.8] | +2.6 [+1.7, +3.5] |
| Measurement choice | Comparison | Estimate | Sec. |
|---|---|---|---|
| Refusal detection | Corrected keyword detector against human-calibrated rate, 4-bit, pooled over models | Refusal falls by 4.7 points under the detector and by 3.6 after calibration; harmful compliance rises by 2.6 | 5 |
| Refusal detection | WildGuard against corrected keyword detector, 4-bit | Same direction of change in 8 of 8 models | 5 |
| Scoring protocol | Cloze against lettered scoring, all models, precisions and item sets | against a noise ceiling of about 0.77; per-item changes differ in 13 of 64 comparisons | 6 |
| Scoring rule | One effect: SmolLM2-1.7B, HaluEval, 4-bit | +9.8 (cloze, mean), +0.8 (cloze, sum), 13.6 (lettered, released order), 7.3 (lettered, two orders) points | 6 |
| Batch composition | Rearranging an 8-bit batch, against quantizing from float16 | 0.8–6.4% of 8-bit choices change, 57–119% of the float16-to-8-bit flip rate; float16 at most 0.6% | 6 |
| Padding | Padded against unpadded single items | 2.2–5.6% of 8-bit choices change; float16 at most 0.4% | 6 |
| cloze | same effect under | ||||||
|---|---|---|---|---|---|---|---|
| mean | cloze | lettered | |||||
| Model | Data | bits | sum | PMI | released | reversed | |
| Llama-3.2-1B | HaluEval | 4 | 2.9 | + | |||
| Qwen2.5-0.5B | HaluEval | 4 | 8.8 | ||||
| Qwen2.5-1.5B | ARC-E | 4 | 3.9 | + | + | ||
| Qwen2.5-1.5B | HaluEval | 4 | 5.4 | + | |||
Appendix figures & tables4 assets
Supplementary material from the paper’s appendix.
Appendix
| Model | Data | bit | acc | ECE [95% CI] | recent. |
|---|---|---|---|---|---|
| SmolLM2-135M | BoolQ | 4 | 10.7 | +0.154 [+0.130, +0.173] | 0.031 |
| Llama-3.2-1B | BoolQ | 4 | 6.1 | +0.037 [+0.019, +0.051] | 0.008 |
| Gemma-3-1B | HellaSwag | 4 | 1.8 | +0.023 [+0.007, +0.035] | – |
| SmolLM2-360M | ARC-E | 4 | 1.9 | +0.019 [+0.001, +0.037] | – |
| Qwen2.5-0.5B | PIQA | 8 | +0.9 | +0.009 [+0.001, +0.016] | +0.004 |
| TinyLlama-1.1B | PIQA | 8 | 0.8 | 0.007 [ 0.017, 0.001] | 0.011 |
| Exchangeability | float16 refusal | 4-bit flip | ||||
|---|---|---|---|---|---|---|
| Model | % | AUROC | % | AUROC | ||
| SmolLM2-135M | 0.03 | 0.54 | 4.8 | 0.57 | 4.4 | 0.51 |
| SmolLM2-360M | 0.48 | 0.84 | 14.4 | 0.54 | 11.0 | 0.50 |
| Qwen2.5-0.5B | +0.16 | 0.45 | 91.5 | 0.49 | 5.2 | 0.47 |
| Gemma-3-1B | 0.21 | 0.87 | 90.6 | 0.52 | 17.7 | 0.47 |
| TinyLlama-1.1B | 0.23 | 0.81 | 1.2 | 0.29 | 2.7 | 0.32 |
| float16 | 8-bit | 4-bit | ||||
|---|---|---|---|---|---|---|
| Model | Halu | BBQ | Halu | BBQ | Halu | BBQ |
| SmolLM2-135M | 100.0 | 99.9 | 96.2 | 92.0 | 100.0 | 99.8 |
| SmolLM2-360M | 99.9 | 99.9 | 96.5 | 89.6 | 100.0 | 99.7 |
| Qwen2.5-0.5B | 99.8 | 99.8 | 96.8 | 92.4 | 99.9 | 99.6 |
| Gemma-3-1B | 99.9 | 100.0 | 96.2 | 91.4 | 100.0 | 99.7 |
| TinyLlama-1.1B | 100.0 | 99.8 | 98.2 | 96.0 | 100.0 | 99.9 |
LLM Evaluation
Large language model evaluation measures what models can do, how reliably they do it, and whether benchmark scores predict real-world performance.
See all 2,567 papers