大规模文本到图像(T2I)扩散模型虽能生成高质量图像,但因其能复现 undesirable 内容(如版权内容)而存在安全风险。概念消除已成为缓解策略,但现有方法难以平衡可扩展性、精度和鲁棒性,限制了仅消除几百种概念的应用。为解决这些问题,我们提出 Erasing Thousands of Concepts(ETC),一个可扩展的框架,能够消除数千种概念同时保持生成质量。我们的方法首先通过学生t分布混合模型(tMM)建模低秩概念分布,通过仿射最优传输实现精确消除目标概念,同时通过锚定目标概念分布边界而不预定义锚定概念来保留其他概念。随后训练一个基于专家混合(MoE)的模块,称为MoEraser,该模块移除目标嵌入并保留锚定嵌入。通过在文本嵌入投影器中注入噪声并微调MoEraser以恢复,我们的框架实现了对白盒攻击(如模块移除)的鲁棒性。在超过2000种概念跨异构领域和扩散模型上的广泛实验验证了大规模概念消除的最先进可扩展性和精度。
英文摘要:
Large-scale text-to-image (T2I) diffusion models deliver remarkable visual fidelity but pose safety risks due to their capacity to reproduce undesirable content, such as copyrighted ones. Concept erasure has emerged as a mitigation strategy, yet existing approaches struggle to balance scalability, precision, and robustness, which restricts their applicability to erasing only a few hundred concepts. To address these limitations, we present Erasing Thousands of Concepts (ETC), a scalable framework capable of erasing thousands of concepts while preserving generation quality. Our method first models low-rank concept distributions via a Student's t-distribution Mixture Model (tMM). It enables pin-point erasure of target concepts via affine optimal transport while preserving others by anchoring the boundaries of target concept distributions without pre-defined anchor concepts. We then train a Mixture-of-Experts (MoE)-based module, termed MoEraser, which removes target embeddings while preserving the anchor embeddings. By injecting noise into the text embedding projector and fine-tuning MoEraser for recovery, our framework achieves robustness to white-box attack such as module removal. Extensive experiments on over 2,000 concepts across heterogeneous domains and diffusion models demerate state-of-the-art scalability and precision in large-scale concept erasure.
You Only Erase Once: Erasing Anything without Bringing Unexpected Content
School of Computer Science and Engineering, Sun Yat-sen University, China(中山大学计算机科学与工程学院);Amazon(亚马逊);Key Laboratory of Machine Intelligence and Advanced Computing, Ministry of Education, China(教育部机器智能与先进计算重点实验室)
SAGE: Exploring the Boundaries of Unsafe Concept Domain with Semantic-Augment Erasing
Faculty of Data Science, City University of Macau(澳门城市大学数据科学学院);Institute of Information Science, Beijing Jiaotong University(北京交通大学信息科学学院);Beijing Key Laboratory of Advanced Information Science and Network Technology(北京先进信息科学与网络技术重点实验室)
RealEra: Semantic-level Concept Erasure via Neighbor-Concept Mining
Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);Guangdong Laboratory of Artificial Intelligence and Digital Economy (SZ)(广东省人工智能与数字经济实验室(深圳));School of Cyber Security, University of Chinese Academy of Sciences(中国科学院大学网络空间安全学院)
Defensive Unlearning with Adversarial Training for Robust Concept Erasure in Diffusion Models
Michigan State University(密歇根州立大学);Intel(英特尔公司);University of Minnesota, Twin City(明尼苏达大学双城分校);MIT-IBM Watson AI Lab(麻省理工学院-IBM沃森人工智能实验室);IBM Research(IBM研究院)
Precise, Fast, and Low-cost Concept Erasure in Value Space: Orthogonal Complement Matters
University of Science and Technology of China(中国科学技术大学);The University of Manchester(曼彻斯特大学);Hefei University of Technology(合肥工业大学);Institute of Software Chinese Academy of Sciences(中国科学院软件研究所)
Reliable and Efficient Concept Erasure of Text-to-Image Diffusion Models
Fudan University(复旦大学);Shanghai Key Lab of Intell. Info. Processing(上海智能信息处理重点实验室);School of Computer Science(计算机学院);Shanghai Collaborative Innovation Center on Intelligent Visual Computing(上海智能视觉计算协同创新中心)
DuMo: Dual Encoder Modulation Network for Precise Concept Erasure
School of Computer Science, Fudan University(复旦大学计算机科学技术学院);Shanghai Key Lab of Intell. Info. Processing(上海智能信息处理重点实验室);Shanghai Collaborative Innovation Center on Intelligent Visual Computing(上海智能视觉计算协同创新中心)
Semantic Steering for Controllable Generation: Tuning-Free Concept Erasure in Multimodal Diffusion Transformers
Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);School of Cyber Security, University of Chinese Academy of Sciences(中国科学院大学网络空间安全学院)
VCE: Safe Autoregressive Image Generation via Visual Contrast Exploitation
Fudan University(复旦大学);Shanghai Key Lab of Intell. Info. Processing, School of CS, Fudan University(复旦大学计算机科学技术学院上海市智能信息处理重点实验室);Shanghai Collaborative Innovation Center on Intelligent Visual Computing(上海智能视觉计算协同创新中心);International Computer Science Institute(国际计算机科学研究所);UC Berkeley(加州大学伯克利分校)