Multi-concept Model Immunization through Differentiable Model Merging
Amber Yijia Zheng, Raymond A. Yeh
TL;DR
This work addresses the risk of misuse in open-sourced generative models by extending the model immunization paradigm to multiple concepts. It introduces MIMA, a multi-concept immunization framework that uses a differentiable model merging layer to combine concept-specific adaptations into a single immunized model, optimized via a bi-level objective that backpropagates through the Merge operation. The approach demonstrates consistent improvement over single-concept baselines across re-learning and personalization tasks, using multiple adaptation techniques (e.g., DreamBooth, Textual Inversion, LoRA, CustomDiffusion) and evaluation metrics (MSGR, MRSGR). The results suggest that end-to-end differentiable merging can robustly immunize pre-trained diffusion models against multiple harmful concepts while preserving useful capabilities for non-target concepts, potentially increasing the safety of released models in practice.
Abstract
Model immunization is an emerging direction that aims to mitigate the potential risk of misuse associated with open-sourced models and advancing adaptation methods. The idea is to make the released models' weights difficult to fine-tune on certain harmful applications, hence the name ``immunized''. Recent work on model immunization focuses on the single-concept setting. However, models need to be immunized against multiple concepts in real-world situations. To address this gap, we propose an immunization algorithm that, simultaneously, learns a single ``difficult initialization'' for adaptation methods over a set of concepts. We achieve this by incorporating a differentiable merging layer that combines a set of model weights adapted over multiple concepts. In our experiments, we demonstrate the effectiveness of multi-concept immunization by generalizing prior work's experiment setup of re-learning and personalization adaptation to multiple concepts.
