Skip to content

SafeGuider: Robust and practical content safety control for text-to-image modelsSafeGuider: Robust and Practical Content Safety Control for Text-to-Image Models

arXiv· arXiv:2510.05173· ACM CCS 2025· Peigui Qi, Kunsheng Tang, Wenbo Zhou, Weiming Zhang, Nenghai Yu, Tianwei Zhang, Qing Guo, Jie Zhang·Indexed by this site · 24 days ago· Originally publishedDefenses
AI summary

SafeGuider provides content safety control for text-to-image models, with an attack success rate of at most 5.48% across multiple attack scenarios. The framework combines an embedding-layer recognition model with a safety-aware feature erasure beam search algorithm, based on the property that the [EOS] token in the Stable Diffusion text encoder distinguishes benign from adversarial prompts. It does not refuse unsafe prompts or output black images; instead, it generates safe and meaningful images, and can be extended to other text-to-image models such as Flux.

Read originalACM CCS 2025