Latent Guard: a Safety Framework for Text-to-image Generation
Not on the map. Why?
Cited by 29 in Diffusion models, but placed by its own abstract, which didn’t fit.
Abstract (arXiv)
With the ability to generate high-quality images, text-to-image (T2I) models can be exploited for creating inappropriate content. To prevent misuse, existing safety measures are either based on text blacklists, which can be easily circumvented, or harmful content classification, requiring large datasets for training and offering low flexibility. Hence, we propose Latent Guard, a framework designed to improve safety measures in text-to-image generation. Inspired by blacklist-based approaches, Latent Guard learns a latent space on top of the T2I model's text encoder, where it is possible to check the presence of harmful concepts in the input text embeddings. Our proposed framework is composed of a data generation pipeline specific to the task using large language models, ad-hoc architectural components, and a contrastive learning strategy to benefit from the generated data. The effectiveness of our method is verified on three datasets and against four baselines. Code and data will be shared at https://latentguard.github.io/.
Key facts. Cited by 68 papers in the map (data through 7 Oct 2026). Builds on 41 of its 54 references that are in the map. First posted on arXiv 11 Apr 2024.
Builds on
41 of 54 references.
References · 41
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2020Denoising Diffusion Probabilistic Modelscited by 20,851
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
- 2014Microsoft COCO: Common Objects in Contextcited by 17,498
- 2022Hierarchical Text-Conditional Image Generation with CLIP Latentscited by 6,539
- 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understandingcited by 6,322
- 2019BERTScore: Evaluating Text Generation with BERTcited by 5,462
- 2023SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesiscited by 4,290
- 2021Zero-Shot Text-to-Image Generationcited by 4,276
- 2021GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Modelscited by 3,595
29 more
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 2,914
- 2020Supervised Contrastive Learningcited by 2,803
- 2021CLIPScore: A Reference-free Evaluation Metric for Image Captioningcited by 2,388
- 2023Llama Guard: LLM-based Input-Output Safeguard for Human-AI Conversationscited by 1,124
- 2021Vector Quantized Diffusion Model for Text-to-Image Synthesiscited by 773
- 2023Erasing Concepts from Diffusion Modelscited by 530
- 2022Safe Latent Diffusion: Mitigating Inappropriate Degeneration in Diffusion Modelscited by 501
- 2022A Holistic Approach to Undesired Content Detection in the Real Worldcited by 337
- 2023Hard Prompts Made Easy: Gradient-Based Discrete Optimization for Prompt Tuning and Discoverycited by 329
- 2019DM-GAN: Dynamic Memory Generative Adversarial Networks for Text-to-Image Synthesiscited by 308
- 2023MM-SafetyBench: A Benchmark for Safety Evaluation of Multimodal Large Language Modelscited by 255
- 2023Ring-A-Bell! How Reliable are Concept Removal Methods for Diffusion Models?cited by 239
- 2023MMA-Diffusion: MultiModal Attack on Diffusion Modelscited by 184
- 2023SneakyPrompt: Jailbreaking Text-to-image Generative Modelscited by 175
- 2023Unsafe Diffusion: On the Generation of Unsafe Images and Hateful Memes From Text-To-Image Modelscited by 171
- 2023Prompting4Debugging: Red-Teaming Text-to-Image Diffusion Models by Finding Problematic Promptscited by 161
- 2022Can Machines Help Us Answering Question 16 in Datasheets, and In Turn Reflecting on Inappropriate Content?cited by 150
- 2021Between words and characters: A Brief History of Open-Vocabulary Modeling and Tokenization in NLPcited by 130
- 2023A Pilot Study of Query-Free Adversarial Attack against Stable Diffusioncited by 75
- 2023Self-Discovering Interpretable Diffusion Latent Directions for Responsible Text-to-Image Generationcited by 69
- 2024SynthCLIP: Are We Ready for a Fully Synthetic CLIP Training?cited by 64
- 2022Discovering the Hidden Vocabulary of DALLE-2cited by 42
- 2022Adversarial Attacks on Image Generation With Made-Up Wordscited by 29
- 2023Discovering Failure Modes of Text-guided Diffusion Models via Adversarial Searchcited by 25
- 2023IMMA: Immunizing text-to-image Models against Malicious Adaptationcited by 17
- 2023Safe-CLIP: Removing NSFW Concepts from Vision-and-Language Modelscited by 11
- 2024A Survey on Responsible Generative AI: What to Generate and What Notcited by 8
- 2023Distilling Adversarial Prompts from Safety Benchmarks: Report for the Adversarial Nibbler Challengecited by 6
- 2024Discovering Universal Semantic Triggers for Text-to-Image Synthesiscited by 3
Built on by
Citing papers per year: 2024: 17; 2025: 30; 2026: 21.
68 papers.
Sort:
By area:
- 2024SAFREE: Training-Free and Adaptive Guard for Safe Text-to-Image And Video Generationcited by 125
- 2024LLMs Meet Multimodal Generation and Editing: A Surveycited by 35
- 2024Adversarial Attacks and Defenses on Text-to-Image Diffusion Models: A Surveycited by 34
- 2024Jailbreak Attacks and Defenses against Multimodal Generative Models: A Surveycited by 31
- 2025ShieldGemma 2: Robust and Tractable Image Content Moderationcited by 27
- 2024How to Trace Latent Generative Model Generated Images without Artificial Watermark?cited by 25
- 2025CURE: Concept Unlearning via Orthogonal Representation Editing in Diffusion Modelscited by 24
- 2025Training-Free Safe Denoisers for Safe Use of Diffusion Modelscited by 19
- 2024AlignGuard: Scalable Safety Alignment for Text-to-Image Generationcited by 17
- 2025PromptGuard: Soft Prompt-Guided Unsafe Content Moderation for Text-to-Image Modelscited by 16
- 2025Concept Corrector: Erase concepts on the fly for text-to-image diffusion modelscited by 11
- 2024SteerDiff: Steering towards Safe Text-to-Image Diffusion Modelscited by 10
38 more
- 2024AdvI2I: Adversarial Image Attack on Image-to-Image Diffusion modelscited by 10
- 2025Erasing Concepts, Steering Generations: A Comprehensive Survey of Concept Suppressioncited by 10
- 2025A Comprehensive Survey on Concept Erasure in Text-to-Image Diffusion Modelscited by 9
- 2025Towards Resilient Safety-driven Unlearning for Diffusion Models against Downstream Fine-tuningcited by 8
- 2025PLA: Prompt Learning Attack against Text-to-Image Generative Modelscited by 8
- 2026Loop as a Bridge: Can Looped Transformers Truly Link Representation Space and Natural Language Outputs?cited by 8
- 2024Not Just Text: Uncovering Vision Modality Typographic Threats in Image Generation Modelscited by 7
- 2024AEIOU: A Unified Defense Framework against NSFW Prompts in Text-to-Image Modelscited by 7
- 2025Mitigating Sexual Content Generation via Embedding Distortion in Text-conditioned Diffusion Modelscited by 7
- 2025TarPro: Targeted Protection against Malicious Image Editingcited by 7
- 2025CRCE: Coreference-Retention Concept Erasure in Text-to-Image Diffusion Modelscited by 6
- 2025Training-Free Safe Text Embedding Guidance for Text-to-Image Diffusion Modelscited by 6
- 2025DeContext as Defense: Safe Image Editing in Diffusion Transformerscited by 6
- 2024Class-RAG: Real-Time Content Moderation with Retrieval Augmented Generationcited by 5
- 2024Towards Effective Discrimination Testing for Generative AIcited by 5
- 2025OVERT: A Benchmark for Over-Refusal Evaluation on Text-to-Image Modelscited by 5
- 2024Safe Text-to-Image Generation: Simply Sanitize the Prompt Embeddingcited by 4
- 2024Towards Action Hijacking of Large Language Model-based Agentcited by 4
- 2025EAR: Erasing Concepts from Unified Autoregressive Modelscited by 4
- 2026Neighbor-Aware Localized Concept Erasure in Text-to-Image Diffusion Modelscited by 4
- 2025Responsible Diffusion: A Comprehensive Survey on Safety, Ethics, and Trust in Diffusion Modelscited by 3
- 2025CGCE: Classifier-Guided Concept Erasure in Generative Modelscited by 3
- 2026Conditioned Activation Transport for T2I Safety Steeringcited by 3
- 2026On the Adversarial Robustness of Multimodal LLM Judgescited by 3
- 2025Beyond External Monitors: Enhancing Transparency of Large Language Models for Easier Monitoringcited by 2
- 2025A Systematic Review of Open Datasets Used in Text-to-Image (T2I) Gen AI Model Safetycited by 2
- 2025An h-space Based Adversarial Attack for Protection Against Few-shot Personalizationcited by 2
- 2025Multimodal Prompt Decoupling Attack on the Safety Filters in Text-to-Image Modelscited by 2
- 2025SafeEditor: Unified MLLM for Efficient Post-hoc T2I Safety Editingcited by 2
- 2025SPQR: A Multi-Dimensional Benchmark for Safety Alignment under Benign Model Adaptationcited by 2
- 2026ActErase: A Training-Free Paradigm for Precise Concept Erasure via Activation Redirectioncited by 2
- 2026Do Models Share Safety Representations? Cross-Model Steering for Safe Visual Generationcited by 2
- 2024Safety Without Semantic Disruptions: Editing-free Safe Image Generation via Context-preserving Dual Latent Reconstructioncited by 1
- 2024Red-Teaming Text-to-Image Models via In-Context Experience Replay and Semantic-Preserving Prompt Rewritingcited by 1
- 2025Safe Vision-Language Models via Unsafe Weights Manipulationcited by 1
- 2025Personalized Safety Alignment for Text-to-Image Diffusion Modelscited by 1
- 2026Harnessing Hyperbolic Geometry for Harmful Prompt Detection and Sanitizationcited by 1
- 2026FlowErase-RL: Rethinking Concept Erasure as Reward Optimization in Flow Matching Modelscited by 1
50 most cited of 68 All 68 (JSON)
- 2026ShieldCLIP: Selective Safety Alignment for Harmful Content Mitigation in Multimodal Foundation Models30 Sep 2026
- 2026Evaluating the Evaluators: Diagnosing Large Multimodal Models for AI-Generated Image Assessment29 Sep 2026
- 2026Harmfulness Propagation Dynamics: Layer-wise Trajectories of Adversarial Intent in Large Language Models11 Sep 2026
- 2026UniNDM: A Unified Noise-driven Detection and Mitigation Framework Against Sexual Content in Text-to-Image Generation18 Jul 2026
- 2026Introspective Attention Modulation for Safe Text-to-Image Generation16 Jul 2026
- 2026AEGIS: A Mechanism-Guided Defense against Visual Synonym Jailbreaks in Text-to-Image Models7 Jul 2026
- 2026The Illusion of High Utility in Safety Alignment of Text-to-Image Diffusion Models1 Jul 2026
- 2026Safe Autoregressive Image Generation with Iterative Self-Improving Codebooks25 Jun 2026
- 2026Pulling The REINS: Training-Free Safety Alignment of Video Diffusion Models via Representation Steering15 Jun 2026
- 2026On the Adversarial Robustness of Multimodal LLM Judges14 Jun 2026
- 2026Do Models Share Safety Representations? Cross-Model Steering for Safe Visual Generation3 Jun 2026
- 2026FlowErase-RL: Rethinking Concept Erasure as Reward Optimization in Flow Matching Models19 May 2026
38 more
- 2026Latent Space Probing for Adult Content Detection in Video Generative Models25 Apr 2026
- 2026Harnessing Hyperbolic Geometry for Harmful Prompt Detection and Sanitization7 Apr 2026
- 2026EDGE-Shield: Efficient Denoising-staGE Shield for Violative Content Filtering via Scalable Reference-Based Matching4 Apr 2026
- 2026Modular Energy Steering for Safe Text-to-Image Generation with Foundation Models2 Apr 2026
- 2026Neighbor-Aware Localized Concept Erasure in Text-to-Image Diffusion Models27 Mar 2026
- 2026Conditioned Activation Transport for T2I Safety Steering3 Mar 2026
- 2026SPOT: Selective Prompt Projection via Total Variation for Inference-Only Safe Text-to-Image Generation31 Jan 2026
- 2026Loop as a Bridge: Can Looped Transformers Truly Link Representation Space and Natural Language Outputs?15 Jan 2026
- 2026ActErase: A Training-Free Paradigm for Precise Concept Erasure via Activation Redirection1 Jan 2026
- 2025DeContext as Defense: Safe Image Editing in Diffusion Transformers18 Dec 2025
- 2025Metaphor-based Jailbreak Attacks on Text-to-Image Models6 Dec 2025
- 2025CAHS-Attack: CLIP-Aware Heuristic Search Attack Method for Stable Diffusion26 Nov 2025
- 2025SPQR: A Multi-Dimensional Benchmark for Safety Alignment under Benign Model Adaptation24 Nov 2025
- 2025SP-Guard: Selective Prompt-adaptive Guidance for Safe Text-to-Image Generation14 Nov 2025
- 2025CGCE: Classifier-Guided Concept Erasure in Generative Models8 Nov 2025
- 2025SafeEditor: Unified MLLM for Efficient Post-hoc T2I Safety Editing28 Oct 2025
- 2025Training-Free Safe Text Embedding Guidance for Text-to-Image Diffusion Models28 Oct 2025
- 2025Responsible Diffusion: A Comprehensive Survey on Safety, Ethics, and Trust in Diffusion Models25 Sep 2025
- 2025Multimodal Prompt Decoupling Attack on the Safety Filters in Text-to-Image Models21 Sep 2025
- 2025Personalized Safety Alignment for Text-to-Image Diffusion Models2 Aug 2025
- 2025An h-space Based Adversarial Attack for Protection Against Few-shot Personalization23 Jul 2025
- 2025Towards Resilient Safety-driven Unlearning for Diffusion Models against Downstream Fine-tuning22 Jul 2025
- 2025PLA: Prompt Learning Attack against Text-to-Image Generative Models14 Jul 2025
- 2025EAR: Erasing Concepts from Unified Autoregressive Models25 Jun 2025
- 2025OVERT: A Benchmark for Over-Refusal Evaluation on Text-to-Image Models27 May 2025
- 2025Erasing Concepts, Steering Generations: A Comprehensive Survey of Concept Suppression26 May 2025
- 2025CURE: Concept Unlearning via Orthogonal Representation Editing in Diffusion Models19 May 2025
- 2025ShieldGemma 2: Robust and Tractable Image Content Moderation1 Apr 2025
- 2025CRCE: Coreference-Retention Concept Erasure in Text-to-Image Diffusion Models18 Mar 2025
- 2025TarPro: Targeted Protection against Malicious Image Editing18 Mar 2025
- 2025Safe Vision-Language Models via Unsafe Weights Manipulation14 Mar 2025
- 2025A Systematic Review of Open Datasets Used in Text-to-Image (T2I) Gen AI Model Safety23 Feb 2025
- 2025Concept Corrector: Erase concepts on the fly for text-to-image diffusion models22 Feb 2025
- 2025A Comprehensive Survey on Concept Erasure in Text-to-Image Diffusion Models17 Feb 2025
- 2025Training-Free Safe Denoisers for Safe Use of Diffusion Models11 Feb 2025
- 2025Dual Caption Preference Optimization for Diffusion Models9 Feb 2025
- 2025Beyond External Monitors: Enhancing Transparency of Large Language Models for Easier Monitoring7 Feb 2025
- 2025Mitigating Sexual Content Generation via Embedding Distortion in Text-conditioned Diffusion Models31 Jan 2025
50 newest of 68 All 68 (JSON)
- 2024SAFREE: Training-Free and Adaptive Guard for Safe Text-to-Image And Video Generationcited by 125
- 2024Adversarial Attacks and Defenses on Text-to-Image Diffusion Models: A Surveycited by 34
- 2024How to Trace Latent Generative Model Generated Images without Artificial Watermark?cited by 25
- 2025CURE: Concept Unlearning via Orthogonal Representation Editing in Diffusion Modelscited by 24
- 2025Training-Free Safe Denoisers for Safe Use of Diffusion Modelscited by 19
- 2025Concept Corrector: Erase concepts on the fly for text-to-image diffusion modelscited by 11
- 2024SteerDiff: Steering towards Safe Text-to-Image Diffusion Modelscited by 10
- 2024AdvI2I: Adversarial Image Attack on Image-to-Image Diffusion modelscited by 10
- 2025A Comprehensive Survey on Concept Erasure in Text-to-Image Diffusion Modelscited by 9
- 2025Towards Resilient Safety-driven Unlearning for Diffusion Models against Downstream Fine-tuningcited by 8
- 2025Mitigating Sexual Content Generation via Embedding Distortion in Text-conditioned Diffusion Modelscited by 7
- 2025CRCE: Coreference-Retention Concept Erasure in Text-to-Image Diffusion Modelscited by 6
12 most cited of 29 All 29 (JSON)
- 2026UniNDM: A Unified Noise-driven Detection and Mitigation Framework Against Sexual Content in Text-to-Image Generation18 Jul 2026
- 2026AEGIS: A Mechanism-Guided Defense against Visual Synonym Jailbreaks in Text-to-Image Models7 Jul 2026
- 2026The Illusion of High Utility in Safety Alignment of Text-to-Image Diffusion Models1 Jul 2026
- 2026Pulling The REINS: Training-Free Safety Alignment of Video Diffusion Models via Representation Steering15 Jun 2026
- 2026FlowErase-RL: Rethinking Concept Erasure as Reward Optimization in Flow Matching Models19 May 2026
- 2026Neighbor-Aware Localized Concept Erasure in Text-to-Image Diffusion Models27 Mar 2026
- 2026SPOT: Selective Prompt Projection via Total Variation for Inference-Only Safe Text-to-Image Generation31 Jan 2026
- 2026ActErase: A Training-Free Paradigm for Precise Concept Erasure via Activation Redirection1 Jan 2026
- 2025DeContext as Defense: Safe Image Editing in Diffusion Transformers18 Dec 2025
- 2025CAHS-Attack: CLIP-Aware Heuristic Search Attack Method for Stable Diffusion26 Nov 2025
- 2025SPQR: A Multi-Dimensional Benchmark for Safety Alignment under Benign Model Adaptation24 Nov 2025
- 2025Training-Free Safe Text Embedding Guidance for Text-to-Image Diffusion Models28 Oct 2025
12 newest of 29 All 29 (JSON)
- 2024Jailbreak Attacks and Defenses against Multimodal Generative Models: A Surveycited by 31
- 2025PromptGuard: Soft Prompt-Guided Unsafe Content Moderation for Text-to-Image Modelscited by 16
- 2025PLA: Prompt Learning Attack against Text-to-Image Generative Modelscited by 8
- 2025OVERT: A Benchmark for Over-Refusal Evaluation on Text-to-Image Modelscited by 5
- 2025CGCE: Classifier-Guided Concept Erasure in Generative Modelscited by 3
- 2025Multimodal Prompt Decoupling Attack on the Safety Filters in Text-to-Image Modelscited by 2
- 2025SafeEditor: Unified MLLM for Efficient Post-hoc T2I Safety Editingcited by 2
- 2024Red-Teaming Text-to-Image Models via In-Context Experience Replay and Semantic-Preserving Prompt Rewritingcited by 1
- 2025SP-Guard: Selective Prompt-adaptive Guidance for Safe Text-to-Image Generationcited by 0
- 2025Metaphor-based Jailbreak Attacks on Text-to-Image Modelscited by 0
- 2026Harmfulness Propagation Dynamics: Layer-wise Trajectories of Adversarial Intent in Large Language Modelscited by 0
- 2026Harmfulness Propagation Dynamics: Layer-wise Trajectories of Adversarial Intent in Large Language Models11 Sep 2026
- 2025Metaphor-based Jailbreak Attacks on Text-to-Image Models6 Dec 2025
- 2025SP-Guard: Selective Prompt-adaptive Guidance for Safe Text-to-Image Generation14 Nov 2025
- 2025CGCE: Classifier-Guided Concept Erasure in Generative Models8 Nov 2025
- 2025SafeEditor: Unified MLLM for Efficient Post-hoc T2I Safety Editing28 Oct 2025
- 2025Multimodal Prompt Decoupling Attack on the Safety Filters in Text-to-Image Models21 Sep 2025
- 2025PLA: Prompt Learning Attack against Text-to-Image Generative Models14 Jul 2025
- 2025OVERT: A Benchmark for Over-Refusal Evaluation on Text-to-Image Models27 May 2025
- 2025PromptGuard: Soft Prompt-Guided Unsafe Content Moderation for Text-to-Image Models7 Jan 2025
- 2024Red-Teaming Text-to-Image Models via In-Context Experience Replay and Semantic-Preserving Prompt Rewriting25 Nov 2024
- 2024Jailbreak Attacks and Defenses against Multimodal Generative Models: A Survey14 Nov 2024
- 2026On the Adversarial Robustness of Multimodal LLM Judgescited by 3
- 2025Safe Vision-Language Models via Unsafe Weights Manipulationcited by 1
- 2026Harnessing Hyperbolic Geometry for Harmful Prompt Detection and Sanitizationcited by 1
- 2026Evaluating the Evaluators: Diagnosing Large Multimodal Models for AI-Generated Image Assessmentcited by 0
- 2026Evaluating the Evaluators: Diagnosing Large Multimodal Models for AI-Generated Image Assessment29 Sep 2026
- 2026On the Adversarial Robustness of Multimodal LLM Judges14 Jun 2026
- 2026Harnessing Hyperbolic Geometry for Harmful Prompt Detection and Sanitization7 Apr 2026
- 2025Safe Vision-Language Models via Unsafe Weights Manipulation14 Mar 2025
- 2024Towards Action Hijacking of Large Language Model-based Agent14 Dec 2024
- 2024LLMs Meet Multimodal Generation and Editing: A Surveycited by 35
- 2025ShieldGemma 2: Robust and Tractable Image Content Moderationcited by 27
- 2025Erasing Concepts, Steering Generations: A Comprehensive Survey of Concept Suppressioncited by 10
- 2026Loop as a Bridge: Can Looped Transformers Truly Link Representation Space and Natural Language Outputs?cited by 8
- 2024Not Just Text: Uncovering Vision Modality Typographic Threats in Image Generation Modelscited by 7
- 2024AEIOU: A Unified Defense Framework against NSFW Prompts in Text-to-Image Modelscited by 7
- 2025TarPro: Targeted Protection against Malicious Image Editingcited by 7
- 2024Towards Effective Discrimination Testing for Generative AIcited by 5
- 2024Safe Text-to-Image Generation: Simply Sanitize the Prompt Embeddingcited by 4
- 2025EAR: Erasing Concepts from Unified Autoregressive Modelscited by 4
- 2026Conditioned Activation Transport for T2I Safety Steeringcited by 3
- 2025Beyond External Monitors: Enhancing Transparency of Large Language Models for Easier Monitoringcited by 2
12 most cited of 20 All 20 (JSON)
- 2026Introspective Attention Modulation for Safe Text-to-Image Generation16 Jul 2026
- 2026Safe Autoregressive Image Generation with Iterative Self-Improving Codebooks25 Jun 2026
- 2026Do Models Share Safety Representations? Cross-Model Steering for Safe Visual Generation3 Jun 2026
- 2026Latent Space Probing for Adult Content Detection in Video Generative Models25 Apr 2026
- 2026EDGE-Shield: Efficient Denoising-staGE Shield for Violative Content Filtering via Scalable Reference-Based Matching4 Apr 2026
- 2026Modular Energy Steering for Safe Text-to-Image Generation with Foundation Models2 Apr 2026
- 2026Conditioned Activation Transport for T2I Safety Steering3 Mar 2026
- 2026Loop as a Bridge: Can Looped Transformers Truly Link Representation Space and Natural Language Outputs?15 Jan 2026
- 2025EAR: Erasing Concepts from Unified Autoregressive Models25 Jun 2025
- 2025Erasing Concepts, Steering Generations: A Comprehensive Survey of Concept Suppression26 May 2025
- 2025ShieldGemma 2: Robust and Tractable Image Content Moderation1 Apr 2025
- 2025TarPro: Targeted Protection against Malicious Image Editing18 Mar 2025
12 newest of 20 All 20 (JSON)