FlowErase-RL:将概念擦除重新思考为流匹配模型中的奖励优化
FlowErase-RL: Rethinking Concept Erasure as Reward Optimization in Flow Matching Models
AI总结:
提出FlowErase-RL,首个基于GRPO的框架,通过动态双路径奖励机制将概念擦除转化为奖励优化问题,在抑制目标概念的同时保持生成保真度,实现最先进的擦除性能与鲁棒性。
摘要:
近期流匹配模型的进展显著提升了文本到图像生成的质量,但也因生成有害或不良内容而引入了日益增长的安全风险。现有的概念擦除方法要么是推理时干预,效果有限;要么依赖监督微调(SFT),后者需要精确对齐的数据,且在可扩展性和多概念场景中面临挑战。本文提出\emph{FlowErase-RL},首个基于GRPO的流匹配模型概念擦除框架。我们将概念擦除重新表述为奖励优化问题,并引入 extbf{动态双路径奖励机制},联合优化(i)概念擦除(CE)奖励以抑制目标概念,以及(ii)非目标空间(NS)奖励以保持生成保真度。通过性能驱动的切换策略,在训练过程中自适应平衡两条奖励路径,无需显式监督即可实现稳定优化。在裸体、物体和艺术风格擦除上的大量实验表明,我们的方法在保持强大图像质量和语义对齐的同时,实现了最先进的擦除性能。此外,它对对抗攻击表现出鲁棒抵抗性,并能有效扩展到多概念场景。我们的结果为流匹配模型中的安全可控生成建立了新范式。
英文摘要:
Recent advances in flow matching models have significantly improved text-to-image generation quality, but also introduce growing safety risks due to the generation of harmful or undesirable content. Existing concept erasure methods are either inference-time interventions with limited effectiveness or rely on supervised fine-tuning (SFT), which requires precisely aligned data and struggles with scalability and multi-concept settings. In this paper, we propose \emph{FlowErase-RL}, the first GRPO-based framework for concept erasure in flow matching models. We reformulate concept erasure as a reward optimization problem and introduce a \textbf{dynamic dual-path reward mechanism} that jointly optimizes (i) a Concept Erasure (CE) reward to suppress target concepts and (ii) a Non-target Space (NS) reward to preserve generative fidelity. The two reward paths are adaptively balanced during training via a performance-driven switching strategy, enabling stable optimization without explicit supervision. Extensive experiments on nudity, object, and artistic style erasure demonstrate that our method achieves state-of-the-art erasure performance while maintaining strong image quality and semantic alignment. Moreover, it exhibits robust resistance to adversarial attacks and scales effectively to multi-concept scenarios. Our results establish a new paradigm for safe and controllable generation in flow matching models.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。