Reliability & Assurance

Quantization-Triggered Backdoors Bypass Full-Precision Model Safety Checks

arXiv cs.LG Surfaced Read the original

Researchers built a three-stage adversarial fine-tuning framework that embeds latent malicious payloads into models which pass standard source-precision safety checks, but activate targeted misbehavior once compressed with INT8 or 4-bit post-training quantization. In a tactical machine translation scenario, a backdoored model showed zero measured friend-foe corruption at repaired FP16 but up to 85.02% inversion after quantization; a paired stance classifier in a political content analysis scenario showed an ideological shift of up to Delta-Bias=0.33 upon compression. The work extends prior demonstrations from decoder-only causal language models to multilingual encoder-decoder sequence-to-sequence models, and includes a cross-quantizer transferability analysis showing attack persistence depends on the specific quantization scheme and model architecture rather than nominal bit-width alone. This is a laboratory demonstration with models deliberately fine-tuned to carry the backdoor; there is no indication of in-the-wild exploitation, and the paper does not state a disclosure timeline.

rss · arXiv cs.LG · Aug 31, 04:00

Quantization is widely treated as a semantically neutral optimization step

MLOps pipelines commonly evaluate and certify a model at full precision, then quantize it for edge or production deployment without re-running the same behavioral and safety evaluations on the quantized artifact. This practice rests on the assumption that quantization only affects efficiency and numerical precision, not the model’s behavior, an assumption the paper formalizes and challenges through what it calls Quantization Behavioral Equivalence Classes.

Who is exposed

This affects organisations that quantize large language models, such as INT8 or 4-bit post-training quantization, for edge or production deployment and rely solely on full-precision (source-checkpoint) evaluation to certify safety. Exposure is broadest for teams sourcing third-party or fine-tuned checkpoints from external supply chains and quantizing them downstream without re-validating the final deployed configuration; teams that already run behavioral and safety tests on the actual quantized artifact are not exposed by this finding. The demonstrated scenarios cover machine translation and political stance classification using encoder-decoder and decoder-only architectures, so applicability to other architectures or quantization methods has not been separately confirmed.

What reduces the risk

No patch exists because this is a demonstrated methodological gap rather than a software defect; the paper’s recommended mitigation is to include the final deployed, quantized configuration in behavioral certification rather than relying on source-precision checks alone, and to treat quantization schemes as security-relevant given that attack persistence varies by quantizer and architecture.

Tags: #model quantization, #backdoor attacks, #LLM security, #validation gap, #supply chain risk