atlas

Research map / Image generation / Text-to-image diffusion

EraseAnything: Enabling Concept Erasure in Rectified Flow Transformers

ICML 2025 · Image generation › Text-to-image diffusion · approach: Concept erasure in diffusion models · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes EraseAnything, a bi-level LoRA-based concept erasure method for flow-matching transformer T2I models (Flux.1 [dev]), combining ESD-style erasure, attention-map suppression, and a reverse self-contrastive loss over LLM-proposed irrelevant concepts.

Problem

Concept erasure in T2I models is hard to transfer from SD v1.x U-Net diffusion models to flow-matching transformer models like Flux, where no explicit cross-attention exists and T5 word embeddings are poor for word-level similarity; erasure must also preserve unrelated concepts.

Approach

Formulate erasure as bi-level optimization: a lower level erases target concepts via ESD loss plus attention-index suppression on LoRA weights, and an upper level preserves irrelevant concepts using a reverse self-contrastive loss over synonym and LLM-sampled irrelevant-concept attention features, with shuffled prompts to avoid index overfitting.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Apply EraseAnything instead of UCEFlux.1 [dev] · I2PDetected nudity total: 173 -> 199Hurt
Apply EraseAnything instead of EAPFlux.1 [dev] · MS-COCO 10KFID: 22.30 -> 21.75Helped
Apply EraseAnything instead of Meta-UnlearningFlux.1 [dev] · MS-COCO 10KCLIP: 29.91 -> 30.24Helped
Apply EraseAnything instead of CAFlux.1 [dev] · Entity concept erasureAcc_e: 14.8 -> 12.5Helped
Apply EraseAnything instead of CAFlux.1 [dev] · Abstraction concept erasureAcc_e: 25.2 -> 21.1Helped
Apply EraseAnything instead of CAFlux.1 [dev] · Relationship concept erasureAcc_e: 22.7 -> 18.4Helped
Add L_attn to L_esd (ablation)EraseAnything on Flux.1 [dev] · CelebA celebrity erasureAcc_e: 20.5 -> 15.3Helped
Add L_attn to L_esd (ablation)EraseAnything on Flux.1 [dev] · CelebA celebrity erasureAcc_ir: 77.9 -> 82.1Hurt
Add L_rsc to L_esd (ablation)EraseAnything on Flux.1 [dev] · CelebA celebrity erasureAcc_ir: 77.9 -> 85.6Helped
Add L_esd to L_attn + L_lora + L_rsc (ablation)EraseAnything on Flux.1 [dev] · CelebA celebrity erasureAcc_ir: 80.2 -> 88.5Helped
Add L_esd to L_attn + L_lora + L_rsc (ablation)EraseAnything on Flux.1 [dev] · CelebA celebrity erasureAcc_e: 15.8 -> 14.9Helped

Surprising findings

Limitations

Experimental setup

Datasets: I2P MS-COCO 2017 val (10K captions) CelebA

Benchmarks: I2P MS-COCO 10K CelebA-based celebrity erasure

Metrics: NudeNet detections FID CLIP score classification accuracy Acc_e Acc_ir Acc_g user study scores

Baselines: CA ESD UCE MACE EAP Meta-Unlearning Real-Era

Builds on: ESD EAP UCE Flux.1 [dev] LoRA

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy