English

SP-Guard: Selective Prompt-adaptive Guidance for Safe Text-to-Image Generation

Computer Vision and Pattern Recognition 2025-11-17 v1 Computers and Society

Abstract

While diffusion-based T2I models have achieved remarkable image generation quality, they also enable easy creation of harmful content, raising social concerns and highlighting the need for safer generation. Existing inference-time guiding methods lack both adaptivity--adjusting guidance strength based on the prompt--and selectivity--targeting only unsafe regions of the image. Our method, SP-Guard, addresses these limitations by estimating prompt harmfulness and applying a selective guidance mask to guide only unsafe areas. Experiments show that SP-Guard generates safer images than existing methods while minimizing unintended content alteration. Beyond improving safety, our findings highlight the importance of transparency and controllability in image generation.

Keywords

Cite

@article{arxiv.2511.11014,
  title  = {SP-Guard: Selective Prompt-adaptive Guidance for Safe Text-to-Image Generation},
  author = {Sumin Yu and Taesup Moon},
  journal= {arXiv preprint arXiv:2511.11014},
  year   = {2025}
}

Comments

Accepted for presentation at TRUST-AI Workshop, ECAI 2025. Proceedings to appear in CEUR-WS

R2 v1 2026-07-01T07:36:59.933Z