文本到图像扩散模型存在生成过时、受版权保护、错误和有偏见内容的风险。虽然以前的方法在小规模上缓解了这些问题,但在更大规模的真实场景中同时处理这些问题至关重要。我们提出了一种两阶段方法,Editing Massive Concepts In Diffusion Models(EMCID,在扩散模型中编辑海量概念)。第一阶段通过文本对齐损失和扩散噪声预测损失的双重自蒸馏,对每个单独概念进行记忆优化。第二阶段利用多层闭式模型编辑进行海量概念编辑。我们进一步提出了一个综合基准,名为ImageNet Concept Editing Benchmark(ICEB,ImageNet概念编辑基准),用于评估T2I模型的海量概念编辑,包含两个子任务、自由形式的提示、海量概念类别和广泛的评估指标。在我们提出的基准和以前的基准上进行的广泛实验证明了EMCID在编辑多达1,000个概念方面的卓越可扩展性,为在实际应用中快速调整和重新部署T2I扩散模型提供了实用方法。
英文摘要:
Text-to-image diffusion models suffer from the risk of generating outdated, copyrighted, incorrect, and biased content. While previous methods have mitigated the issues on a small scale, it is essential to handle them simultaneously in larger-scale real-world scenarios. We propose a two-stage method, Editing Massive Concepts In Diffusion Models (EMCID). The first stage performs memory optimization for each individual concept with dual self-distillation from text alignment loss and diffusion noise prediction loss. The second stage conducts massive concept editing with multi-layer, closed form model editing. We further propose a comprehensive benchmark, named ImageNet Concept Editing Benchmark (ICEB), for evaluating massive concept editing for T2I models with two subtasks, free-form prompts, massive concept categories, and extensive evaluation metrics. Extensive experiments conducted on our proposed benchmark and previous benchmarks demonstrate the superior scalability of EMCID for editing up to 1,000 concepts, providing a practical approach for fast adjustment and re-deployment of T2I diffusion models in real-world applications.
Text Guided Image Editing with Automatic Concept Locating and Forgetting
King Abdullah University of Science and Technology(阿卜杜拉国王科技大学);Chinese Academy of Sciences(中国科学院);Sun Yat-sen University(中山大学);University of Auckland(奥克兰大学);University of Missouri(密苏里大学)
提出Locate and Forget (LaF)方法,通过比较句法树自动定位图像中待修改目标概念并遗忘其存在线索,解决了文本引导图像编辑中物体属性残留问题。
ACE: Concept Editing in Diffusion Models without Performance Degradation
University of Science and Technology of China(中国科学技术大学);Southeast University(东南大学);Beijing University of Posts and Telecommunications(北京邮电大学);Huawei(华为)
Training-Free Image Editing with Visual Context Integration and Concept Alignment
Alibaba International Digital Commerce Group(阿里巴巴国际数字商业集团);Institute for AI Industry Research (AIR), Tsinghua University(清华大学智能产业研究院(AIR));School of Data Science, Lingnan University(岭南大学数据科学学院)
FreeEdit: Mask-free Reference-based Image Editing with Multi-modal Instruction
Chinese Academy of Sciences Institute of Information Engineering(中国科学院信息工程研究所);Institute of Artificial Intelligence, Beihang University(北京航空航天大学人工智能研究院);Meituan(美团)
SingleInsert: Inserting New Concepts from a Single Image into Text-to-Image Models for Flexible Editing
Huazhong University of Science and Technology(华中科技大学);DAMO Academy, Alibaba Group(阿里巴巴集团达摩院);University of Illinois at Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校)
Safety Without Semantic Disruptions: Editing-free Safe Image Generation via Context-preserving Dual Latent Reconstruction
University of Western Australia(西澳大学);University of Melbourne(墨尔本大学);University of Central Florida(中佛罗里达大学);Australian National University(澳大利亚国立大学);Google(谷歌)
CCR: Facial Image Editing with Continuity, Consistency and Reversibility
Shenyang Institute of Automation, Chinese Academy of Sciences(中国科学院沈阳自动化研究所);Institutes for Robotics and Intelligent Manufacturing(机器人与智能制造研究所);University of Chinese Academy of Sciences(中国科学院大学)
University of Copenhagen(哥本哈根大学);University of Cambridge(剑桥大学);University of Amsterdam(阿姆斯特丹大学);University of California, Berkeley(加州大学伯克利分校);University of Tokyo(东京大学);University of Washington(华盛顿大学);University of Oxford(牛津大学)
S$^2$Edit: Text-Guided Image Editing with Precise Semantic and Spatial Control
Department of Computer Science, University of Toronto(多伦多大学计算机科学系);ModiFace Inc.(ModiFace公司);Department of Computer Science, University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校计算机科学系)
DPDEdit: Detail-Preserved Diffusion Models for Multimodal Fashion Image Editing
Shenzhen Technology University(深圳科技大学);University of Washington(华盛顿大学);Shenzhen Institute of Advanced Technology, Chinese Academy of Sciences(深圳先进技术研究院,中国科学院)