M-ErasureBench: Multimodal Concept Erasure
- The paper introduces M-ErasureBench, a multimodal framework that benchmarks concept erasure across text prompts, learned embeddings, and latent inversion.
- It reveals that traditional methods may yield concept reproduction rates over 90% under adversarial scenarios, highlighting significant security gaps.
- The study presents IRECE, a plug‐and‐play module that reduces CRR by up to 57.8% in white‐box settings, thus enhancing inference-time robustness without retraining.
M-ErasureBench is a comprehensive multimodal evaluation framework for benchmarking concept erasure in text-to-image diffusion models. Developed by Weng et al., M-ErasureBench addresses the critical issue that existing concept erasure methods—originally designed to suppress unwanted or copyrighted concepts—are validated almost exclusively in the text-prompt setting, despite the widespread use of alternative inputs like learned embeddings and inverted latents in practical deployments. M-ErasureBench fills this methodological gap by systematically evaluating erasure performance across these modalities and attack scenarios, revealing significant vulnerabilities and introducing the IRECE module to enhance robustness at inference time (Weng et al., 28 Dec 2025).
1. Motivation and Scope of M-ErasureBench
The impetus behind M-ErasureBench is the observation that cross-attention finetuning-based erasure methods (such as ESD, UCE, and Receler) effectively suppress target concepts from standard text prompts—e.g., preventing generation when conditioned on “A photo of TARGET.” However, more sophisticated attacks leveraging learned embeddings (e.g., Textual Inversion) or inverted latents (e.g., DDIM inversion applied to real images) frequently circumvent existing defenses with high success rates. These attack surfaces are relevant in applications involving image editing, personalization, or unauthorized reproduction of protected content, necessitating a benchmark that systematically investigates concept erasure beyond text-only input.
2. Input Modalities and Evaluation Scenarios
M-ErasureBench rigorously evaluates concept erasure over three primary input modalities:
- Text Prompts: Direct conditioning via textual instructions.
- Learned Embeddings: Features obtained through Textual Inversion (TI) to encode visual concepts.
- Inverted Latents: Latent codes acquired via DDIM inversion from real-world or counterfactual images.
Each modality is assessed under five evaluation scenarios that reflect distinct adversarial capabilities:
| Modality | Scenario Description |
|---|---|
| Text Prompts | Standard prompt, possibly adversarial (Ring-A-Bell) |
| Learned Embeddings | TI: white-box, black-box, black-box+perturbation |
| Inverted Latents | DDIM inversion: white-box, black-box |
- White-box TI: Embeddings are learned directly on the erased model.
- Black-box TI: Embeddings learned on a separate, standard model then transferred.
- Black-box TI+perturbation: Embeddings learned after adding noise to the reference image.
- White-box Latent Inversion: DDIM inversion and sampling both performed on erased model.
- Black-box Latent Inversion: DDIM inversion performed only on standard model; sampling on erased.
3. Core Evaluation Metrics: Concept Reproduction Rate (CRR)
The principal metric employed by M-ErasureBench is the Concept Reproduction Rate (CRR), quantifying the fraction of generated images in which a pretrained object detector (GroundingDINO) identifies the target concept. Explicitly, for generated images ,
Lower CRR values indicate stronger concept removal. The detector is applied across all modalities and scenarios, enabling quantitative comparison of erasure robustness.
4. Experimental Findings Across Modalities
M-ErasureBench reveals stark contrasts in erasure effectiveness depending on input modality and attack scenario:
- Text Prompts:
- Baseline Stable Diffusion v1.4: CRR ≈ 96 %.
- ESD: 26.5 %, UCE: 18.5 %, Receler: 15.0 % (for “An image of TARGET”).
- Adversarial prompts (Ring-A-Bell): ESD/ UCE CRR jump to 66.7 %, 36.9 %, Receler remains robust at 14.8 %.
- Learned Embeddings:
- White-box TI: CRR ≈ 91.1 % (ESD), 90.4 % (UCE), 56.0 % (Receler).
- Black-box TI: CRR ≈ 41.2 % (ESD), 35.7 % (UCE), 12.4 % (Receler).
- Black-box TI+perturbation: CRR ≈ 74.0 % (ESD), 54.2 % (UCE), 15.1 % (Receler).
- Latent Inversion:
- White-box: All methods, CRR > 92 % (near-complete erasure failure).
- Black-box: ESD: 57.3 %, UCE: 95.2 %, Receler: 79.0 %.
These data demonstrate that concept erasure validated under text-prompt settings does not generalize: learned embeddings and inverted latents can robustly bypass state-of-the-art methods, with CRR exceeding 90 % under several attack vectors. This suggests a severe blind spot for current protective generative modeling practices.
5. IRECE: Inference-time Robustness Enhancement
To address multimodal vulnerabilities, Weng et al. introduce IRECE (Inference-time Robustness Enhancement for Concept Erasure), a plug-and-play module requiring no retraining. IRECE operates through four key steps:
- Concept Localization via Cross-attention: At a selected denoising step , the latent is fed to a standard (non-erased) diffusion model under the target prompt . Cross-attention maps are extracted per layer and aggregated:
- Mask Creation: A binary mask is defined by thresholding at :
- Local Latent Perturbation: The masked regions of are replaced by Gaussian noise :
- Resume Denoising: Sampling resumes with the erased model :
IRECE requires only a single forward pass on the standard model at , followed by masking and DDIM sampling on the erased model. Fine-tuning of model weights is not required.
6. Impact of IRECE and Practical Implications
Empirical results demonstrate that IRECE restores erasure robustness even under white-box latent-inversion with null prompts: CRR drops by up to 57.8 % (ESD), 52.2 % (Receler), and 40.5 % (UCE), with representative drops for ESD 92.9 % → 35.1 %, UCE 94.9 % → 54.4 %, and Receler 94.4 % → 42.2 %. In less challenging black-box settings, IRECE reduces CRR by over 20 % in most configurations. Qualitatively, it localizes and erases only the concept regions (e.g., an airplane), with plausible background infilling and preservation of visual coherence. Perceptual evaluation by human observers indicates that images outside the suppressed regions remain indistinguishable from references.
A plausible implication is that M-ErasureBench provides both a rigorous multimodal validation protocol and a practical mitigation (IRECE) for safeguarding generative models against persistent concept leakage across diverse attack surfaces. Developers of “forbidden category” or content-restricted diffusion systems are now equipped with a systematic toolchain for robust validation and inference-time protection, without refitting core model architectures (Weng et al., 28 Dec 2025).
7. Conclusions and Broader Significance
M-ErasureBench advances the field by establishing that text-prompt-centric concept erasure does not generalize to the heterogeneous interfaces encountered in real-world model deployment. By operationalizing three erasure algorithms across five modalities—including previously untested avenues such as learned embeddings and inverted latents—M-ErasureBench exposes the fragility of existing methods and the necessity of multimodal validation. The introduction of IRECE marks a paradigm shift in protective inference, leveraging spatial attention, targeted masking, and noise injection to dynamically suppress concept reproduction. The framework and methodology set by M-ErasureBench are poised to inform future research on robust, multimodal safe generative modeling.