ReQOR:面向大语言模型量化条件后门的算子差异子空间修复方法
ReQOR: Operator-Discrepancy Subspace Repair for Quantization-Conditioned Backdoors in Large Language Models
AI 导读
研究者提出 ReQOR,一种无需训练的大语言模型量化条件后门(QCB)防御方法,通过在良性校准数据上识别同状态下算子差异的主方向,并以闭式解恢复全精度计算,生成因子化残差适配器。它不依赖攻击信息或梯度优化,支持全跨度与低秩修复。在四个 LLM、三种 PGD 攻击、三种恶意行为和三种量化格式上显著缓解后门且基本保留良性能力,在非 PGD 离群注入攻击下也保持有效。
正文 · 原文
Abstract:Quantization-Conditioned Backdoors (QCBs) cause large language models (LLMs) to exhibit malicious behavior after quantization while remaining benign at high precision. Existing defenses often rely on security-guided configuration selection or iterative optimization, but do not identify which quantization-induced changes should be repaired. We isolate module-local quantization effects from upstream drift by evaluating the high-precision and quantized versions of each module on identical states from the quantized inference trajectory, and formulate QCB defense as repairing the resulting same-state operator discrepancies. We propose ReQOR, a training-free defense that identifies the dominant directions of these discrepancies on benign calibration data and restores the full-precision computation along them in closed form, yielding a factorized residual adapter. ReQOR uses neither attack information nor gradient-based optimization and supports both full-span and low-rank repair. Experiments across four LLMs, three PGD-based QCB attacks, three malicious behaviors, and three quantization formats show substantial QCB mitigation while largely preserving benign utility. In additional experiments on a non-PGD outlier-injection attack, existing baselines largely fail, whereas ReQOR remains effective. Further analysis shows that dominant operator-discrepancy directions provide more effective and rank-efficient repair than rank-matched random, low-energy, or raw weight-error directions, while low-rank ReQOR reduces deployment memory overhead.
| Comments: | 38 pages, 4 figures |
| Subjects: | Cryptography and Security (cs.CR); Artificial Intelligence (cs.AI); Machine Learning (cs.LG) |
| Cite as: | arXiv:2611.32755 [cs.CR] |
| (or arXiv:2611.32755v1 [cs.CR] for this version) | |
| https://doi.org/10.48550/arXiv.2611.32755 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Wonjune Seo [view email]
[v1]
Tue, 24 Nov 2026 15:00:23 UTC (926 KB)
来源:arXiv cs.AI · arxiv.org