When Scene Text Hijacks the Scene: Uncovering, Exploiting, and Mitigating Rendered-Text Semantic Leakage in Image Generation Models
cs.CV
Submitted: 2026-10-08
Updated: 2026-10-08
Comments: To appear in the 2027 IEEE Symposium on Security and Privacy (IEEE S&P 2027)
Code: https://github.com/llffff/rendertext
License: http://creativecommons.org/licenses/by/4.0/
The gist: The reliability and accountability of image generative models (IGMs) are essential for building responsible and trustworthy AI systems.
Terminology
Abstract
The reliability and accountability of image generative models (IGMs) are essential for building responsible and trustworthy AI systems. Recent IGMs, such as Nano Banana and GPT-Image, now support complex instruction following, realistic image synthesis, and controllable scene-text rendering. As these capabilities expand, safety analysis must also account for new control channels introduced by complex prompts. In this work, we study rendered-text semantic leakage, a largely overlooked phenomenon in open-domain text rendering. Although rendered text is intended to serve as a local visual constraint that should be reproduced verbatim in the generated image, it also carries linguistic semantics that may be interpreted by the model as part of the input instruction. This makes rendered text a potential semantic control channel whose safety implications remain insufficiently understood. We systematically characterize this phenomenon by decoupling the main visual prompt from the rendered text and measuring their individual and compositional effects on generated images. We quantify semantic leakage and rendering fidelity, and further analyze how leakage emerges from intermediate model evidence. We then show that harmful semantics embedded in scene text can persist through LLM-based prompt enhancement pipelines and steer non-text image regions, even when the main visual prompt remains benign. Finally, we propose a preliminary mitigation approach that reduces unsafe semantic transfer from rendered text to non-text regions while preserving the intended text-rendering behavior on FLUX-2-dev. Our findings reveal rendered text as a dual-use carrier of visible data and latent semantics, exposing a text-centric cross-modal attack surface in modern IGMs.
Sources
- Z-Image: An Efficient Image Generation Foundation Model with Single-Stream Diffusion Transformer
- Janus-Pro: Unified Multimodal Understanding and Generation with Data and Model Scaling
- Emerging Properties in Unified Multimodal Pretraining
- PP-OCR: A Practical Ultra Lightweight OCR System
- ConceptAttention: Diffusion Transformers Learn Highly Interpretable Features
- LlavaGuard: An Open VLM-based Framework for Safeguarding Vision Datasets and Models
- Llama Guard: LLM-based Input-Output Safeguard for Human-AI Conversations
- Image Can Bring Your Memory Back: A Novel Multi-Modal Guided Attack against Image Generation Model Unlearning
- SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesis
- UnsafeBench: Benchmarking Image Safety Classifiers on Real-World and AI-Generated Images
- Hierarchical Text-Conditional Image Generation with CLIP Latents
- LongCat-Image Technical Report
- Qwen2-VL: Enhancing Vision-Language Model's Perception of the World at Any Resolution
- Qwen-Image Technical Report
- Seeing Is No Longer Believing: Frontier Image Generation Models, Synthetic Visual Evidence, and Real-World Risk
- OCRGenBench: A Comprehensive Benchmark for Evaluating OCR Generative Capabilities
- When Memory Becomes a Vulnerability: Towards Multi-turn Jailbreak Attacks against Text-to-Image Generation Systems
Related papers
- Loss Knows Best: Detecting Annotation Errors in Videos via Loss Trajectories
- AnchorWeave: World-Consistent Video Generation with Retrieved Local Spatial Memories
- Benchmarking the Robustness of Foundation Models for Mammography under Domain Shift
- MambaX-Net: Dual-Input Mamba-Enhanced Cross-Attention Network for Longitudinal MRI Segmentation
- TeleOCR: Navigating Document Parsing Across Digital and Camera-Captured Documents
- A Survey on Efficient Vision-Language-Action Models