Espresso:文本到图像模型中的鲁棒概念过滤
Espresso: Robust Concept Filtering in Text-to-Image Models
AI总结:
Espresso提出首个基于CLIP的鲁棒概念过滤器,通过分离不可接受与可接受概念的文本嵌入,在保持效用的同时有效且鲁棒地防止生成不安全或侵权图像。
摘要:
基于扩散的文本到图像模型在从互联网抓取的大型数据集上进行训练,这些数据集可能包含不可接受的概念(例如,侵犯版权或不安全的内容)。我们需要概念移除技术(CRTs),这些技术需要具备以下特点:i)有效防止生成具有不可接受概念的图像,ii)在可接受概念上保持效用,以及iii)对使用对抗性提示的规避行为具有鲁棒性。没有先前的CRT能同时满足所有这些要求。我们引入了Espresso,这是第一个基于对比语言-图像预训练(CLIP)的鲁棒概念过滤器。我们通过使用生成图像的嵌入与不可接受和可接受概念的文本嵌入之间的距离来识别不可接受的概念。这使得我们能够通过分离不可接受和可接受概念的文本嵌入来微调鲁棒性,同时保持效用。我们提出了一个评估各种CRT的流程,以表明Espresso比先前的CRT更有效、更鲁棒,同时保持效用。
英文摘要:
Diffusion based text-to-image models are trained on large datasets scraped from the Internet, potentially containing unacceptable concepts (e.g., copyright-infringing or unsafe). We need concept removal techniques (CRTs) which are i) effective in preventing the generation of images with unacceptable concepts, ii) utility-preserving on acceptable concepts, and, iii) robust against evasion with adversarial prompts. No prior CRT satisfies all these requirements simultaneously. We introduce Espresso, the first robust concept filter based on Contrastive Language-Image Pre-Training (CLIP). We identify unacceptable concepts by using the distance between the embedding of a generated image to the text embeddings of both unacceptable and acceptable concepts. This lets us fine-tune for robustness by separating the text embeddings of unacceptable and acceptable concepts while preserving utility. We present a pipeline to evaluate various CRTs to show that Espresso is more effective and robust than prior CRTs, while retaining utility.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。