mlsanityData to 7 Oct 2026

LocInv: Localization-aware Inversion for Text-Guided Image Editing

arXiv 2405.01496 ↗First posted 2 May 2024cs.CVcited by 11

On the map: Diffusion models → Image generation, text-to-image and editing

Abstract (arXiv)

Large-scale Text-to-Image (T2I) diffusion models demonstrate significant generation capabilities based on textual prompts. Based on the T2I diffusion models, text-guided image editing research aims to empower users to manipulate generated images by altering the text prompts. However, existing image editing techniques are prone to editing over unintentional regions that are beyond the intended target area, primarily due to inaccuracies in cross-attention maps. To address this problem, we propose Localization-aware Inversion (LocInv), which exploits segmentation maps or bounding boxes as extra localization priors to refine the cross-attention maps in the denoising phases of the diffusion process. Through the dynamic updating of tokens corresponding to noun words in the textual input, we are compelling the cross-attention maps to closely align with the correct noun and adjective words in the text prompt. Based on this technique, we achieve fine-grained image editing over particular objects while preventing undesired changes to other regions. Our method LocInv, based on the publicly available Stable Diffusion, is extensively evaluated on a subset of the COCO dataset, and consistently obtains superior results both quantitatively and qualitatively.The code will be released at https://github.com/wangkai930418/DPL

Key facts. Cited by 11 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 65 references that are in the map. First posted on arXiv 2 May 2024.

Builds on

56 of 65 references.

Closest ancestors · 21

Same direction, newest first

  1. 2023IterInv: Iterative Inversion for Pixel-Level T2I Models30 Oct
  2. 2023Direct Inversion: Boosting Diffusion-based Editing with 3 Lines of Code2 Oct
  3. 2023Dynamic Prompt Learning: Addressing Cross-Attention Leakage for Text-Based Image Editing27 Sep
  4. 2023FEC: Three Finetuning-free Methods to Enhance Consistency for Real Image Editing26 Sep
  5. 2023Forgedit: Text Guided Image Editing via Learning and Forgetting19 Sep
  6. 2023Negative-prompt Inversion: Fast Image Inversion for Editing with Text-guided Diffusion Models26 May
  7. 2023StyleDiffusion: Prompt-Embedding Inversion for Text-Based Editing28 Mar
  8. 2023Localizing Object-level Shape Variations with Text-to-Image Diffusion Models20 Mar
  9. 2022Shifted Diffusion for Text-to-image Generation24 Nov
  10. 2022InstructPix2Pix: Learning to Follow Image Editing Instructions17 Nov
  11. 2022Null-text Inversion for Editing Real Images using Guided Diffusion Models17 Nov
  12. 2022DiffusionDet: Diffusion Model for Object Detection17 Nov
9 more
  1. 2022DiffEdit: Diffusion-based semantic image editing with mask guidance20 Oct
  2. 2022Imagic: Text-Based Real Image Editing with Diffusion Models17 Oct
  3. 2022Diffusion-based Image Translation using Disentangled Style and Content Representation30 Sep
  4. 2022Blended Latent Diffusion6 Jun
  5. 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding23 May
  6. 2022Hierarchical Text-Conditional Image Generation with CLIP Latents13 Apr
  7. 2021GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Models20 Dec
  8. 2021Blended Diffusion for Text-driven Editing of Natural Images29 Nov
  9. 2021DiffusionCLIP: Text-Guided Diffusion Models for Robust Image Manipulation6 Oct

Other references · 35

  1. 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,604
  2. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
  3. 2014Microsoft COCO: Common Objects in Contextcited by 17,498
  4. 2018The Unreasonable Effectiveness of Deep Features as a Perceptual Metriccited by 11,029
  5. 2020Denoising Diffusion Implicit Modelscited by 9,655
  6. 2023Segment Anythingcited by 8,158
  7. 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,893
  8. 2022Classifier-Free Diffusion Guidancecited by 5,717
  9. 2023SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesiscited by 4,290
  10. 2021Zero-Shot Text-to-Image Generationcited by 4,276
  11. 2023Grounding DINO: Marrying DINO with Grounded Pre-Training for Open-Set Object Detectioncited by 3,274
  12. 2022Prompt-to-Prompt Image Editing with Cross Attention Controlcited by 2,409
23 more
  1. 2021CLIPScore: A Reference-free Evaluation Metric for Image Captioningcited by 2,388
  2. 2021SDEdit: Guided Image Synthesis and Editing with Stochastic Differential Equationscited by 1,903
  3. 2022RePaint: Inpainting using Denoising Diffusion Probabilistic Modelscited by 1,419
  4. 2022Plug-and-Play Diffusion Features for Text-Driven Image-to-Image Translationcited by 897
  5. 2023MasaCtrl: Tuning-Free Mutual Self-Attention Control for Consistent Image Synthesis and Editingcited by 722
  6. 2023Muse: Text-To-Image Generation via Masked Generative Transformerscited by 640
  7. 2021ILVR: Conditioning Method for Denoising Diffusion Probabilistic Modelscited by 634
  8. 2022GroupViT: Semantic Segmentation Emerges from Text Supervisioncited by 529
  9. 2021Image Segmentation Using Text and Image Promptscited by 509
  10. 2023Zero-shot Image-to-Image Translationcited by 503
  11. 2022Make-A-Scene: Scene-Based Text-to-Image Generation with Human Priorscited by 487
  12. 2021Scaling Open-Vocabulary Image Segmentation with Image-Level Labelscited by 471
  13. 2023Open-Vocabulary Panoptic Segmentation with Text-to-Image Diffusion Modelscited by 371
  14. 2022Text2LIVE: Text-Driven Layered Image and Video Editingcited by 312
  15. 2022Generalized Decoding for Pixel, Image, and Languagecited by 292
  16. 2023Inpaint Anything: Segment Anything Meets Image Inpaintingcited by 233
  17. 2022Splicing ViT Features for Semantic Appearance Transfercited by 209
  18. 2022Improving Sample Quality of Diffusion Models Using Self-Attention Guidancecited by 151
  19. 2023Detecting Everything in the Open World: Towards Universal Object Detectioncited by 62
  20. 2023LD-ZNet: A Latent Diffusion Approach for Text-Based Image Segmentationcited by 29
  21. 2023KV Inversion: KV Embeddings Learning for Text-Conditioned Real Image Action Editingcited by 21
  22. 2023MDP: A Generalized Framework for Text-Guided Image Editing by Manipulating the Diffusion Pathcited by 18
  23. 2023Gradpaint: Gradient-Guided Inpainting with Diffusion Modelscited by 17

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 6; 2026: 4.

11 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Task-Oriented Diffusion Inversion for High-Fidelity Text-based Editing
  2. 2025Precise Parameter Localization for Textual Generation in Diffusion Models
  3. 2023Prompt Tuning Inversion for Text-Driven Image Editing Using Diffusion Models
  4. 2025X-Edit: Detecting and Localizing Edits in Images Altered by Text-Guided Diffusion Models
  5. 2025DEAL-300K: Diffusion-based Editing Area Localization with a 300K-Scale Dataset and Frequency-Prompted Baseline
  6. 2024Towards Understanding Cross and Self-Attention in Stable Diffusion for Text-Guided Image Editing
  7. 2023PRedItOR: Text Guided Image Editing with Diffusion Prior
  8. 2026Diffusion Image Editing via Asynchronous Token Decoding