arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.24508cs.LGcs.CV
收藏

BEM:学习布雷格曼散度以在流匹配模型中实现概念擦除

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

ETH Zurich(苏黎世联邦理工学院)

Mohamed-Hicham Leghettas, Markus Püschel

AI总结:

该研究提出首个通过双层优化学习布雷格曼散度的BEM方法,用于在流匹配模型中擦除有害概念,在GEM评估下其对目标概念的移除效果优于GEM,同时能保留模型无关生成能力。

摘要:

概念擦除用于从文本到图像模型中移除有害、隐私或受版权保护的概念,同时保留模型的其他能力。FLUX和Stable Diffusion 3等主流模型采用流匹配进行训练,针对这些模型的擦除方法通常基于欧氏损失对模型进行微调,使其朝着引导教师的速度方向优化。然而,平方距离只是布雷格曼散度这一更大家族中的一员,流匹配正是在布雷格曼散度这类损失下才能恢复正确的速度场,且不同的布雷格曼散度对擦除内容和保留内容的影响各不相同。我们提出BEM(布雷格曼擦除匹配,Bregman Erasure Matching),据我们所知,这是首个通过双层优化学习该散度的方法,微调后的模型可在未见过的提示词上遗忘目标概念,同时其无关生成内容保持不变。实验中,我们针对裸体、暴力、真实身份和受版权保护的角色进行抑制,采用GEM评估协议,在多数设置下,BEM对目标概念的移除效果优于GEM,例如将血腥内容的不安全率从53.9%降至14.4%,裸体生成的FID从8.64降至6.64,同时在部分概念上的保留性能保持稳定,在另一些概念上则出现下降。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑