arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2303.17591cs.CVcs.AIcs.LG
收藏

Forget-Me-Not:学习遗忘在文本-图像扩散模型中的应用

Forget-Me-Not: Learning to Forget in Text-to-Image Diffusion Models

Picsart AI Research(Picsart人工智能研究院)

Eric Zhang, Kai Wang, Xingqian Xu, Zhangyang Wang, Humphrey Shi

摘要:

深度学习模型的非学习问题曾经主要是学术界关注的问题,现在已经成为业界普遍存在的问题。文本到图像生成技术的重大进步引发了全球对隐私、版权和安全的讨论,因为这些模型已经学习了许多未经授权的个人ID、内容、艺术创作和潜在有害材料,并随后用于生成和分发不受控制的内容。为了解决这一挑战,我们提出了\textbf{Forget-Me-Not},这是一种高效且低成本的解决方案,旨在安全地在短短30秒内从配置良好的文本到图像模型中删除指定的ID,对象或样式,而不会影响其生成其他内容的能力。除了我们的方法,我们引入了\textbf{Memorization Score (M-Score)}和\textbf{ConceptBench}来衡量模型生成一般概念的能力,分为三个主要类别:ID,对象和风格。使用M-Score和ConceptBench,我们证明了Forget-Me-Not可以有效地消除目标概念,同时保持模型对其他概念的性能。此外,勿忘我提供了两个实用的扩展:a)删除潜在的有害或NSFW内容,以及b)通过\textbf{concept correction and disentanglement}增强模型的准确性,包容性和多样性。它也可以作为稳定扩散的轻量级模型补丁进行调整,允许概念操作和方便的分发。为了鼓励这一关键领域的未来研究,并促进安全和包容性生成模型的发展,我们将在\href{https://github.com/SHI-Labs/Forget-Me-Not}{https://github.com/SHI-Labs/Forget-Me-Not}上开源我们的代码和ConceptBench。

英文摘要:

The unlearning problem of deep learning models, once primarily an academic concern, has become a prevalent issue in the industry. The significant advances in text-to-image generation techniques have prompted global discussions on privacy, copyright, and safety, as numerous unauthorized personal IDs, content, artistic creations, and potentially harmful materials have been learned by these models and later utilized to generate and distribute uncontrolled content. To address this challenge, we propose \textbf{Forget-Me-Not}, an efficient and low-cost solution designed to safely remove specified IDs, objects, or styles from a well-configured text-to-image model in as little as 30 seconds, without impairing its ability to generate other content. Alongside our method, we introduce the \textbf{Memorization Score (M-Score)} and \textbf{ConceptBench} to measure the models' capacity to generate general concepts, grouped into three primary categories: ID, object, and style. Using M-Score and ConceptBench, we demonstrate that Forget-Me-Not can effectively eliminate targeted concepts while maintaining the model's performance on other concepts. Furthermore, Forget-Me-Not offers two practical extensions: a) removal of potentially harmful or NSFW content, and b) enhancement of model accuracy, inclusion and diversity through \textbf{concept correction and disentanglement}. It can also be adapted as a lightweight model patch for Stable Diffusion, allowing for concept manipulation and convenient distribution. To encourage future research in this critical area and promote the development of safe and inclusive generative models, we will open-source our code and ConceptBench at \href{https://github.com/SHI-Labs/Forget-Me-Not}{https://github.com/SHI-Labs/Forget-Me-Not}.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑