arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2607.00402cs.CVcs.AIcs.LG
收藏

文本到图像扩散模型安全对齐中的高效用幻觉

The Illusion of High Utility in Safety Alignment of Text-to-Image Diffusion Models

Institute of Artificial Intelligence University of Central Florida(中佛罗里达大学人工智能研究所)

Adeel Yousaf, Soumik Ghosh, James Beetham, Amrit Singh Bedi, Mubarak Shah

AI总结:

揭示安全对齐方法在粗粒度指标上看似高效用,但在细粒度语义正确性上显著下降,提出结构感知几何正则化(SAGE)以恢复结构化效用。

摘要:

文本到图像(T2I)扩散模型的安全对齐旨在抑制有害生成,同时保持对良性提示的效用。近期方法通常表现出高安全性与高效用,但这一结论主要依赖于粗粒度的全局效用指标(如FID、CLIPScore),这些指标对细粒度语义正确性不敏感,从而造成了高效用的幻觉。我们表明,当使用结构化评估衡量效用时,这种幻觉被打破:在TIFA(基于问答的文本到图像忠实度评估)上,安全对齐模型在语义忠实度上遭受显著下降,包括对象计数、属性和关系上的失败。为了诊断这一差距的来源,我们分析了文本编码器的提示嵌入空间,并发现了语义坍缩,即嵌入分布的收缩伴随着提示间相似性结构的扭曲,这与结构化效用损失高度相关。受此洞察的指导,我们提出了结构感知几何正则化(SAGE),这是一种安全对齐目标,在适应过程中明确保留嵌入分布和提示间关系结构。我们的方法恢复了结构化效用(TIFA比先前最先进方法提高5.0%),同时保持了强大的安全性能和具有竞争力的粗粒度效用分数。我们的源代码和训练模型可在https://this URL获取。

英文摘要:

Safety alignment of text-to-image (T2I) diffusion models aims to suppress harmful generations while preserving utility on benign prompts. Recent methods often appear to deliver high safety with high utility, but this conclusion rests largely on coarse global utility metrics (e.g., FID, CLIPScore) that are insensitive to fine-grained semantic correctness, creating an illusion of high utility. We show that when utility is measured with structured evaluation, this illusion breaks: on TIFA (Text-to-Image Faithfulness evaluation with Question Answering), safety-aligned models suffer substantial drops in semantic fidelity, including failures in object counts, attributes, and relationships. To diagnose the source of this gap, we analyze the text-encoder prompt embedding space and uncover semantic collapse, a contraction of embedding spread coupled with distortion of inter-prompt similarity structure, which strongly correlates with structured utility loss. Guided by this insight, we propose StructureAware Geometric Regularization (SAGE), a safety alignment objective that explicitly preserves embedding spread and inter-prompt relational structure during adaptation. Our method restores structured utility (TIFA +5.0% over prior state-of-the-art) while maintaining strong safety performance and competitive coarse-grained utility scores. Our source code and trained models are available at https://adeelyousaf.github.io/SAGE_ECCV26_Project_Page/.

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

↑