cs.LGOct 17, 2026

BEM: Learning Bregman Divergences for Concept Erasure in Flow Matching Models

Authors: Mohamed-Hicham Leghettas, Markus Püschel

Organizations: Department of Computer Science, ETH Zurich, Switzerland

Abstract

Concept erasure removes harmful, private, or copyrighted concepts from text-to-image models while preserving their other abilities. Leading models such as FLUX and Stable Diffusion 3 are trained with flow matching, and erasure methods for them fine-tune the model toward a guided teacher's velocities under a Euclidean loss. Yet the squared distance is only one member of a larger family: Bregman divergences are exactly the losses under which flow matching recovers the correct velocity field, and each member shapes differently what is erased and what is preserved. We introduce BEM (Bregman erasure matching), which is, to our knowledge, the first to learn this divergence through bi-level optimization, so that the fine-tuned model forgets the concept on unseen prompts while its unrelated generations stay unchanged. In the experiments we target the suppression of nudity, violence, real identities, and copyrighted characters. Under the evaluation protocol of GEM, BEM removes more of the concept than GEM on most settings, cutting the unsafe rate on bloody gore from 53.9% to 14.4% and the FID on nudity from 8.64 to 6.64, while retention holds on some concepts and degrades on others.

Figures & tables

Appendix figures & tables15 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. FlowErase-RL: Rethinking Concept Erasure as Reward Optimization in Flow Matching Models

    May 19, 2026Yi Sun, Zhiqi Zhang, Xinhao Zhong +5Flow MatchingT2I Generation

  2. FlowErase-OPD: Multi-Concept Erasure via Anchored On-Policy Distillation in Flow Matching Models

    Aug 7, 2026Yi Sun, Yimin Zhou, Xinhao Zhong +3Flow MatchingDiffusion Model Unlearning

  3. Geometric Erasure by Contrastive Velocity Matching in Rectified Flows

    May 29, 2026Jonas Henry Grebe, Tobias Braun, Anna Rohrbach +1Contrastive Flow MatchingRectified Flow