Skip to content
InfoResearchPreprintLLM-specific

ReQOR: Operator-Discrepancy Subspace Repair for Quantization-Conditioned Backdoors in Large Language Models

Published
Record updated
View JSON

Summary

ReQOR is a training-free defense against quantization-conditioned backdoors, which make LLMs malicious only after quantization. It isolates module-local quantization effects by comparing high-precision and quantized operators on identical states, then restores full-precision computation along the dominant discrepancy directions in closed form, using benign calibration data and no attack information. Across four LLMs, three PGD-based attacks, and three quantization formats, it substantially mitigates the backdoors while largely preserving benign utility, and it remains effective against a non-PGD outlier-injection attack where baselines largely fail.

Mitigation

ReQOR: a training-free repair that identifies dominant operator-discrepancy directions on benign calibration data and restores full-precision computation along them in closed form, yielding a factorized residual adapter, with full-span or low-rank repair (low-rank reduces deployment memory overhead).