Feed 0% source
AI/ML AI-generated

QuantiBias: Benchmarking Quantization-Induced Bias in LLMs

Generated by a local model (nvidia/Gemma-4-26B-A4B-NVFP4) from a scientific paper, claim-checked against the full text. Provenance is open by design.

When large AI models are compressed to run faster on smaller devices, they often pass standard safety tests. However, they may start volunteering harmful stereotypes when asked open-ended questions. This compression is called quantization. It shrinks the numerical precision of a model's weights to save memory. While engineers assume this step is harmless, a new study from the University of Southern California reveals a significant side effect. The researchers call this a "selective safety gap." In this gap, a model's ability to refuse direct harm remains intact. Meanwhile, its tendency to generate biased content increases.

The illusion of passing safety checks

The industry standard for evaluating Large Language Model (LLM) safety relies on short-form safeguards. These typically check if a model refuses a direct request to perform a harmful task. They also check if it selects an unbiased answer in a multiple-choice format. The authors of the QuantiBias study find these traditional metrics are blind to open-ended generation.

As shown in, researchers tested a quantized version of the Qwen3.6-27B model.

Figure 2
Figure 2 — from the original paper

The standard safeguards remained remarkably stable. The model's refusal rate for harmful prompts stayed near full-precision levels. Its accuracy on multiple-choice bias benchmarks like BBQ also remained stable. However, the authors report a different story for open-ended questions. The same model volunteered stereotypes in roughly one in four answers. This discrepancy suggests a major risk. A model can pass every standard safety checklist and still reach users in a more biased state.

Why precision loss hits bias hardest

To understand this, the authors propose a mechanistic account based on "decision margins." In an LLM, every token selection is determined by the difference in confidence (called logits) between possible outputs. A "margin" is the gap between the preferred, safe answer and a potentially biased one.

The researchers argue that quantization acts as a semantically empty perturbation. This means it adds mathematical noise to every weight without targeting any specific behavior. This noise affects all behaviors, but it does so unevenly. High-margin behaviors, such as refusing an overtly harmful request, are reinforced heavily during alignment training. Because the gap between "refuse" and "comply" is wide, the noise from quantization is unlikely to flip the decision.

Conversely, avoiding subtle stereotypes in open-ended conversation is a "low-margin" behavior. These responses were not direct targets of intensive training. Therefore, the model's internal confidence in staying neutral is quite thin. As quantization reduces the effective bits per weight (bpw)—the actual amount of information stored per parameter—the noise easily pushes these narrow margins into stereotype endorsement. The authors note that current quantizers prioritize precision for capability-related data. This includes coding or logic, which are used during calibration. Consequently, the fragile, bias-sensitive weights are left under-protected.

Evidence of a widening gap

The study provides evidence for this gap across multiple model families and languages. Using the QuantiBias benchmark, the authors demonstrate that the bias is not an artifact of a single language.

For the Qwen3.6-27B anchor, the stereotype endorsement rate remains high. Under an independent judge, the rate sits between 23.8% and 26.7%. This occurs even as the model's capabilities and refusal rates stay flat . This finding was replicated on a second backbone, Gemma-4-31B. There, the independent judge similarly flagged high rates of bias [Figure A2]. This happened despite stable performance on standard benchmarks.

The researchers also examined if "reasoning"—forcing the model to deliberate before answering—could act as a safeguard. They find the effect is highly dependent on the model family. On the Qwen backbone, enabling reasoning roughly halved the bias rate .

Figure 4
Figure 4: The reasoning safeguard is familydependent (lean judge). Lean-judge MBTP endorsement rate, reasoning off versus on, for both backbones at two rungs. Reasoning roughly halves the rate on Qwen but not on Gemma, where the manipulation is verified (2K-3K-character traces).

It also flattened the increase seen during compression. However, on the Gemma backbone, reasoning provided almost no benefit. It left the bias levels virtually unchanged .

Limits of the current findings

The authors highlight several areas where the research is currently bounded. First, absolute bias levels depend heavily on the "judge" used for scoring. An "in-family" judge (a model from the same family as the one being tested) reports much lower bias levels. This differs from independent, out-of-family judges like Claude or Gemini. Practitioners must be cautious when using a model family to evaluate its own safety.

Second, the study notes a distinction between frequency and severity. The current instrument primarily measures how often a model crosses the line into a stereotype. It does not fully capture how much more "decisive" or extreme those stereotypes become as precision drops. Finally, the multilingual aspect of the probe uses a diagonal design. In this design, language, target group, and content are somewhat entangled. This may complicate direct comparisons between different linguistic contexts.

The verdict on quantized deployment

If you are deploying quantized models, do not rely solely on standard safety benchmarks. A model may appear perfectly aligned in multiple-choice tests. It may also pass refusal checks. Yet, it may still exhibit significant bias during natural, open-ended dialogue.

The authors recommend a dedicated re-evaluation for open-ended generative bias for every quantized build. Developers cannot treat "thinking" models as a universal fix. The effectiveness of reasoning as a mitigator is unpredictable across different architectures. For those implementing these evaluations, the QuantiBias code and datasets are reportedly available via Hugging Face.

Figures from the paper

Figure 1
Figure 1: The selective safety gap under compression. Quantization compresses an aligned model from 16 to about one bit per weight. The short-form checks a release is screened on, refusing harmful requests and avoiding biased multiple-choice answers, still pass. Yet in open-ended generation the same model volunteers stereotypes the checklist never registers, a gap at every precision. QuantiBias measures it: a generative stereotype probe scored against effective bits per weight, with and without reasoning, and rated for severity.
Figure 3
Figure 3: Content-severity distribution of one-bit endorsements. Every lean-judge endorsement, re-scored on a 0 -4 rubric by an independent judge. Mean 1 . 83 ; 33 of 48 score ≥ 2 ; none reach the severity4 ceiling; a fifth ( 10 of 48 ) score 0 , bounding the false-positive rate.
Figure 5
Figure 5: An independent generative-bias benchmark. CEB biased-continuation rate across three rungs (reasoning off, n ≈ 960 per rung), sharing no items with MBTP, under the lean and independent judges. Both rise with compression, independent above lean as with MBTP; the one-bit rung is a separate ternary backbone, so the Q4-to-IQ2 rise on the shared ladder is the robust comparison.
Figure 6
Figure 6: Five-family screen, both judges. Q8 (open circle) and Q2 (filled) stereotype rate per family with 95% intervals: lean judge (Qwen3-8B, n ≤ 320 ) above, independent (Claude Sonnet-5, n = 60 ) below, on their own scales. The independent judge sees three to four times the lean rate; within every family the Q8 and Q2 intervals overlap.
Novelty
0.0/10
Impact
0.0/10
Overall
0.0/10
#ai#nlp#quantization#bias#safety
How this was made
Generation

Model: nvidia/Gemma-4-26B-A4B-NVFP4
Persona: academic_accessible
Template: engineering_deepdive
Refinement: 0
Pipeline: forge-1.1

Verification

Evaluator: nvidia/Gemma-4-26B-A4B-NVFP4
Score: 95% (passed)
Claims verified: 15 / 15

Translation

Model: nvidia/Gemma-4-26B-A4B-NVFP4

Hardware & cost

NVIDIA GB10 · 128 GB unified · NVFP4 · 100% local · $0 cloud
Tokens: 163,167
Wall-time: 277.4s
Tokens/s: 588.3