QVec eliminates quantization-conditioned backdoors without retraining
QVec can suppress QCB activation while preserving clean model performance
Security & privacy arXiv 18 Jun 2026 Defense Simulation evidence
Published as “Quantization as a Malicious Task: Removing Quantization-Conditioned Backdoors via Task Arithmetic”
Why it matters
The method offers a practical way to neutralize backdoors that only appear after model quantization, protecting deployed edge and LLM systems without costly retraining.
Summary
QVec reduces attack success rate to near zero while keeping clean accuracy comparable to the original model. It works by subtracting the quantization-induced shift δ from the full-precision weights before quantization, requiring only a single forward pass and no retraining. Experiments on ResNet-18, VGG13, MobileNetV2 (CIFAR-10, Tiny-ImageNet) and on Gemma-2B/StarCoder-1B LLMs show the defense suppresses quantization-conditioned backdoors with negligible computational overhead. The paper does not report results for VGG13 on Tiny-ImageNet because the attack training failed to achieve reasonable clean accuracy.
What they found 2
- QVec reduces Attack Success Rate to near zero while maintaining high clean accuracy
“QVec consistently reduces Attack Success Rate (ASR) to near zero while maintaining high CA, achieving a favorable robustness-efficiency trade-off.”
- QVec suppresses malicious behaviors in LLMs while preserving utility benchmarks
“Across all settings, QVec effectively suppresses malicious behaviors while preserving utility benchmarks such as MMLU and HumanEval, with negligible computational overhead.”
Caveats 1
- Results for VGG13 on Tiny-ImageNet are not reported, as the Qu-Anti-zation attack training failed to achieve reasonable Clean Accuracy (CA) under that specific configuration.
What’s new here 3
- Interprets the quantization-induced weight shift as a structured task vector rather than random noise
- Applies a lightweight parameter-space correction (W' = W - αδ) before quantization, avoiding any retraining
- Provides a defense that is agnostic to quantization granularity and bit-width