arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.12356cs.CVcs.AI
收藏

基于免训练门控低秩适配的文本到图像扩散模型局部概念擦除

Localized Concept Erasure for Text-to-Image Diffusion Models Using Training-Free Gated Low-Rank Adaptation

Department of ECE(电子工程系);IPAI;INMC;Seoul National University(首尔国立大学)

Byung Hyun Lee, Sungjin Lim, Se Young Chun

AI总结:

提出局部概念擦除框架及免训练门控低秩适配方法GLoCE,通过轻量模块选择性移除图像中目标概念区域,在保持其余区域保真度的同时提升擦除有效性、特异性和鲁棒性。

摘要:

基于微调的概念擦除方法在防止文本到图像扩散模型生成有害内容方面已展现出良好效果,其通过移除目标概念同时保留其余概念来实现。为在概念擦除后维持扩散模型的生成能力,当目标概念局部出现在图像中时,有必要仅移除包含该目标概念的图像区域,而保持其他区域不变。然而,现有方法常常为了擦除特定区域中出现的局部目标概念而损害图像其他区域的保真度,从而降低图像生成的整体性能。为解决这些局限,我们首先引入一种称为局部概念擦除的框架,该框架允许仅删除图像中包含目标概念的特定区域,同时保留其他区域。作为局部概念擦除的一种解决方案,我们提出一种免训练方法,称为门控低秩适配概念擦除(GLoCE),该方法向扩散模型中注入一个轻量级模块。GLoCE由低秩矩阵和一个简单门控组成,该门控仅通过概念的几个生成步骤即可确定,无需训练。通过直接将GLoCE应用于图像嵌入,并设计门控仅对目标概念激活,GLoCE能够选择性地仅移除目标概念的区域,即使目标概念和其余概念在图像中共存时也是如此。大量实验表明,GLoCE在擦除局部目标概念后不仅提高了图像对文本提示的保真度,而且在有效性、特异性和鲁棒性方面大幅优于现有方法,并可扩展到大规模概念擦除。

英文摘要:

Fine-tuning based concept erasing has demonstrated promising results in preventing generation of harmful contents from text-to-image diffusion models by removing target concepts while preserving remaining concepts. To maintain the generation capability of diffusion models after concept erasure, it is necessary to remove only the image region containing the target concept when it locally appears in an image, leaving other regions intact. However, prior arts often compromise fidelity of the other image regions in order to erase the localized target concept appearing in a specific area, thereby reducing the overall performance of image generation. To address these limitations, we first introduce a framework called localized concept erasure, which allows for the deletion of only the specific area containing the target concept in the image while preserving the other regions. As a solution for the localized concept erasure, we propose a training-free approach, dubbed Gated Low-rank adaptation for Concept Erasure (GLoCE), that injects a lightweight module into the diffusion model. GLoCE consists of low-rank matrices and a simple gate, determined only by several generation steps for concepts without training. By directly applying GLoCE to image embeddings and designing the gate to activate only for target concepts, GLoCE can selectively remove only the region of the target concepts, even when target and remaining concepts coexist within an image. Extensive experiments demonstrated GLoCE not only improves the image fidelity to text prompts after erasing the localized target concepts, but also outperforms prior arts in efficacy, specificity, and robustness by large margin and can be extended to mass concept erasure.

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

↑