paper-with-me

홈 › Papers

Attentive Mask CLIP

2022-12-16 · ICCV 2023 1 · Yifan Yang, Weiquan Huang, Yixuan Wei, Houwen Peng, Xinyang Jiang, Huiqiang Jiang, Fangyun Wei, Yin Wang, Han Hu, Lili Qiu, Yuqing Yang

Image token removal is an efficient augmentation strategy for reducing the cost of computing image features. However, this efficient augmentation strategy has been found to adversely affect the accuracy of CLIP-based training. We hypothesize that removing a large portion of image tokens may improperly discard the semantic content associated with a given text description, thus constituting an incorrect pairing target in CLIP training. To address this issue, we propose an attentive token removal approach for CLIP training, which retains tokens with a high semantic correlation to the text description. The correlation scores are computed in an online fashion using the EMA version of the visual encoder. Our experiments show that the proposed attentive masking approach performs better than the previous method of random token removal for CLIP training. The approach also makes it efficient to apply multiple augmentation views to the image, as well as introducing instance contrastive learning tasks between these views into the CLIP framework. Compared to other CLIP improvements that combine different pre-training targets such as SLIP and MaskCLIP, our method is not only more effective, but also much more efficient. Specifically, using ViT-B and YFCC-15M dataset, our approach achieves $43.9\%$ top-1 accuracy on ImageNet-1K zero-shot classification, as well as $62.7/42.1$ and $38.0/23.2$ I2T/T2I retrieval accuracy on Flickr30K and MS COCO, which are $+1.1\%$, $+5.5/+0.9$, and $+4.4/+1.3$ higher than the SLIP method, while being $2.30\times$ faster. An efficient version of our approach running $1.16\times$ faster than the plain CLIP model achieves significant gains of $+5.3\%$, $+11.3/+8.0$, and $+9.5/+4.9$ on these benchmarks.

📄 PDF Abstract BibTeX arXiv:2212.08653

Code (1)

microsoft/a-clip 공식 구현 pytorch

Tasks

Contrastive LearningRetrievalzero-shot-classificationZero-Shot Learning

Methods 이 논문이 사용한 방법론

CLIP Contrastive Language-Image Pre-training (CLIP), consisting of a simplified version of ConVIRT trained from scratch, is an efficient method of image representation learning…
Contrastive Learning 설명 없음

Similar Papers 제목 키워드 기반

SyCoCa: Symmetrizing Contrastive Captioners with Attentive Masking for Multimodal Alignment

2024-01-04 · Ziping Ma, Furong Xu, Jian Liu, Ming Yang 외

Multimodal alignment between language and vision is the fundamental topic in current vision-language model research. Contrastive Captioners (CoCa), as a representative method, integrates Contrastive Language-Image Pretra…

Image Captioningimage-classificationImage ClassificationImage Reconstruction+7

Alpha-CLIP: A CLIP Model Focusing on Wherever You Want

2023-12-06 · CVPR 2024 1 · Zeyi Sun, Ye Fang, Tong Wu, Pan Zhang 외

Contrastive Language-Image Pre-training (CLIP) plays an essential role in extracting valuable content information from images across diverse tasks. It aligns textual and visual modalities to comprehend the entire image, …

3D Generation

EntityCLIP: Entity-Centric Image-Text Matching via Multimodal Attentive Contrastive Learning

2024-10-23 · Yaxiong Wang, Lianwei Wu, Lechao Cheng, Zhun Zhong 외

Recent advancements in image-text matching have been notable, yet prevailing models predominantly cater to broad queries and struggle with accommodating fine-grained query intention. In this paper, we work towards the \t…

Contrastive LearningImage-text matchingText Matching

Open-Vocabulary Universal Image Segmentation with MaskCLIP

2022-08-18 · Zheng Ding, Jieke Wang, Zhuowen Tu

In this paper, we tackle an emerging computer vision task, open-vocabulary universal image segmentation, that aims to perform semantic/instance/panoptic segmentation (background semantic labeling + foreground instance se…

Image SegmentationInstance SegmentationOpen Vocabulary Panoptic SegmentationOpen Vocabulary Semantic Segmentation+3

Research on Patch Attentive Neural Process

2022-01-29 · Xiaohan Yu, Shaochen Mao

Attentive Neural Process (ANP) improves the fitting ability of Neural Process (NP) and improves its prediction accuracy, but the higher time complexity of the model imposes a limitation on the length of the input sequenc…