Lune

ICML2025Top-tier venue

EraseAnything: Enabling Concept Erasure in Rectified Flow Transformers

Daiheng Gao, Shilin Lu, Wenbo Zhou, Jiaming Chu, Jie Zhang, Mengxi Jia, Bang Zhang, Zhaoxin Fan, Weiming Zhang

Abstract

Removing unwanted concepts from large-scale text-to-image (T2I) diffusion models while maintaining their overall generative quality remains an open challenge. This difficulty is especially pronounced in emerging paradigms, such as Stable Diffusion (SD) v3 and Flux, which incorporate flow matching and transformer-based architectures. These advancements limit the transferability of existing concept-erasure techniques that were originally designed for the previous T2I paradigm (e.g., SD v1.4). In this work, we introduce EraseAnything, the first method specifically developed to address concept erasure within the latest flow-based T2I framework. We formulate concept erasure as a bi-level optimization problem, employing LoRA-based parameter tuning and an attention map regularizer to selectively suppress undesirable activations. Furthermore, we propose a self-contrastive learning strategy to ensure that removing unwanted concepts does not inadvertently harm performance on unrelated ones. Experimental results demonstrate that EraseAnything successfully fills the research gap left by earlier methods in this new T2I paradigm, achieving SOTA performance across a wide range of concept erasure tasks.

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.

42 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • High-Resolution Image Synthesis with Latent Diffusion Models cites Zero-Shot Text-to-Image Generation
  • High-Resolution Image Synthesis with Latent Diffusion Models cites Denoising Diffusion Probabilistic Models
  • High-Resolution Image Synthesis with Latent Diffusion Models cites Denoising Diffusion Implicit Models
  • UltraHR-100K: Enhancing UHR Image Synthesis with A Large-Scale High-Quality Dataset cites High-Resolution Image Synthesis with Latent Diffusion Models
  • UltraHR-100K: Enhancing UHR Image Synthesis with A Large-Scale High-Quality Dataset cites DragFlow: Unleashing DiT Priors with Region-Based Supervision for Drag Editing
  • DragFlow: Unleashing DiT Priors with Region-Based Supervision for Drag Editing cites UltraHR-100K: Enhancing UHR Image Synthesis with A Large-Scale High-Quality Dataset
  • UltraHR-100K: Enhancing UHR Image Synthesis with A Large-Scale High-Quality Dataset cites Does FLUX Already Know How to Perform Physically Plausible Image Composition?
  • Does FLUX Already Know How to Perform Physically Plausible Image Composition? cites UltraHR-100K: Enhancing UHR Image Synthesis with A Large-Scale High-Quality Dataset
  • UltraHR-100K: Enhancing UHR Image Synthesis with A Large-Scale High-Quality Dataset cites Denoising Diffusion Probabilistic Models
  • DragFlow: Unleashing DiT Priors with Region-Based Supervision for Drag Editing cites High-Resolution Image Synthesis with Latent Diffusion Models
  • DragFlow: Unleashing DiT Priors with Region-Based Supervision for Drag Editing cites Denoising Diffusion Implicit Models
  • Does FLUX Already Know How to Perform Physically Plausible Image Composition? cites DragFlow: Unleashing DiT Priors with Region-Based Supervision for Drag Editing
  • Does FLUX Already Know How to Perform Physically Plausible Image Composition? cites Learning Transferable Visual Models From Natural Language Supervision
  • Does FLUX Already Know How to Perform Physically Plausible Image Composition? cites Denoising Diffusion Implicit Models
  • GestureLSM: Latent Shortcut Based Co-Speech Gesture Generation with Spatial-Temporal Modeling cites Denoising Diffusion Probabilistic Models
  • Zero-Shot Text-to-Image Generation cites Learning Transferable Visual Models From Natural Language Supervision
  • Denoising Diffusion Implicit Models cites Denoising Diffusion Probabilistic Models
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers42

  1. GestureLSM: Latent Shortcut Based Co-Speech Gesture Generation with Spatial-Temporal ModelingPinxin Liu, Luchuan Song, Junhua Huang, Haiyang Liu et al.ICCV 2025 · 54 citations
  2. Decoupled Spatio-Temporal Consistency Learning for Self-Supervised TrackingYaozong Zheng, Bineng Zhong, Qihua Liang, Ning Li et al.AAAI 2025 · 41 citations
  3. Does FLUX Already Know How to Perform Physically Plausible Image Composition?Shilin Lu, Zhuming Lian, Zihan Zhou, Shaocong Zhang et al.ICLR 2026 · 34 citations
  4. DragFlow: Unleashing DiT Priors with Region-Based Supervision for Drag EditingZihan Zhou, Shilin Lu, Shuli Leng, Shaocong Zhang et al.ICLR 2026 · 33 citations
  5. UltraHR-100K: Enhancing UHR Image Synthesis with A Large-Scale High-Quality DatasetChen Zhao, En Ci, Yunzhe Xu, Tiehan Fan et al.NeurIPS 2025 · 24 citations

Builds on24

  1. Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
  2. Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 citations
  3. High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser et al.CVPR 2022 · 13,123 citations
  4. Denoising Diffusion Implicit ModelsJiaming Song, Chenlin Meng, Stefano ErmonICLR 2021 · 11,743 citations
  5. Zero-Shot Text-to-Image GenerationAditya Ramesh, Mikhail Pavlov, Gabriel Goh, Scott Gray et al.ICML 2021 · 6,356 citations

Related papers

  1. Closed-Form Concept Erasure via Double ProjectionsChi Zhang, Jingpu Cheng, Zhixian Wang, Ping LiuCVPR 2026 · 5 citations
  2. Erased, But Not Forgotten: Erased Rectified Flow Transformers Still Remain Unsafe Under Concept AttackNanxiang Jiang, Zhaoxin Fan, Enhan Kang, Daiheng Gao, Yun Zhou, Yanxia Chang, Zheng Zhu, Yeying Jin, Wenjun WuCVPR Findings 2026
  3. Z-Erase: Enabling Concept Erasure in Single Stream Diffusion TransformersNanxiang Jiang, Zhaoxin Fan, Baisen Wang, Daiheng Gao et al.ICML 2026 · 2 citations
  4. MACE: Mass Concept Erasure in Diffusion ModelsShilin Lu, Zilan Wang, Leyang Li, Yanzhu Liu et al.CVPR 2024 · 40 citations
  5. EraseFlow: Learning Concept Erasure Policies via GFlowNet-Driven AlignmentNaga Sai Abhiram Kusumba, Maitreya Patel, Kyle Min, Changhoon Kim et al.NeurIPS 2025 · 10 citations
Dusk over the sea between two cliffs drawn in fine vertical lines