Keep It CALM: Analyzing the Limits of Global Unsafety in Text-to-Image Generation
cs.AI
Submitted: 2026-10-01
Updated: 2026-10-01
Comments: NeurIPS 2026
Code: https://github.com/nahyeonkaty/calm
License: http://creativecommons.org/licenses/by/4.0/
The gist: Training-free safeguards for text-to-image generation often rely on a reusable safety signal, such as an unsafe direction or global toxic subspace, applied broadly across prompts.
Abstract
Training-free safeguards for text-to-image generation often rely on a reusable safety signal, such as an unsafe direction or global toxic subspace, applied broadly across prompts. We provide a controlled geometric analysis of this global-unsafety assumption and reveal a consistent coverage-selectivity trade-off: compact unsafe subspaces fail to cover heterogeneous unsafe semantics, whereas broader aggregation increasingly distorts safety-adjacent benign prompts. Motivated by this finding, we propose CALM (Counterfactual Adaptive Local Modulation), a training-free safeguard that replaces uniform global removal with prompt-local counterfactual correction. Using matched unsafe-benign anchors, CALM routes each prompt to active unsafe categories, minimally edits only violating token representations toward the safe side, and suppresses positively aligned unsafe residual components. Across broad evaluation, CALM significantly improves unsafe content suppression while preserving benign utility, demonstrating that local counterfactual correction provides a more selective alternative to global unsafe signal removal.
Sources
- Qwen3-VL Technical Report
- Dynamic Optimization and Safety Indicator Injection for Jailbreaking Text-to-Image Models with Multimodal Safety Filters
- Prompting4Debugging: Red-Teaming Text-to-Image Diffusion Models by Finding Problematic Prompts
- Training-Free Safe Denoisers for Safe Use of Diffusion Models
- Safety-Guided Flow (SGF): A Unified Framework for Negative Guidance in Safe Generation
- AlignGuard: Scalable Safety Alignment for Text-to-Image Generation
- When Are Concepts Erased From Diffusion Models?
- Safety Pretraining: Toward the Next Generation of Safe AI
- Training-Free Safe Text Embedding Guidance for Text-to-Image Diffusion Models
- UPAM: Unified Prompt Attack in Text-to-Image Generation Models Against Both Textual Filters and Visual Checkers
- SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesis
- Red-Teaming the Stable Diffusion Safety Filter
- Gemma 3 Technical Report
- Ring-A-Bell! How Reliable are Concept Removal Methods for Diffusion Models?
- OmniGen2: Towards Instruction-Aligned Multimodal Generation
- When Safety Collides: Resolving Multi-Category Harmful Conflicts in Text-to-Image Diffusion via Adaptive Safety Guidance
- SANA: Efficient High-Resolution Image Synthesis with Linear Diffusion Transformers
- Semantic Surgery: Zero-Shot Concept Erasure in Diffusion Models
- SAFREE: Training-Free and Adaptive Guard for Safe Text-to-Image And Video Generation
- PromptGuard: Soft Prompt-Guided Unsafe Content Moderation for Text-to-Image Models
Related papers
- MAVEN-T: Reinforced Heterogeneous Distillation for Real-Time Multi-Agent Trajectory Prediction
- Model Discovery Agent: LLM-assisted Bayesian experiment design for data-efficient discovery of mechanistic world models
- Agents' Last Exam
- The Clinician's Veto: Navigating Trust, Liability, and Uncertainty in Autonomous AI Prescribing
- MindHelper: Closed-Loop Embodied Mental-State Reasoning for Precision Intervention
- Incumbent Advantage: Brand Bias and Cognitive Manipulation Dynamics in LLM Recommendation Systems