Back to AI News
arxiv

J++-Lens Model Diffing Improves Backdoor Detection in Fine-Tuned Models

The paper introduces a common token-readout scoring system to compare weight-, activation- and output-based model diffing methods for detecting backdoors introduced during fine-tuning. It improves existing weight and activation methods by incorporating the J-lens and its refinement, the J++-lens. The strongest single method, ΔW J++, ranks a token naming the backdoor among its first ten tokens in 11 of 12 settings. The authors also show that output and activation methods such as ADL and Diff Mining can break when the backdoored model is penalised for giving backdoor words probability on clean inputs, while weight-based methods fail under hidden-unit permutation or training only residual-stream-reading layers, so no single method resists both attacks.

AI Brief

It offers a comparative evaluation and a stronger weight-based diffing technique for detecting backdoors in fine-tuned models, which is directly useful to AI security and safety practitioners.

arXiv:2611.34758v1 Announce Type: cross 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.
Be the first to rate this article.

Comments & Questions (0)

Captcha
Please be respectful — let's keep the conversation friendly.

No comments yet

Be the first to comment!