Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Contrastive Feature Masking Open-Vocabulary Vision Transformer

About

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 AP$r$, 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.

Dahun Kim, Anelia Angelova, Weicheng Kuo• 2023

Related benchmarks

TaskDatasetResultRank
Object DetectionCOCO 2017 (val)--
2454
Object DetectionLVIS v1.0 (val)
APbbox38.5
518
Image-to-Text RetrievalFlickr30K 1K (test)
R@191.7
439
Text-to-Image RetrievalFlickr30K 1K (test)
R@179.6
375
Image-to-Text RetrievalMS-COCO 5K (test)
R@166.4
299
Text-to-Image RetrievalMS-COCO 5K (test)
R@149.8
223
Object DetectionOV-COCO
AP50 (Novel)34.1
97
Instance SegmentationLVIS
mAP (Mask)36.6
68
Open-vocabulary object detectionLVIS v1 (val)
AP_r^b35.6
54
Instance SegmentationLVIS (val)
APr28.8
46
Showing 10 of 19 rows

Other info

Follow for update