Keep It CALM: Analyzing the Limits of Global Unsafety in Text-to-Image Generation
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.
Create a lesson
Metadata
- Comments
- NeurIPS 2026
Related papers
Reproducible by Seed? Not on GPUs: Batch-Dependent Non-Determinism in Text-to-Image Models
Shared title terminologycs.AIJavier Conde, Xiuyuan Qi, Shanshan Liu et al.
Traversing the Satisfaction-Diversity Frontier in Text-to-Image Diffusion
Shared title terminologycs.AIKevin Zhai, Siva Rajesh Kasa, Soumya Roy et al.
Explainable Deep Learning for Malaria Parasite Detection and Species Differentiation in Thick Blood Smear Images: A Pilot Feasibility Study
Shared title terminologycs.AIHaimanot Bitew, Ayisheshim Almaw, Habtamu Zegeye et al.
GaokaoMathGen: Chinese Gaokao Mathematics Finale Problem Generation Controlled by Latent Reasoning Structures
Shared title terminologycs.AIQian Chen, Kun Zhu, Zhongyi Wang et al.
A Generative AI Agent to Emulate Interactive Human-driven Vehicles for Automated Driving Testing in Urban Areas
Shared title terminologycs.AIJia Hu, Changjian Yu, Panqu Wang et al.
Reproducing History Is Not Enough: Intervention-Level Assurance for LLM-Generated Simulators
Shared title terminologycs.AIAshraf Abdul-Muumin, Aniruddha Chattopadhyay, Noorbakhsh Golilarz et al.