I2AM: Interpreting Image-to-Image Latent Diffusion Models via Bi-Attribution Maps
On the map: Diffusion models → Image generation, text-to-image and editing
Abstract (arXiv)
Large-scale diffusion models have made significant advances in image generation, particularly through cross-attention mechanisms. While cross-attention has been well-studied in text-to-image tasks, their interpretability in image-to-image (I2I) diffusion models remains underexplored. This paper introduces Image-to-Image Attribution Maps (I2AM), a method that enhances the interpretability of I2I models by visualizing bidirectional attribution maps, from the reference image to the generated image and vice versa. I2AM aggregates cross-attention scores across time steps, attention heads, and layers, offering insights into how critical features are transferred between images. We demonstrate the effectiveness of I2AM across object detection, inpainting, and super-resolution tasks. Our results demonstrate that I2AM successfully identifies key regions responsible for generating the output, even in complex scenes. Additionally, we introduce the Inpainting Mask Attention Consistency Score (IMACS) as a novel evaluation metric to assess the alignment between attribution maps and inpainting masks, which correlates strongly with existing performance metrics. Through extensive experiments, we show that I2AM enables model debugging and refinement, providing practical tools for improving I2I model's performance and interpretability.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Placed in Image generation, text-to-image and editing, one of 14 directions in Diffusion models. Builds on 56 of its 62 references that are in the map. First posted on arXiv 17 Jul 2024.
Builds on
56 of 62 references.
Closest ancestors · 14
Same direction, newest first
- 2024It's All About Your Sketch: Democratising Sketch Control in Diffusion Models12 Mar
- 2023Dense Text-to-Image Generation with Attention Modulation24 Aug
- 2023DragDiffusion: Harnessing Diffusion Models for Interactive Point-based Image Editing26 Jun
- 2023Unsupervised Semantic Correspondence Using Stable Diffusion24 May
- 2023A Tale of Two Features: Stable Diffusion Complements DINO for Zero-Shot Semantic Correspondence24 May
- 2023Adding Conditional Control to Text-to-Image Diffusion Models10 Feb
- 2022Paint by Example: Exemplar-based Image Editing with Diffusion Models23 Nov
- 2022DiffEdit: Diffusion-based semantic image editing with mask guidance20 Oct
- 2022What the DAAM: Interpreting Stable Diffusion Using Cross Attention10 Oct
- 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding23 May
- 2022Hierarchical Text-Conditional Image Generation with CLIP Latents13 Apr
- 2021GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Models20 Dec
2 more
Other references · 42
- 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
- 2020Denoising Diffusion Implicit Modelscited by 9,655
- 2015Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networkscited by 9,617
- 2017Mask R-CNNcited by 7,259
- 2015Deep Unsupervised Learning using Nonequilibrium Thermodynamicscited by 7,005
- 2022Classifier-Free Diffusion Guidancecited by 5,717
- 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,040
- 2024Scaling Rectified Flow Transformers for High-Resolution Image Synthesiscited by 4,094
- 2018YOLOv3: An Incremental Improvementcited by 2,652
30 more
- 2015Learning Deep Features for Discriminative Localizationcited by 2,430
- 2022Prompt-to-Prompt Image Editing with Cross Attention Controlcited by 2,409
- 2013Deep Inside Convolutional Networks: Visualising Image Classification Models and Saliency Mapscited by 2,348
- 2021Masked-attention Mask Transformer for Universal Image Segmentationcited by 2,338
- 2013Visualizing and Understanding Convolutional Networkscited by 2,278
- 2022RePaint: Inpainting using Denoising Diffusion Probabilistic Modelscited by 1,419
- 2017SmoothGrad: removing noise by adding noisecited by 1,097
- 2017Grad-CAM++: Improved Visual Explanations for Deep Convolutional Networkscited by 936
- 2022Plug-and-Play Diffusion Features for Text-Driven Image-to-Image Translationcited by 897
- 2018RISE: Randomized Input Sampling for Explanation of Black-box Modelscited by 825
- 2023MasaCtrl: Tuning-Free Mutual Self-Attention Control for Consistent Image Synthesis and Editingcited by 722
- 2019Score-CAM: Score-Weighted Visual Explanations for Convolutional Neural Networkscited by 575
- 2023SeeSR: Towards Semantics-Aware Real-World Image Super-Resolutioncited by 311
- 2023Common Diffusion Noise Schedules and Sample Steps are Flawedcited by 308
- 2023Diffusion Self-Guidance for Controllable Image Generationcited by 305
- 2022Perception Prioritized Training of Diffusion Modelscited by 301
- 2021VITON-HD: High-Resolution Virtual Try-On via Misalignment-Aware Normalizationcited by 287
- 2022SmartBrush: Text and Shape Guided Object Inpainting with Diffusion Modelcited by 276
- 2023Pixel-Aware Stable Diffusion for Realistic Image Super-resolution and Personalized Stylizationcited by 251
- 2023Inpaint Anything: Segment Anything Meets Image Inpaintingcited by 233
- 2022RTMDet: An Empirical Study of Designing Real-Time Object Detectorscited by 192
- 2019Full-Gradient Representation for Neural Network Visualizationcited by 189
- 2023StableVITON: Learning Semantic Correspondence with Latent Diffusion Model for Virtual Try-Oncited by 173
- 2016Grad-CAM: Why did you say that?cited by 159
- 2023LaDI-VTON: Latent Diffusion Textual-Inversion Enhanced Virtual Try-Oncited by 151
- 2021Parser-Free Virtual Try-on via Distilling Appearance Flowscited by 142
- 2023Taming the Power of Diffusion Models for High-Quality Virtual Try-On with Appearance Flowcited by 123
- 2024Training-Free Consistent Text-to-Image Generationcited by 123
- 2024IMPRINT: Generative Object Compositing by Learning Identity-Preserving Representationcited by 64
- 2020Semantically Robust Unpaired Image Translation for Data with Unmatched Semantics Statisticscited by 15
Built on by
Citing papers per year: 2025: 1; 2026: 1.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2024Training-Free Layout-to-Image Generation with Marginal Attention Constraints
- 2024Detecting Origin Attribution for Text-to-Image Diffusion Models
- 2026AI-T2I: Aggregating-and-Isolating Cross-Attention to Diffusion Models for Text-to-Image Synthesis
- 2023Fast Sampling Through The Reuse Of Attention Maps In Diffusion Models
- 2024Towards Understanding Cross and Self-Attention in Stable Diffusion for Text-Guided Image Editing
- 2024Exploring Local Memorization in Diffusion Models via Bright Ending Attention
- 2023CONFORM: Contrast is All You Need For High-Fidelity Text-to-Image Diffusion Models
- 2023CycleNet: Rethinking Cycle Consistency in Text-Guided Diffusion for Image Manipulation