Is 4-Bit Quantization More Than Noise to a Chat Model's Safety Behaviour? Attributing Behavioural Shifts with Matched Perturbations
Abstract
Chat models on phones and laptops are usually 4-bit copies of the model that was evaluated, and audits of such copies disagree about what quantization does to refusal. A 4-bit build is one of many weight perturbations of the same size, so a change in its behaviour could come from its specific rounding error or from any perturbation that large. In a pre-registered study of three 3-4B chat models, with paired tests, blind human labels and an 8-bit null, we find two 4-bit shifts of opposite sign: with a compliant reply prefilled, Qwen2.5-3B continues into harmful content more often, and on held-out jailbreaks Llama-3.2-3B complies 10.3 points less often. Matched perturbations separate the two. Shuffled and Gaussian versions of the error average close to zero, while scaling the real error, from its mirror image to twice its size, changes behaviour near-linearly. At half the real error, Llama's likelihood is almost unchanged, yet it already complies 5.8 points less often, and llama.cpp's Q4KM, at the same bits per weight, moves neither model. Refusal under 4-bit quantization depends on the specific rounding error, not on bits per weight or likelihood, so each build has to be compared with its original.
Create a lesson
Metadata
- Categories
- cs.CR, cs.CL
- Comments
- 16 pages, 4 figures. Code and labels: https://github.com/egekaya1/qrefusal
Related papers
Visual Attribution Limits and Graded Provenance Auditing in Commercial Video-Generation APIs
Shared title terminologycs.CRHaocheng Mei, Yuchuan Tian, Yingte Shu et al.
DailySafe: Benchmarking Dynamic Safety Awareness in Everyday Multi-Turn Multimodal Interactions
Shared title terminologycs.CRXuankun Rong, Xinhao Deng, Wenzheng Jiang et al.
Erasing the Wrong Thing: Conditional Attribute Leakage and Concept Erasure in Shared Foundation-Model Embeddings
Shared title terminologycs.CRHaijun He, Fei Li, Donghong Ji et al.
The Limit Is in the Input, Not the Model: State-Dependent Command Safety in Natural-Language Interfaces to Industrial Controllers
Shared title terminologycs.CRHemen Taukoor, Zhaoxia Wang, Venky Shankararaman
What Survives the Shift from Text to Pixels? Conditional Protection against Prompt Injection in Image-Rendered Documents
Shared title terminologycs.CRHaoyang Liu, Yinong Xu, Zhe Lang et al.
Can Verifiable PIR Match the Online Efficiency of SimplePIR?
Shared title terminologycs.CRXinxuan Zhang, Ruida Wang, Zirui Wang et al.