mlsanityData to 14 Oct 2026

Espresso: Robust Concept Filtering in Text-to-Image Models

arXiv 2404.19227 ↗First posted 30 Apr 2024cs.CV cs.CRcited by 14

On the map: Diffusion models → Robustness, privacy and adversarial aspects

Abstract (arXiv)

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.

Key facts. Cited by 14 papers in the map (data through 14 Oct 2026). Placed in Robustness, privacy and adversarial aspects, one of 14 directions in Diffusion models. Builds on 48 of its 74 references that are in the map. First posted on arXiv 30 Apr 2024.

Builds on

48 of 74 references.

Closest ancestors · 19

Same direction, newest first

  1. 2024Jailbreaking Prompt Attack: A Controllable Adversarial Attack against Diffusion Models2 Apr
  2. 2023All but One: Surgical Concept Erasing with Model Preservation in Text-to-Image Diffusion Models20 Dec
  3. 2023Receler: Reliable Concept Erasing of Text-to-Image Diffusion Models via Lightweight Erasers29 Nov
  4. 2023Ring-A-Bell! How Reliable are Concept Removal Methods for Diffusion Models?16 Oct
  5. 2023Prompting4Debugging: Red-Teaming Text-to-Image Diffusion Models by Finding Problematic Prompts12 Sep
  6. 2023DiffSmooth: Certifiably Robust Learning via Diffusion Models and Local Smoothing28 Aug
  7. 2023Unified Concept Editing in Diffusion Models25 Aug
  8. 2023Backdooring Textual Inversion for Concept Censorship21 Aug
  9. 2023Towards Safe Self-Distillation of Internet-Scale Text-to-Image Diffusion Models12 Jul
  10. 2023Unsafe Diffusion: On the Generation of Unsafe Images and Hateful Memes From Text-To-Image Models23 May
  11. 2023SneakyPrompt: Jailbreaking Text-to-image Generative Models20 May
  12. 2023Forget-Me-Not: Learning to Forget in Text-to-Image Diffusion Models30 Mar
7 more
  1. 2023Ablating Concepts in Text-to-Image Diffusion Models23 Mar
  2. 2023Erasing Concepts from Diffusion Models13 Mar
  3. 2023Extracting Training Data from Diffusion Models30 Jan
  4. 2022Safe Latent Diffusion: Mitigating Inappropriate Degeneration in Diffusion Models9 Nov
  5. 2022DensePure: Understanding Diffusion Models towards Adversarial Robustness1 Nov
  6. 2022Red-Teaming the Stable Diffusion Safety Filter3 Oct
  7. 2022(Certified!!) Adversarial Robustness for Free!21 Jun

Other references · 29

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  2. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
  3. 2014Microsoft COCO: Common Objects in Contextcited by 17,608
  4. 2018Representation Learning with Contrastive Predictive Codingcited by 7,777
  5. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,415
  6. 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,152
  7. 2021CLIPScore: A Reference-free Evaluation Metric for Image Captioningcited by 2,424
  8. 2022An Image is Worth One Word: Personalizing Text-to-Image Generation using Textual Inversioncited by 2,245
  9. 2019Theoretically Principled Trade-off between Robustness and Accuracycited by 1,517
  10. 2019Certified Adversarial Robustness via Randomized Smoothingcited by 1,340
  11. 2022Editing Models with Task Arithmeticcited by 1,120
  12. 2021DiffusionCLIP: Text-Guided Diffusion Models for Robust Image Manipulationcited by 642
17 more
  1. 2022Mind the Gap: Understanding the Modality Gap in Multi-modal Contrastive Representation Learningcited by 561
  2. 2022Diffusion Art or Digital Forgery? Investigating Data Replication in Diffusion Modelscited by 424
  3. 2023Hard Prompts Made Easy: Gradient-Based Discrete Optimization for Prompt Tuning and Discoverycited by 336
  4. 2023Selective Amnesia: A Continual Learning Approach to Forgetting in Deep Generative Modelscited by 177
  5. 2021StyleGAN-NADA: CLIP-Guided Domain Adaptation of Image Generatorscited by 164
  6. 2021Poisoning and Backdooring Contrastive Learningcited by 151
  7. 2020SoK: Certified Robustness for Deep Neural Networkscited by 105
  8. 2023Circumventing Concept Erasure Methods For Text-to-Image Generative Modelscited by 85
  9. 2024GuardT2I: Defending Text-to-Image Models from Adversarial Promptscited by 62
  10. 2023Localizing and Editing Knowledge in Text-to-Image Generative Modelscited by 54
  11. 2017Enhancing Robustness of Machine Learning Systems via Data Transformationscited by 38
  12. 2021Sound-Guided Semantic Image Manipulationcited by 35
  13. 2023SurrogatePrompt: Bypassing the Safety Filter of Text-to-Image Models via Substitutioncited by 34
  14. 2023Robust Contrastive Language-Image Pre-training against Data Poisoning and Backdoor Attackscited by 31
  15. 2021Reading Isn't Believing: Adversarial Attacks On Multi-Modal Neuronscited by 29
  16. 2024Robust Concept Erasure Using Task Vectorscited by 27
  17. 2023Asymmetric Bias in Text-to-Image Generation with Adversarial Attackscited by 5

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 3; 2025: 7; 2026: 4.

14 papers.

Sort:

By area:

Similar, not cited

Close in wording, no citation either way

  1. 2025A Comprehensive Survey on Concept Erasure in Text-to-Image Diffusion Models
  2. 2025Semantic Surgery: Zero-Shot Concept Erasure in Diffusion Models
  3. 2024Reliable and Efficient Concept Erasure of Text-to-Image Diffusion Models
  4. 2026TEA: Text Encoder Alignment for Robust Concept Erasure in Text-to-Image Models
  5. 2026Erasing Thousands of Concepts: Towards Scalable and Practical Concept Erasure for Text-to-Image Diffusion Models
  6. 2024MACE: Mass Concept Erasure in Diffusion Models
  7. 2025Concept Corrector: Erase concepts on the fly for text-to-image diffusion models
  8. 2024Hiding and Recovering Knowledge in Text-to-Image Diffusion Models via Learnable Prompts