ShieldCLIP: Selective Safety Alignment for Harmful Content Mitigation in Multimodal Foundation Models
On the map: LLM alignment / RLHF / preference optimisation → Safety alignment and jailbreak attacks
also in 1 more
Abstract (arXiv)
Multimodal encoders such as CLIP underlie many downstream systems, but their web-scale training data embed harmful associations that safety alignment must suppress without unnecessarily changing benign representations. Because ethical and practical constraints prevent collecting real unsafe content at scale, existing datasets pair safe real samples with generated counterparts, but label every generated sample unsafe, even when one modality is individually safe. To address this, we introduce ShieldCLIP, the first framework to condition safety alignment on the observed safety state of each modality rather than the origin of a sample, preserving safe content while redirecting only what is unsafe. We also introduce ViSUv2, a 195k-quadruplet dataset with independent per-modality safety labels across 578 concepts and 28 categories. Using these labels, ShieldCLIP defines a four-way conditional objective beyond pair-level supervision: safe content is anchored, unsafe modalities are redirected to their safe counterparts, mixed pairs update only the unsafe branch, and coherence is enforced when both are unsafe. We evaluate ShieldCLIP on cross-modal retrieval, text-to-image generation with Stable Diffusion v1.4 and SDXL, and image-to-text generation with LLaVA. Across these settings, ShieldCLIP consistently reduces harmful outputs over prior safety-aligned encoders and strong mitigation baselines, while preserving the utility of the original embedding space. Extensive ablation studies further show that both modality-specific supervision and the selective alignment objective contribute to these gains. Source code, trained models, and ViSUv2 (under a controlled-access protocol) will be made publicly available at https://aimagelab.github.io/ShieldCLIP/.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Safety alignment and jailbreak attacks, one of 10 directions in LLM alignment / RLHF / preference optimisation. Builds on 51 of its 62 references that are in the map. First posted on arXiv 30 Sep 2026.
Builds on
51 of 62 references.
References · 51
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
- 2014Microsoft COCO: Common Objects in Contextcited by 17,608
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
- 2023Visual Instruction Tuningcited by 7,869
- 2023Improved Baselines with Visual Instruction Tuningcited by 4,418
- 2023SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesiscited by 4,356
- 2024Scaling Rectified Flow Transformers for High-Resolution Image Synthesiscited by 4,181
- 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,152
- 2021On the Opportunities and Risks of Foundation Modelscited by 4,033
38 more
- 2022Red Teaming Language Models with Language Modelscited by 1,026
- 2023Erasing Concepts from Diffusion Modelscited by 539
- 2022Safe Latent Diffusion: Mitigating Inappropriate Degeneration in Diffusion Modelscited by 513
- 2023Unified Concept Editing in Diffusion Modelscited by 388
- 2023SalUn: Empowering Machine Unlearning via Gradient-based Weight Saliency in Both Image Classification and Generationcited by 386
- 2021Persistent Anti-Muslim Bias in Large Language Modelscited by 377
- 2021Multimodal datasets: misogyny, pornography, and malignant stereotypescited by 327
- 2023Ablating Concepts in Text-to-Image Diffusion Modelscited by 317
- 2022The Vendi Score: A Diversity Evaluation Metric for Machine Learningcited by 311
- 2024MACE: Mass Concept Erasure in Diffusion Modelscited by 307
- 2023MM-SafetyBench: A Benchmark for Safety Evaluation of Multimodal Large Language Modelscited by 274
- 2023Ring-A-Bell! How Reliable are Concept Removal Methods for Diffusion Models?cited by 250
- 2023MMA-Diffusion: MultiModal Attack on Diffusion Modelscited by 194
- 2023SneakyPrompt: Jailbreaking Text-to-image Generative Modelscited by 189
- 2023One-Dimensional Adapter to Rule Them All: Concepts, Diffusion Models and Erasing Applicationscited by 169
- 2023UniIR: Training and Benchmarking Universal Multimodal Information Retrieverscited by 166
- 2022Can Machines Help Us Answering Question 16 in Datasheets, and In Turn Reflecting on Inappropriate Content?cited by 155
- 2023Receler: Reliable Concept Erasing of Text-to-Image Diffusion Models via Lightweight Eraserscited by 120
- 2024Latent Guard: a Safety Framework for Text-to-image Generationcited by 71
- 2023Self-Discovering Interpretable Diffusion Latent Directions for Responsible Text-to-Image Generationcited by 69
- 2024SafeGen: Mitigating Sexually Explicit Content Generation in Text-to-Image Modelscited by 66
- 2024VLSBench: Unveiling Visual Leakage in Multimodal Safetycited by 63
- 2024UnsafeBench: Benchmarking Image Safety Classifiers on Real-World and AI-Generated Imagescited by 53
- 2024LlavaGuard: An Open VLM-based Framework for Safeguarding Vision Datasets and Modelscited by 52
- 2023Cross-Modal Retrieval: A Systematic Review of Methods and Future Directionscited by 40
- 2023ToViLaG: Your Visual-Language Generative Model is Also An Evildoercited by 27
- 2018Scene recognition with CNNs: objects, scales and dataset biascited by 18
- 2025PromptGuard: Soft Prompt-Guided Unsafe Content Moderation for Text-to-Image Modelscited by 17
- 2025Hyperbolic Safety-Aware Vision-Language Modelscited by 17
- 2024Safeguard Text-to-Image Diffusion Models with Human Feedback Inversioncited by 10
- 2025A Comprehensive Survey on Concept Erasure in Text-to-Image Diffusion Modelscited by 9
- 2025Mitigating Sexual Content Generation via Embedding Distortion in Text-conditioned Diffusion Modelscited by 7
- 2025SafeText: Safe Text-to-image Models via Aligning the Text Encodercited by 7
- 2025Improving LLM First-Token Predictions in Multiple-Choice Question Answering via Output Prefillingcited by 6
- 2026Neighbor-Aware Localized Concept Erasure in Text-to-Image Diffusion Modelscited by 4
- 2025SafeR-CLIP: Mitigating NSFW Content in Vision-Language Models While Preserving Pre-Trained Knowledgecited by 3
- 2025Rethinking Robust Adversarial Concept Erasure in Diffusion Modelscited by 1
- 2026Beyond Text Prompts: Precise Concept Erasure through Text-Image Collaborationcited by 1
50 most cited of 51 All 51 (JSON)
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025Zero-Shot Defense Against Toxic Images via Inherent Multimodal Alignment in LVLMs
- 2025SafeGRPO: Self-Rewarded Multimodal Safety Alignment via Rule-Governed Policy Optimization
- 2026Transfer Safety Awareness for Cross-Modal Safety Drift in Multimodal Large Language Models
- 2026CASA: Classification Augmented with Safety Attention for Robust Multimodal Alignment
- 2025SafeVid: Toward Safety Aligned Video Large Multimodal Models
- 2026Nemotron 3.5 Content Safety Moderator: A Compact Multimodal, Multilingual, and Reasoning Enabled Content Safety Moderator
- 2025Steering Multimodal Large Language Models Decoding for Context-Aware Safety
- 2025Do We Really Need Curated Malicious Data for Safety Alignment in Multi-modal Large Language Models?