Conditioned Activation Transport for T2I Safety Steering
AI 摘要
提出CAT框架,通过条件激活传输,在保证图像质量的同时降低T2I模型生成不安全内容。
主要贡献
- 构建 SafeSteerDataset 对比数据集
- 提出基于几何的条件机制和非线性传输图的 CAT 框架
- 验证 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.