LLM-Based Semantic Security Risk Assessment for T2I Models
With the rapid development of Text-to-Image (T2I) diffusion models [1], content safety has become a critical challenge. Existing filtering mechanisms relying on keyword matching are vulnerable to semantic obfuscation. To address this issue, this study proposes a semantic safety framework integrating LLM-based semantic obfuscation and a Proactive Semantic Restoration (PSR) defense mechanism. The proposed approach improves prompt stealthiness through semantic transformation while enabling deep semantic restoration for risk detection. Experiments conducted on Stable Diffusion 1.5, SDXL, and DALL·E 3 demonstrate the robustness of the framework in pornography and violence scenarios. Results show that the proposed method maintains effective semantic risk assessment performance under complex adversarial conditions. This work provides a practical framework for improving content safety in T2I systems.
Authors
- Jupeng Wang
- 郑申华
- Hao Chen (ORCID: https://orcid.org/0000-0003-3461-1638)
- Wang Xitong
- Hui Zhang
Institutions
- Tianjin Chengjian University (CN)
- Nankai University (CN)
Publication Details
- Journal
- Research Square
- Published
- 2026-12-02
- DOI
- https://doi.org/10.21203/rs.3.rs-9659668/v1
- Primary Topic
- Adversarial Robustness in Machine Learning
- Type
- preprint