IMMA:使文本到图像模型对恶意适配免疫
IMMA: Immunizing text-to-image Models against Malicious Adaptation
AI总结:
本文提出IMMA方法,通过在模型发布前学习对恶意微调具有抵抗性的参数,使文本到图像模型对LoRA、Textual-Inversion和DreamBooth等恶意适配免疫,实验验证了其在防止艺术风格模仿和不当内容学习方面的有效性。
摘要:
开源文本到图像模型和微调方法的进步导致恶意适配风险日益增加,即通过微调生成有害或未经授权的内容。近期的工作,例如Glaze或MIST,开发了数据投毒技术来保护数据免受适配方法的侵害。在这项工作中,我们考虑了一种替代的保护范式。我们提出通过学习在微调恶意内容时对适配方法而言难以利用的模型参数来“免疫”模型;简称为IMMA。具体而言,IMMA应在模型权重发布之前应用,以减轻这些风险。实证结果表明,IMMA在三种适配方法(LoRA、Textual-Inversion和DreamBooth)上对恶意适配具有有效性,包括模仿艺术风格和学习不当或未经授权的内容。代码可在\url{https://github.com/amberyzheng/IMMA}获取。
英文摘要:
Advancements in open-sourced text-to-image models and fine-tuning methods have led to the increasing risk of malicious adaptation, i.e., fine-tuning to generate harmful/unauthorized content. Recent works, e.g., Glaze or MIST, have developed data-poisoning techniques which protect the data against adaptation methods. In this work, we consider an alternative paradigm for protection. We propose to ``immunize'' the model by learning model parameters that are difficult for the adaptation methods when fine-tuning malicious content; in short IMMA. Specifically, IMMA should be applied before the release of the model weights to mitigate these risks. Empirical results show IMMA's effectiveness against malicious adaptations, including mimicking the artistic style and learning of inappropriate/unauthorized content, over three adaptation methods: LoRA, Textual-Inversion, and DreamBooth. The code is available at \url{https://github.com/amberyzheng/IMMA}.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。