ReQOR: Training-Free Repair for Quantization-Conditioned Backdoors in LLMs
The paper introduces ReQOR, a training-free defense against quantization-conditioned backdoors (QCBs), which cause LLMs to behave maliciously after quantization while appearing benign at high precision. ReQOR isolates module-local quantization effects by comparing high-precision and quantized module versions on identical states from the quantized inference trajectory, then repairs the resulting same-state operator discrepancies using dominant directions identified on benign calibration data. It restores full-precision computation along those directions in closed form as a factorized residual adapter, without attack information or gradient-based optimization, and supports full-span and low-rank repair. Experiments across four LLMs, three PGD-based QCB attacks, three malicious behaviors, and three quantization formats report substantial mitigation while largely preserving benign utility, including on a non-PGD outlier-injection attack where baselines largely fail.
It presents a concrete, training-free defense for a security risk specific to quantized LLM deployment, with evaluation across multiple models, attacks, and quantization formats.
Comments & Questions (0)
No comments yet
Be the first to comment!