Sparse Attention for Dense Open-Vocabulary Prediction in CLIP
Not on the map. Why?
Abstract (arXiv)
Contrastive Language-Image Pre-training (CLIP) relies on softmax-based self-attention, a strictly positive distribution that assigns probability mass to every pair of tokens-even semantically irrelevant ones. While these dense softmax weights are effective for gathering broad context during pre-training, they spread attention across many low-salience tokens, producing noise that obscures the fine-grained, spatially localized cues required for dense, open-vocabulary prediction. We study an inference-time substitution of the row-wise softmax in the final visual self-attention layers with the α-entmax transform, applied across both the standard query-key attention and self-correlation variants. Because entmax applies a data-dependent threshold that maps low scores exactly to zero, it acts as an implicit denoiser, zeroing contextually irrelevant dependencies while redistributing mass onto the most relevant tokens. We evaluate on open-vocabulary tasks-dense semantic segmentation (Pascal VOC, Pascal Context, ADE20K) and fine-grained retrieval (FG-OVD)-and find the gain from attention sparsification is proportional to how much the baseline attention spreads off the target class.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 28 of its 33 references that are in the map. First posted on arXiv 8 Jul 2026.
Builds on
28 of 33 references.
References · 28
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2021Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervisioncited by 3,864
- 2023Sigmoid Loss for Language Image Pre-Trainingcited by 3,109
- 2021Grounded Language-Image Pre-trainingcited by 1,156
- 2016Semantic Understanding of Scenes through the ADE20K Datasetcited by 1,069
- 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 856
- 2022EVA: Exploring the Limits of Masked Visual Representation Learning at Scalecited by 691
- 2021RegionCLIP: Region-based Language-Image Pretrainingcited by 616
- 2022When and why vision-language models behave like bags-of-words, and what to do about it?cited by 610
- 2016From Softmax to Sparsemax: A Sparse Model of Attention and Multi-Label Classificationcited by 341
- 2022CREPE: Can Vision-Language Foundation Models Reason Compositionally?cited by 181
- 2019Sparse Sequence-to-Sequence Modelscited by 170
16 more
- 2023SCLIP: Rethinking Self-Attention for Dense Vision-Language Inferencecited by 170
- 2019Adaptively Sparse Transformerscited by 155
- 2023CLIPSelf: Vision Transformer Distills Itself for Open-Vocabulary Dense Predictioncited by 118
- 2024ClearCLIP: Decomposing CLIP Representations for Dense Vision-Language Inferencecited by 113
- 2023A Closer Look at the Explainability of Contrastive Language-Image Pre-trainingcited by 96
- 2023Grounding Everything: Emerging Localization Properties in Vision-Language Transformerscited by 91
- 2022Perceptual Grouping in Contrastive Vision-Language Modelscited by 82
- 2025FG-CLIP: Fine-Grained Visual and Textual Alignmentcited by 81
- 2024Pay Attention to Your Neighbours: Training-Free Open-Vocabulary Semantic Segmentationcited by 77
- 2024Explore the Potential of CLIP for Training-Free Open Vocabulary Semantic Segmentationcited by 61
- 2023The devil is in the fine-grained details: Evaluating open-vocabulary object detectors for fine-grained understandingcited by 29
- 2018Learning Classifiers with Fenchel-Young Losses: Generalized Entropies, Margins, and Algorithmscited by 27
- 2020Sparse Text Generationcited by 24
- 2025Refining CLIP's Spatial Awareness: A Visual-Centric Perspectivecited by 13
- 2024MultiMax: Sparse and Multi-Modal Attention Learningcited by 5
- 2025β-CLIP: Text-Conditioned Contrastive Learning for Multi-Granular Vision-Language Alignmentcited by 5
Built on by
Not cited yet.