用“透镜”解读微调差异:模型差异分析(Model Diffing)检测后门
Reading Fine-Tuning Diffs Through Lenses: Model Diffing for Backdoor Detection
AI 导读
一项 arXiv 研究提出基于 token 读出的统一评分体系,用于评估基于权重、激活和输出的模型差异分析(model diffing)方法在微调后门检测中的表现,并引入 J-lens 及其改进 J++-lens 增强现有权重和激活方法。
正文 · 原文
Abstract:We introduce a common scoring system based on token readouts to evaluate weight, activation and output-based model diffing methods for backdoor detection in fine-tuning processes. We also improve existing weight and activation based methods by incorporating the $J$-lens and its refinement, the $J{+}{+}$-lens. We test our setup in experiments where we compare a backdoored model with the base model from which it was fine-tuned. Our results show that incorporating the $J{+}{+}$-lens improves the weight-based method in all our settings, while the $J$-lens improves its ranks within single layers. The strongest single method is $\Delta W J{+}{+}$, the weight difference decoded through the $J{+}{+}$-lens of the base model, which ranks a token naming the backdoor among its first ten tokens in 11 of our 12 settings. Moreover, we show that output and activation based methods such as ADL and Diff Mining can easily break if the backdoored model is penalised during fine-tuning for giving the backdoor's words probability on clean inputs, whereas the weight-based methods are not affected. Conversely, permuting the hidden units or training only the layers that read the residual stream hides the backdoor from the weight-based methods but not from ADL and Diff Mining. No single method resists both attacks.
| Comments: | 31 pages, 16 figures, 14 tables. Code and data available at this https URL |
| Subjects: | Machine Learning (cs.LG); Artificial Intelligence (cs.AI); Computation and Language (cs.CL) |
| Cite as: | arXiv:2611.34758 [cs.LG] |
| (or arXiv:2611.34758v1 [cs.LG] for this version) | |
| https://doi.org/10.48550/arXiv.2611.34758 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Maximilian Petrowitsch [view email]
[v1]
Wed, 25 Nov 2026 17:28:59 UTC (253 KB)
来源:arXiv cs.AI · arxiv.org