arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.36665cs.CVcs.CR
收藏

欲速则不达?面向安全的少步文本到图像模型

Haste Makes Waste? Towards Safe Few-Step Text-to-Image Models

Tel Aviv University(特拉维夫大学)

Lior Ziv, Mahmood Sharif

AI总结:

针对少步文本到图像模型速度快但不安全生成率高的问题,提出DICE方法,通过与蒸馏方法对齐实现高效概念消除,在FLUX Schnell上大幅降低不安全生成率并保留生成质量。

摘要:

尽管少步蒸馏文本到图像模型因生成速度快而受到关注,但其加速对不安全生成率的影响仍未知。我们发现速度与安全之间存在固有矛盾:少步模型通常比其教师模型更不安全,且减少推理步骤会持续提高不安全生成率。我们进一步发现,加速会使不安全概念在少步模型中更难被消除,现有概念消除方法的效果明显弱于在教师模型中的效果。我们对概念消除方法在少步模型上失效的原因进行了机制分析,发现少步模型生成过程的脆弱性以及生成引导通常被蒸馏到这些模型中的方式,可能会阻碍已有的概念消除方法。为解决速度-安全权衡问题,我们提出DICE(Distillation-Integrated Concept Erasure,蒸馏集成概念消除),这是一种专为少步模型设计的后蒸馏消除方法。DICE将其潜在构造和生成保留损失与生成该模型的蒸馏方法对齐,使消除过程忠实于少步模型。DICE在我们的评估中表现出强劲效果,例如在FLUX Schnell上,DICE将不安全生成率降至0.046(相比之下,我们测试的现有消除方法的不安全生成率至少为0.161),同时基本保留了良性生成质量。

英文摘要:

While few-step distilled text-to-image models have gained traction due to their fast generation times, the speed-up implications on their unsafe generation rates remain unknown. We uncover an inherent tension between speed and safety: few-step models are often more unsafe than their teachers, and reducing the number of inference steps consistently raises unsafe generation rates. We further find that acceleration makes unsafe concepts harder to erase in few-step models, with existing concept-erasure methods markedly less effective than in teachers. We offer a mechanistic diagnosis for why erasure methods fail on few-step models, finding that the fragility of few-step models' generation process and the way generation guidance is usually distilled into those models may hinder established concept-erasure methods. To address the speed-safety trade-off, we propose DICE (Distillation-Integrated Concept Erasure), a post-distillation erasure method tailored for few-step models. DICE aligns both its latent construction and its generation-preservation loss with the distillation method that produced the model, keeping erasure faithful to few-step models. DICE demonstrates strong results in our evaluation. For example, on FLUX Schnell, DICE reduces unsafe-generation rate to 0.046 (vs. at least 0.161 for prior erasure methods we test), while mostly preserving benign generation quality.

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

↑