MaskInversion: Localized Embeddings via Optimization of Explainability Maps
On the map: Multimodal LLMs / vision-language models → Prompt learning and adaptation of CLIP
Abstract (arXiv)
Vision-language foundation models such as CLIP have achieved tremendous results in global vision-language alignment, but still show some limitations in creating representations for specific image regions. % To address this problem, we propose MaskInversion, a method that leverages the feature representations of pre-trained foundation models, such as CLIP, to generate a context-aware embedding for a query image region specified by a mask at test time. MaskInversion starts with initializing an embedding token and compares its explainability map, derived from the foundation model, to the query mask. The embedding token is then subsequently refined to approximate the query region by minimizing the discrepancy between its explainability map and the query mask. During this process, only the embedding vector is updated, while the underlying foundation model is kept frozen allowing to use MaskInversion with any pre-trained model. As deriving the explainability map involves computing its gradient, which can be expensive, we propose a gradient decomposition strategy that simplifies this computation. The learned region representation can be used for a broad range of tasks, including open-vocabulary class retrieval, referring expression comprehension, as well as for localized captioning and image generation. We evaluate the proposed method on all those tasks on several datasets such as PascalVOC, MSCOCO, RefCOCO, and OpenImagesV7 and show its capabilities compared to other SOTA approaches.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Placed in Prompt learning and adaptation of CLIP, one of 16 directions in Multimodal LLMs / vision-language models. Builds on 34 of its 42 references that are in the map. First posted on arXiv 29 Jul 2024.
Builds on
34 of 42 references.
Closest ancestors · 2
Same direction, newest first
- 2023What does CLIP know about a red circle? Visual prompt engineering for VLMs13 Apr
- 2021CPT: Colorful Prompt Tuning for Pre-trained Vision-Language Models24 Sep
Other references · 32
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2014Microsoft COCO: Common Objects in Contextcited by 17,498
- 2023Segment Anythingcited by 8,158
- 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,690
- 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,131
- 2017Axiomatic Attribution for Deep Networkscited by 3,350
- 2013Deep Inside Convolutional Networks: Visualising Image Classification Models and Saliency Mapscited by 2,348
- 2016V-Net: Fully Convolutional Neural Networks for Volumetric Medical Image Segmentationcited by 2,284
- 2022An Image is Worth One Word: Personalizing Text-to-Image Generation using Textual Inversioncited by 2,231
- 2022Reproducible scaling laws for contrastive language-image learningcited by 1,163
- 2021Per-Pixel Classification is Not All You Need for Semantic Segmentationcited by 1,148
20 more
- 2017SmoothGrad: removing noise by adding noisecited by 1,097
- 2014Striving for Simplicity: The All Convolutional Netcited by 983
- 2017Grad-CAM++: Improved Visual Explanations for Deep Convolutional Networkscited by 936
- 2020Quantifying Attention Flow in Transformerscited by 759
- 2021Extract Free Dense Labels from CLIPcited by 580
- 2021ClipCap: CLIP Prefix for Image Captioningcited by 557
- 2021Generic Attention-model Explainability for Interpreting Bi-Modal and Encoder-Decoder Transformerscited by 316
- 2023SCLIP: Rethinking Self-Attention for Dense Vision-Language Inferencecited by 169
- 2023Alpha-CLIP: A CLIP Model Focusing on Wherever You Wantcited by 150
- 2022ReCLIP: A Strong Zero-Shot Baseline for Referring Expression Comprehensioncited by 119
- 2019XRAI: Better Attributions Through Regionscited by 116
- 2020PhraseCut: Language-based Image Segmentation in the Wildcited by 116
- 2023Fine-Grained Visual Promptingcited by 81
- 2023Zero-shot Referring Image Segmentation with Global-Local Context Featurescited by 61
- 2024λ-ECLIPSE: Multi-Concept Personalized Text-to-Image Diffusion Models by Leveraging CLIP Latent Spacecited by 51
- 2022Optimizing Relevance Maps of Vision Transformers Improves Robustnesscited by 41
- 2024LeGrad: An Explainability Method for Vision Transformers via Feature Formation Sensitivitycited by 32
- 2022No Token Left Behind: Explainability-Aided Image Classification and Generationcited by 25
- 2022From colouring-in to pointillism: revisiting semantic segmentation supervisioncited by 22
- 2021Efficient Self-Ensemble for Semantic Segmentationcited by 16
Built on by
Citing papers per year: 2025: 1; 2026: 1.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2026TEVI: Text-Conditioned Editing of Visual Representations via Sparse Autoencoders for Improved Vision-Language Alignment
- 2024Mask-Adapter: The Devil is in the Masks for Open-Vocabulary Segmentation
- 2026Logit Lens Supervision for Patch-Level Explanations in Vision-Language Models
- 2025Context Matters: Learning Global Semantics via Object-Centric Representation
- 2024High-Quality Mask Tuning Matters for Open-Vocabulary Segmentation
- 2022Open-Vocabulary Semantic Segmentation with Mask-adapted CLIP
- 2026ReToken: One Token to Improve Vision-Language Models for Visual Retrieval
- 2025CORE-3D: Context-aware Open-vocabulary Retrieval by Embeddings in 3D