ReQOR: operator-discrepancy subspace repair for LLM quantization-conditional backdoorsReQOR: Operator-Discrepancy Subspace Repair for Quantization-Conditioned Backdoors in Large Language Models
The researchers propose ReQOR, a training-free defense against LLM quantization-conditional backdoors (QCB); QCB causes a model to exhibit malicious behavior after quantization while remaining normal at high precision. The method compares each module at high precision and after quantization on the same states of the quantized inference trajectory, turning the defense into repairing same-state operator discrepancies, identifying dominant discrepancy directions on benign calibration data, and restoring full-precision computation along these directions in closed form to obtain a factorized residual adapter, without using any attack information, without relying on gradient optimization, and supporting both full-rank and low-rank repair. In experiments on 4 LLMs, 3 PGD-based QCB attacks, 3 malicious behaviors and 3 quantization formats, ReQOR significantly mitigates the backdoor while largely preserving benign utility; it remains effective on non-PGD outlier-injection attacks, where baselines mostly fail. Analysis shows that dominant operator discrepancy directions are more effective and more rank-efficient than rank-matched random, low-energy or original weight-error directions, and low-rank ReQOR can also reduce deployment memory overhead.
Related events and news
1 events · 0 news mentions
- This event's paper
ReQOR:无需训练的LLM量化条件后门防御