EntiRE: Invariant Learning for Robust Concept Erasure in Text-to-Image Generative Models
Fengyuan Yu, Yuyuan Li, XiaoHua Feng, Li Zhang, Jiaming Zhang, Xiang Liu, Jun Wang, Chaochao Chen
NeurIPS page · OpenReview · Open on the map
Category: Diffusion & Image Generation › Concept Erasure · Type: new method · Keywords: concept erasure, robustness, adversarial prompts, text-to-image, invariant learning, total variation
Areas: Safety & Security › Generative Model Integrity › Concept Erasure and Safety Steering; Continual Learning & Adaptation › Catastrophic Forgetting and Unlearning › Model Unlearning
Summary
EntiRE introduces an invariant learning framework that casts robust concept erasure as an out-of-distribution generalization problem, achieving uniform erasure across prompt space and outperforming baselines in robustness and utility.
Explained to a 5-year-old
Big computers can make pictures when you give them words. Sometimes they draw things they shouldn't, like scary images. We want them to stop drawing those bad pictures. We make the computer forget those pictures everywhere, so it can't sneak them back. Now the pictures are safer.
Explained to a 5-year-old, longer
Big computers can make pictures when you give them words. They look at many old pictures and learn what things look like. Sometimes they learn bad things, like pictures that are not okay. We want them to stop drawing those bad pictures. We look at how the computer thinks about words and see where it still knows the bad things. We find that some parts of the computer's thinking are harder to change. We make the computer forget the bad things evenly, so there are no hidden spots. This helps stop people from tricking the computer into drawing bad pictures again. The computer still knows how to draw good pictures, so it stays useful. We test it on many kinds of bad pictures, like naked bodies, art styles, and objects. It works better than the old ways. The new method is called EntiRE, but we just need to know it helps keep pictures safe. Overall, it makes text-to-image models safer and more reliable.
For a technical reader
EntiRE tackles the problem of concept leakage in text-to-image diffusion models by treating erasure as an out-of-distribution generalization task. It uses a total variation regularizer to enforce invariant text embeddings, reducing residual holes that adversarial prompts exploit. Experiments on nudity, artistic style, and object concepts show consistent gains in robustness and utility over prior baselines. The framework is end-to-end trainable and can be applied to any pre-trained model without extensive fine-tuning. This makes it practical for deploying safer generative AI in production systems.
Problem
Large text-to-image diffusion models can inadvertently generate harmful content, and existing concept erasure methods are vulnerable to adversarial prompts that recover erased concepts, necessitating more robust erasure techniques.
Method
The approach formulates robust concept erasure as an out-of-distribution generalization problem and regularizes the learning with total variation to enforce invariant representations across the continuous prompt space, thereby suppressing localized residual regions.
Results
EntiRE achieves superior robustness against adversarial prompts and better preservation of model utility compared to existing methods.
Contributions
The work visualizes embedding distributions to reveal non-uniform erasure difficulty, proposes an invariant learning formulation regularized by total variation for uniform erasure, and demonstrates consistent improvements across multiple concept types.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction