arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2412.20413cs.CV
收藏

EraseAnything:在整流流Transformer中实现概念擦除

EraseAnything: Enabling Concept Erasure in Rectified Flow Transformers

USTC(中国科学技术大学);Eliza Labs(Eliza实验室);NTU(南洋理工大学);BUPT(北京邮电大学);A*STAR(新加坡科技研究局);Alibaba Tongyi lab(阿里巴巴通义实验室);TeleAI;Beihang University(北京航空航天大学)

Daiheng Gao, Shilin Lu, Shaw Walters, Wenbo Zhou, Jiaming Chu, Jie Zhang, Bang Zhang, Mengxi Jia, Jian Zhao, Zhaoxin Fan, Weiming Zhang

AI总结:

本文提出EraseAnything,首个面向整流流Transformer T2I模型的概念擦除方法,通过双层优化、LoRA微调、注意力正则化和自对比学习,在保持无关概念性能的同时实现最先进的概念擦除效果。

摘要:

从大规模文本到图像(T2I)扩散模型中移除不需要的概念,同时保持其整体生成质量,仍然是一个尚未解决的挑战。这一困难在Stable Diffusion(SD)v3和Flux等新兴范式中尤为突出,这些范式融合了流匹配和基于Transformer的架构。这些进展限制了现有概念擦除技术的可迁移性,因为这些技术最初是为先前的T2I范式(例如SD v1.4)设计的。在这项工作中,我们提出了EraseAnything,这是首个专门针对最新基于流的T2I框架中的概念擦除问题而开发的方法。我们将概念擦除形式化为一个双层优化问题,采用基于LoRA的参数微调和注意力图正则化器来选择性抑制不需要的激活。此外,我们提出了一种自对比学习策略,以确保移除不需要的概念不会无意中损害无关概念上的性能。实验结果表明,EraseAnything成功填补了早期方法在这一新T2I范式中留下的研究空白,在广泛的概念擦除任务上取得了最先进的性能。

英文摘要:

Removing unwanted concepts from large-scale text-to-image (T2I) diffusion models while maintaining their overall generative quality remains an open challenge. This difficulty is especially pronounced in emerging paradigms, such as Stable Diffusion (SD) v3 and Flux, which incorporate flow matching and transformer-based architectures. These advancements limit the transferability of existing concept-erasure techniques that were originally designed for the previous T2I paradigm (e.g., SD v1.4). In this work, we introduce EraseAnything, the first method specifically developed to address concept erasure within the latest flow-based T2I framework. We formulate concept erasure as a bi-level optimization problem, employing LoRA-based parameter tuning and an attention map regularizer to selectively suppress undesirable activations. Furthermore, we propose a self-contrastive learning strategy to ensure that removing unwanted concepts does not inadvertently harm performance on unrelated ones. Experimental results demonstrate that EraseAnything successfully fills the research gap left by earlier methods in this new T2I paradigm, achieving state-of-the-art performance across a wide range of concept erasure tasks.

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

↑