TensorX
返回文献探索

Paper · arXiv 2309.00775

Contrastive Feature Masking Open-Vocabulary Vision Transformer

Dahun Kim, Anelia Angelova, Weicheng Kuo

10 upvotesSeptember 2, 2023arXiv 预印本
AI 摘要

CFM-ViT enhances open-vocabulary object detection and image-text retrieval through combined masked and contrastive learning objectives, positional embedding dropout, and region-level representation learning.

Contrastive Feature Masking Vision TransformerCFM-ViTmasked autoencodercontrastive learningjoint image-text embedding spacepixel spacePositional Embedding DropoutPEDopen-vocabulary object detectionOVDLVIS detection benchmarkzero-shot detectionzero-shot image-text retrieval

Abstract

We present Contrastive Feature Masking Vision Transformer (CFM-ViT) - an image-text pretraining methodology that achieves simultaneous learning of image- and region-level representation for open-vocabulary object detection (OVD). Our approach combines the masked autoencoder (MAE) objective into the contrastive learning objective to improve the representation for localization tasks. Unlike standard MAE, we perform reconstruction in the joint image-text embedding space, rather than the pixel space as is customary with the classical MAE method, which causes the model to better learn region-level semantics. Moreover, we introduce Positional Embedding Dropout (PED) to address scale variation between image-text pretraining and detection finetuning by randomly dropping out the positional embeddings during pretraining. PED improves detection performance and enables the use of a frozen ViT backbone as a region classifier, preventing the forgetting of open-vocabulary knowledge during detection finetuning. On LVIS open-vocabulary detection benchmark, CFM-ViT achieves a state-of-the-art 33.9 APr, surpassing the best approach by 7.6 points and achieves better zero-shot detection transfer. Finally, CFM-ViT acquires strong image-level representation, outperforming the state of the art on 8 out of 12 metrics on zero-shot image-text retrieval benchmarks.

北京市昌平区探索星信息技术及软件开发工作室

京ICP备2026059466号
Contrastive Feature Masking Open-Vocabulary Vision Transformer | TensorX