DuMo: Dual Encoder Modulation Network for Precise Concept Erasure
Feng Han, Kai Chen, Chao Gong, Zhipeng Wei, Jingjing Chen, Yu-Gang Jiang
Abstract
The exceptional generative capability of text-to-image models has raised substantial safety concerns regarding the generation of Not-Safe-For-Work (NSFW) content and potential copyright infringement. To address these concerns, previous methods safeguard the models by eliminating inappropriate concepts. Nonetheless, these models alter the parameters of the backbone network and exert considerable influences on the structural (low-frequency) components of the image, which undermines the model's ability to retain nontarget concepts. In this work, we propose our Dual encoder Modulation network (DuMo), which achieves precise erasure of inappropriate target concepts with minimum impairment to non-target concepts. In contrast to previous methods, DuMo employs the Eraser with PRior Knowledge (EPR) module which modifies the skip connection features of the U-NET and primarily achieves concept erasure on details (highfrequency) components of the image. To minimize the damage to non-target concepts during erasure, the parameters of the backbone U-NET are frozen and the prior knowledge from the original skip connection features is introduced to the erasure process. Meanwhile, the phenomenon is observed that distinct erasing preferences for the image structure and details are demonstrated by the EPR at different timesteps and layers. Therefore, we adopt a novel Time-Layer MOdulation process (TLMO) that adjusts the erasure scale of EPR module's outputs across different layers and timesteps, automatically balancing the erasure effects and model's generative ability. Our method achieves state-of-the-art performance on Explicit Content Erasure (detecting only 34 nude parts), Cartoon Concept Removal (with an average LPIPS da of 0.428, 0.113 higher than SOTA at 0.315), and Artistic Style Erasure (with an average LPIPS da of 0.387, 0.088 higher than SOTA at 0.299), clearly outperforming alternative methods. Code is available at https://github.com/Maplebb/DuMo
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
1 top-tier paper has cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Models cites Diffusion Models Beat GANs on Image Synthesis
- GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Models cites Learning Transferable Visual Models From Natural Language Supervision
- Set You Straight: Auto-Steering Denoising Trajectories to Sidestep Unwanted Concepts cites GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Models
- Set You Straight: Auto-Steering Denoising Trajectories to Sidestep Unwanted Concepts cites Learning Transferable Visual Models From Natural Language Supervision
- Set You Straight: Auto-Steering Denoising Trajectories to Sidestep Unwanted Concepts cites Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding
- Adding Conditional Control to Text-to-Image Diffusion Models cites GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Models
- Adding Conditional Control to Text-to-Image Diffusion Models cites Diffusion Models Beat GANs on Image Synthesis
- Adding Conditional Control to Text-to-Image Diffusion Models cites Learning Transferable Visual Models From Natural Language Supervision
- Adding Conditional Control to Text-to-Image Diffusion Models cites Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding
- Diffusion Models Beat GANs on Image Synthesis cites Learning Transferable Visual Models From Natural Language Supervision
- Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding cites GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Models
- Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding cites Diffusion Models Beat GANs on Image Synthesis
- Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding cites Learning Transferable Visual Models From Natural Language Supervision
Cited by top-tier papers1
Builds on16
- Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
- Diffusion Models Beat GANs on Image SynthesisPrafulla Dhariwal, Alexander Quinn NicholNeurIPS 2021 · 13,211 citations
- Photorealistic Text-to-Image Diffusion Models with Deep Language UnderstandingChitwan Saharia, William Chan, Saurabh Saxena, Lala Li et al.NeurIPS 2022 · 8,965 citations
- Adding Conditional Control to Text-to-Image Diffusion ModelsLvmin Zhang, Anyi Rao, Maneesh AgrawalaICCV 2023 · 6,759 citations
- GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion ModelsAlexander Quinn Nichol, Prafulla Dhariwal, Aditya Ramesh, Pranav Shyam et al.ICML 2022 · 4,691 citations
Related papers
- ICE: Intercede Concept Erasure in Text-to-Image Diffusion ModelsYizhou Lin, Nisha Huang, Kaer Huang, Henglin Liu et al.ACM MM 2025 · 1 citation
- Erasing Concepts from Diffusion ModelsRohit Gandikota, Joanna Materzynska, Jaden Fiotto-Kaufman, David BauICCV 2023 · 536 citations
- Concept Erasure via Attention RedirectionAmit Schechter, Rinon Gal, Ofir Kedem, Gal Chechik, Daniel Cohen-OrCVPR Findings 2026
- Localized Concept Erasure in Text-to-Image Diffusion Models via High-Level Representation MisdirectionUichan Lee, Jeonghyeon Kim, Sangheum HwangICLR 2026 · 3 citations
- Minimalist Concept Erasure in Generative ModelsYang Zhang, Er Jin, Yanfei Dong, Yixuan Wu et al.ICML 2025
