TEA: Text Encoder Alignment for Robust Concept Erasure in Text-to-Image Models
On the map: Diffusion models → Robustness, privacy and adversarial aspects
also in 1 more
Abstract (arXiv)
Text-to-image diffusion models can be misused to generate harmful content through adversarial or paraphrased prompts that bypass built-in safety mechanisms. Existing concept erasure methods often suffer from limited robustness against adversarial prompts, degradation of benign generation quality, or reliance on inference-time interventions that introduce persistent computational overhead. To address these limitations, we formulate concept erasure as a domain alignment problem in the text representation space. We propose a lightweight Text Encoder Alignment framework (TEA) that fine-tunes only the text encoder while keeping the generative backbone fully frozen. Given concept--anchor prompt pairs, our method trains a discriminator to distinguish token-level representations of concept-containing prompts from those of safe anchor prompts, while updating the text encoder to make these representations indistinguishable. TEA introduces zero inference-time overhead and requires only a small number of fine-tuning steps, making it highly efficient to deploy at scale. Despite this efficiency, TEA achieves state-of-the-art erasure robustness against black-box and white-box adversarial attacks on Stable Diffusion v1.4, while preserving generation quality on benign prompts. Furthermore, TEA is model-agnostic and achieves the lowest attack success rate on Stable Diffusion v3.5, extending concept erasure to a Rectified Flow Transformer architecture with T5 conditioning where prior methods remain largely unexplored. Code is available at hrefhttps://github.com/alirezafarashah/TEA.githttps://github.com/alirezafarashah/TEA.git
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Robustness, privacy and adversarial aspects, one of 14 directions in Diffusion models. Builds on 38 of its 44 references that are in the map. First posted on arXiv 15 Aug 2026.
Builds on
38 of 44 references.
Closest ancestors · 23
Same direction, newest first
- 2026Neighbor-Aware Localized Concept Erasure in Text-to-Image Diffusion Models27 Mar
- 2025CURE: Concept Unlearning via Orthogonal Representation Editing in Diffusion Models19 May
- 2025Fine-Grained Erasure in Text-to-Image Diffusion-based Foundation Models25 Mar
- 2025Localized Concept Erasure for Text-to-Image Diffusion Models Using Training-Free Gated Low-Rank Adaptation16 Mar
- 2025Mitigating Sexual Content Generation via Embedding Distortion in Text-conditioned Diffusion Models31 Jan
- 2024Precise, Fast, and Low-cost Concept Erasure in Value Space: Orthogonal Complement Matters9 Dec
- 2024SAFREE: Training-Free and Adaptive Guard for Safe Text-to-Image And Video Generation16 Oct
- 2024RLCP: A Reinforcement Learning-based Copyright Protection Method for Text-to-Image Diffusion Model29 Aug
- 2024Reliable and Efficient Concept Erasure of Text-to-Image Diffusion Models17 Jul
- 2024Adversarial Attacks and Defenses on Text-to-Image Diffusion Models: A Survey10 Jul
- 2024Defensive Unlearning with Adversarial Training for Robust Concept Erasure in Diffusion Models24 May
- 2024MACE: Mass Concept Erasure in Diffusion Models10 Mar
11 more
- 2023One-Dimensional Adapter to Rule Them All: Concepts, Diffusion Models and Erasing Applications26 Dec
- 2023MMA-Diffusion: MultiModal Attack on Diffusion Models29 Nov
- 2023SalUn: Empowering Machine Unlearning via Gradient-based Weight Saliency in Both Image Classification and Generation19 Oct
- 2023To Generate or Not? Safety-Driven Unlearned Diffusion Models Are Still Easy To Generate Unsafe Images ... For Now18 Oct
- 2023Ring-A-Bell! How Reliable are Concept Removal Methods for Diffusion Models?16 Oct
- 2023Prompting4Debugging: Red-Teaming Text-to-Image Diffusion Models by Finding Problematic Prompts12 Sep
- 2023Unified Concept Editing in Diffusion Models25 Aug
- 2023SneakyPrompt: Jailbreaking Text-to-image Generative Models20 May
- 2023Erasing Concepts from Diffusion Models13 Mar
- 2022Safe Latent Diffusion: Mitigating Inappropriate Degeneration in Diffusion Models9 Nov
- 2022Red-Teaming the Stable Diffusion Safety Filter3 Oct
Other references · 15
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2020Denoising Diffusion Probabilistic Modelscited by 21,076
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2018The Unreasonable Effectiveness of Deep Features as a Perceptual Metriccited by 11,177
- 2022Classifier-Free Diffusion Guidancecited by 5,847
- 2024Scaling Rectified Flow Transformers for High-Resolution Image Synthesiscited by 4,181
- 2015Domain-Adversarial Training of Neural Networkscited by 3,044
- 2022InstructPix2Pix: Learning to Follow Image Editing Instructionscited by 2,611
- 2021CLIPScore: A Reference-free Evaluation Metric for Image Captioningcited by 2,424
- 2015Microsoft COCO Captions: Data Collection and Evaluation Servercited by 1,462
- 2023Localizing and Editing Knowledge in Text-to-Image Generative Modelscited by 54
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025Now You See It, Now You Don't - Instant Concept Erasure for Safe Text-to-Image and Video Generation
- 2025A Comprehensive Survey on Concept Erasure in Text-to-Image Diffusion Models
- 2025Rethinking the Vulnerability of Concept Erasure and a New Method
- 2026TILDE: TILt-based Distributional Erasure for Concept Unlearning
- 2025M-ErasureBench: A Comprehensive Multimodal Evaluation Benchmark for Concept Erasure in Diffusion Models
- 2023Text-To-Concept (and Back) via Cross-Model Alignment
- 2026Localized Concept Erasure in Text-to-Image Diffusion Models via High-Level Representation Misdirection
- 2024Espresso: Robust Concept Filtering in Text-to-Image Models