mlsanityData to 7 Oct 2026

Introspective Attention Modulation for Safe Text-to-Image Generation

arXiv 2607.14945 ↗First posted 16 Jul 2026cs.CVcited by 0

Not on the map. Why?

Abstract (arXiv)

State-of-the-art flow based text-to-image (T2I) models exhibit remarkable generative abilities but remain vulnerable to producing unsafe content. Prior safety efforts range from concept erasure and prompt filtering to classifier-based gating. However, simple techniques like parameter efficient adaptations of the models easily bypass such guardrails. We introduce a unique principled approach that achieves safety by regulating the model's attention dynamics through inference-time introspection, exhibiting intrinsic robustness. Our method analyzes and rebalances attention activations throughout image synthesis, steering generations away from unsafe concepts while preserving semantic alignment. This introspective control ensures safety of deployed models. Across standard and adversarial safety benchmarks, our approach achieves remarkable safety scores while maintaining or even improving alignment and perceptual quality. Our results reveal that attention-space regulation offers a considerably more promising path to safer diffusion transformer based image generation than the existing concept erasing mechanism.Our code can be accessed at https://basim-azam.github.io/iam/

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 66 of its 77 references that are in the map. First posted on arXiv 16 Jul 2026.

Builds on

66 of 77 references.

References · 66

  1. 2017Attention Is All You Needcited by 59,932
  2. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  3. 2020Denoising Diffusion Probabilistic Modelscited by 20,851
  4. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
  5. 2014Microsoft COCO: Common Objects in Contextcited by 17,498
  6. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
  7. 2020Score-Based Generative Modeling through Stochastic Differential Equationscited by 8,964
  8. 2021Diffusion Models Beat GANs on Image Synthesiscited by 8,185
  9. 2015Deep Unsupervised Learning using Nonequilibrium Thermodynamicscited by 7,005
  10. 2022Hierarchical Text-Conditional Image Generation with CLIP Latentscited by 6,539
  11. 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understandingcited by 6,322
  12. 2022Scalable Diffusion Models with Transformerscited by 5,931
38 more
  1. 2022Classifier-Free Diffusion Guidancecited by 5,717
  2. 2023Adding Conditional Control to Text-to-Image Diffusion Modelscited by 5,466
  3. 2022Flow Matching for Generative Modelingcited by 5,426
  4. 2023SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesiscited by 4,290
  5. 2021Zero-Shot Text-to-Image Generationcited by 4,276
  6. 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,131
  7. 2024Scaling Rectified Flow Transformers for High-Resolution Image Synthesiscited by 4,094
  8. 2019Generative Modeling by Estimating Gradients of the Data Distributioncited by 4,067
  9. 2021GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Modelscited by 3,595
  10. 2022Flow Straight and Fast: Learning to Generate and Transfer Data with Rectified Flowcited by 3,550
  11. 2022DreamBooth: Fine Tuning Text-to-Image Diffusion Models for Subject-Driven Generationcited by 3,286
  12. 2020Taming Transformers for High-Resolution Image Synthesiscited by 3,229
  13. 2022An Image is Worth One Word: Personalizing Text-to-Image Generation using Textual Inversioncited by 2,231
  14. 2023Qwen-VL: A Versatile Vision-Language Model for Understanding, Localization, Text Reading, and Beyondcited by 2,179
  15. 2019Generating Diverse High-Fidelity Images with VQ-VAE-2cited by 1,376
  16. 2022MaskGIT: Masked Generative Image Transformercited by 1,082
  17. 2022Toy Models of Superpositioncited by 928
  18. 2022eDiff-I: Text-to-Image Diffusion Models with an Ensemble of Expert Denoiserscited by 921
  19. 2023Towards Automated Circuit Discovery for Mechanistic Interpretabilitycited by 700
  20. 2023Attend-and-Excite: Attention-Based Semantic Guidance for Text-to-Image Diffusion Modelscited by 696
  21. 2023Erasing Concepts from Diffusion Modelscited by 530
  22. 2022Safe Latent Diffusion: Mitigating Inappropriate Degeneration in Diffusion Modelscited by 501
  23. 2022MaxViT: Multi-Axis Vision Transformercited by 476
  24. 2023Unified Concept Editing in Diffusion Modelscited by 377
  25. 2023LayoutGPT: Compositional Visual Planning and Generation with Large Language Modelscited by 337
  26. 2019DM-GAN: Dynamic Memory Generative Adversarial Networks for Text-to-Image Synthesiscited by 308
  27. 2023Composer: Creative and Controllable Image Synthesis with Composable Conditionscited by 303
  28. 2023BoxDiff: Text-to-Image Synthesis with Training-Free Box-Constrained Diffusioncited by 280
  29. 2022Red-Teaming the Stable Diffusion Safety Filtercited by 257
  30. 2023LLM-grounded Diffusion: Enhancing Prompt Understanding of Text-to-Image Diffusion Models with Large Language Modelscited by 242
  31. 2023Ring-A-Bell! How Reliable are Concept Removal Methods for Diffusion Models?cited by 239
  32. 2022What the DAAM: Interpreting Stable Diffusion Using Cross Attentioncited by 233
  33. 2024FlowEdit: Inversion-Free Text-Based Editing Using Pre-Trained Flow Modelscited by 214
  34. 2023To Generate or Not? Safety-Driven Unlearned Diffusion Models Are Still Easy To Generate Unsafe Images ... For Nowcited by 204
  35. 2023MMA-Diffusion: MultiModal Attack on Diffusion Modelscited by 184
  36. 2016Learning Deep Representations of Fine-grained Visual Descriptionscited by 182
  37. 2019MirrorGAN: Learning Text-to-image Generation by Redescriptioncited by 176
  38. 2023SneakyPrompt: Jailbreaking Text-to-image Generative Modelscited by 175

50 most cited of 66 All 66 (JSON)

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Unified Safe In-context Image Generation in Multimodal Diffusion Transformers via Restricting Unsafe Information Flows
  2. 2024Enhancing Semantic Fidelity in Text-to-Image Synthesis: Attention Regulation in Diffusion Models
  3. 2026What Concepts Lie Within? Detecting and Suppressing Risky Content in Diffusion Transformers
  4. 2026SafeCtrl: Region-Aware Safety Control for Text-to-Image Diffusion via Detect-Then-Suppress
  5. 2026Test-Time Scaling for Safe Text-Guided Image Generation via Intermediate Clean Estimates
  6. 2025SafeCtrl: Region-Based Safety Control for Text-to-Image Diffusion via Detect-Then-Suppress
  7. 2025Detect-and-Guide: Self-regulation of Diffusion Models for Safe Text-to-Image Generation via Guideline Token Optimization
  8. 2026Modular Energy Steering for Safe Text-to-Image Generation with Foundation Models