arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.14209cs.LGcs.CV
收藏

从文本到视频扩散模型中遗忘概念

Unlearning Concepts from Text-to-Video Diffusion Models

Shiqi Liu, Yihua Tan

AI总结:

针对文本到视频扩散模型难以去除受版权或不安全概念的问题,本文提出迁移文本到图像模型文本编码器的少样本概念遗忘能力,以低成本在约100秒内实现有效遗忘。

摘要:

随着计算机视觉和自然语言处理的发展,由文本到视频扩散模型实现的文本到视频生成变得更加普遍。这些模型使用来自互联网的大量数据进行训练。然而,训练数据通常包含受版权保护的内容,包括卡通人物图标和艺术家风格、私人肖像以及不安全视频。由于过滤数据并重新训练模型具有挑战性,研究人员已经探索了从文本到视频扩散模型中遗忘特定概念的方法。然而,由于计算复杂度高且优化规模相对较大,针对文本到视频扩散模型的遗忘方法研究很少。我们提出了一种新颖的概念遗忘方法,将文本到图像扩散模型文本编码器的遗忘能力迁移到文本到视频扩散模型。具体而言,该方法使用少样本遗忘来优化文本编码器,其中会使用若干生成图像。随后,我们将优化后的文本编码器用于文本到视频扩散模型以生成视频。我们的方法消耗较低的计算资源,并且优化规模较小。我们讨论了遗忘某个概念后生成的视频。实验表明,我们的方法能够遗忘受版权保护的卡通人物、艺术家风格、物体以及人物面部特征。在 RTX 3070 上,我们的方法可在约 100 秒内遗忘一个概念。由于此前不存在面向文本到视频扩散模型的概念遗忘方法,我们使概念遗忘在文本到视频领域变得可行且更易实现。

英文摘要:

With the advancement of computer vision and natural language processing, text-to-video generation, enabled by text-to-video diffusion models, has become more prevalent. These models are trained using a large amount of data from the internet. However, the training data often contain copyrighted content, including cartoon character icons and artist styles, private portraits, and unsafe videos. Since filtering the data and retraining the model is challenging, methods for unlearning specific concepts from text-to-video diffusion models have been investigated. However, due to the high computational complexity and relative large optimization scale, there is little work on unlearning methods for text-to-video diffusion models. We propose a novel concept-unlearning method by transferring the unlearning capability of the text encoder of text-to-image diffusion models to text-to-video diffusion models. Specifically, the method optimizes the text encoder using few-shot unlearning, where several generated images are used. We then use the optimized text encoder in text-to-video diffusion models to generate videos. Our method costs low computation resources and has small optimization scale. We discuss the generated videos after unlearning a concept. The experiments demonstrates that our method can unlearn copyrighted cartoon characters, artist styles, objects and people's facial characteristics. Our method can unlearn a concept within about 100 seconds on an RTX 3070. Since there was no concept unlearning method for text-to-video diffusion models before, we make concept unlearning feasible and more accessible in the text-to-video domain.

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

↑