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

DenseCLIP: Language-Guided Dense Prediction with Context-Aware Prompting

About

Recent progress has shown that large-scale pre-training using contrastive image-text pairs can be a promising alternative for high-quality visual representation learning from natural language supervision. Benefiting from a broader source of supervision, this new paradigm exhibits impressive transferability to downstream classification tasks and datasets. However, the problem of transferring the knowledge learned from image-text pairs to more complex dense prediction tasks has barely been visited. In this work, we present a new framework for dense prediction by implicitly and explicitly leveraging the pre-trained knowledge from CLIP. Specifically, we convert the original image-text matching problem in CLIP to a pixel-text matching problem and use the pixel-text score maps to guide the learning of dense prediction models. By further using the contextual information from the image to prompt the language model, we are able to facilitate our model to better exploit the pre-trained knowledge. Our method is model-agnostic, which can be applied to arbitrary dense prediction systems and various pre-trained visual backbones including both CLIP models and ImageNet pre-trained models. Extensive experiments demonstrate the superior performance of our methods on semantic segmentation, object detection, and instance segmentation tasks. Code is available at https://github.com/raoyongming/DenseCLIP

Yongming Rao, Wenliang Zhao, Guangyi Chen, Yansong Tang, Zheng Zhu, Guan Huang, Jie Zhou, Jiwen Lu• 2021

Related benchmarks

TaskDatasetResultRank
Semantic segmentationADE20K (val)
mIoU49.8
2731
Object DetectionCOCO 2017 (val)
AP40.2
2454
Medical Image SegmentationMedical Image Segmentation Aggregate (Average of BUSI, BTMRI, ISIC, Kvasir-SEG, QaTa-COV19, and EUS) (test)
DSC74.19
80
Medical Image SegmentationCVC-ClinicDB
Dice Score68.08
68
Medical Image SegmentationISIC
DICE89.29
64
Medical Image SegmentationBUSI
Dice Score71.85
61
Semantic segmentationGTA to UAVID
Road IoU25.5
15
Semantic segmentationSYNTHIA to UAVID
Road IoU29.1
15
Medical Image SegmentationUDIAT
DSC54.93
15
Medical Image SegmentationBUSUC (Target)
DSC70.97
11
Showing 10 of 19 rows

Other info

Code

Follow for update