Model immunization cannot reliably protect models from harmful fine-tuningModel Immunization Cannot Reliably Protect Models from Harmful Adaptation
Quick read
Based on the paper's full text (AI-generated); refer to the original
Virginia Tech researchers evaluated four model immunization methods, Imma, MIMA, CLAMP and CondNum, and found that when the attacker's actual configuration deviates from the configuration simulated during immunization, the protection is greatly weakened or even completely fails. Model immunization means modifying a model before release so that it resists subsequent harmful fine-tuning. The paper constructs deviations along three dimensions controllable by the attacker: harmful data (switching to independently collected datasets, applying model-agnostic or model-aware perturbations), adaptation strategy (changing the learning rate, LoRA rank, optimizer) and model initialization (scaling attention weights in a way that does not change functionality). On five painter styles of Stable Diffusion v1.4 and four image classification benchmarks, the combined deviations reduce Imma's SGR on the Kelly McKernan style from 23.57 to −1.53; a negative value means that the immunized model is actually more able than the non-immunized model to recover the target capability. Supplementary results in the appendix on three language models show that these deviations likewise greatly weaken CLAMP's protection; adaptive immunization that pre-incorporates multiple prompts or matches the attacker's learning rate also fails to restore protection.
- Model immunization modifies the checkpoint before release so that it is difficult to fine-tune back to harmful capabilities. But existing methods optimize only against the attacker configuration simulated at immunization time, and the authors question whether their protection is merely overfitting to that configuration rather than truly preventing harmful adaptation.
- The authors systematically create misalignment along three dimensions controllable by the attacker: harmful data (switching datasets, model-agnostic perturbations, model-aware PGA/GCG perturbations), adaptation strategy (learning rate, LoRA rank, optimizer), and model initialization (function-preserving rescaling of attention weights), evaluated uniformly across four immunization methods.
- On text-to-image, image classification and language models, the protection of all four immunization methods (Imma, MIMA, CLAMP, CondNum) is significantly weakened by these misalignments; in some settings SGR drops to negative values, and immunized models relearn harmful capabilities to a degree comparable to or even better than non-immunized models; adaptive defenses customized for the expected misalignment also fail to restore protection.
- The authors note the need to extend to more artists, concepts and datasets, and to incorporate more variants of harmful data, adaptation strategies and initialization, in order to form a standardized evaluation benchmark for future immunization methods; developing stronger immunization methods is outside the scope of this paper and left for future work.
The paper shows that the four model immunization methods overfit to the attack configuration simulated during immunization; an attacker can greatly weaken the protection by changing data, adjusting the learning rate or reparameterizing.
Related events and news
1 events · 0 news mentions
- This event's paper
研究:模型免疫难防配置偏差的有害微调