基于条件激活传输的T2I安全引导
Conditioned Activation Transport for T2I Safety Steering
AI总结:
本文提出条件激活传输框架,通过几何条件机制和非线性传输映射,有效减少T2I生成不安全内容的风险,提升图像生成的安全性与保真度。
摘要:
尽管具有出色的性能,当前的文本到图像(T2I)模型仍然容易生成不安全和有毒的内容。虽然激活引导提供了有前途的推理时间干预,但我们发现线性激活引导在应用于良性提示时经常会降级图像质量。为了解决这一权衡,我们首先构建了SafeSteerDataset,一个包含2300对安全和不安全提示的对比数据集,具有高余弦相似度。利用此数据,我们提出了条件激活传输(CAT),一个框架,该框架采用基于几何的条件机制和非线性传输映射。通过将传输映射条件化以仅在不安全激活区域激活,我们最小化了对良性查询的干扰。我们在两种最先进的架构上验证了我们的方法:Z-Image和Infinity。实验表明,CAT能够有效跨这些后端泛化,显著降低攻击成功率,同时与未引导生成相比保持图像保真度。警告:本文包含可能具有冒犯性文本和图像。
英文摘要:
Despite their impressive capabilities, current Text-to-Image (T2I) models remain prone to generating unsafe and toxic content. While activation steering offers a promising inference-time intervention, we observe that linear activation steering frequently degrades image quality when applied to benign prompts. To address this trade-off, we first construct SafeSteerDataset, a contrastive dataset containing 2300 safe and unsafe prompt pairs with high cosine similarity. Leveraging this data, we propose Conditioned Activation Transport (CAT), a framework that employs a geometry-based conditioning mechanism and nonlinear transport maps. By conditioning transport maps to activate only within unsafe activation regions, we minimize interference with benign queries. We validate our approach on two state-of-the-art architectures: Z-Image and Infinity. Experiments demonstrate that CAT generalizes effectively across these backbones, significantly reducing Attack Success Rate while maintaining image fidelity compared to unsteered generations. Warning: This paper contains potentially offensive text and images.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。