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

Chinese CLIP: Contrastive Vision-Language Pretraining in Chinese

About

The tremendous success of CLIP (Radford et al., 2021) has promoted the research and application of contrastive learning for vision-language pretraining. In this work, we construct a large-scale dataset of image-text pairs in Chinese, where most data are retrieved from publicly available datasets, and we pretrain Chinese CLIP models on the new dataset. We develop 5 Chinese CLIP models of multiple sizes, spanning from 77 to 958 million parameters. Furthermore, we propose a two-stage pretraining method, where the model is first trained with the image encoder frozen and then trained with all parameters being optimized, to achieve enhanced model performance. Our comprehensive experiments demonstrate that Chinese CLIP can achieve the state-of-the-art performance on MUGE, Flickr30K-CN, and COCO-CN in the setups of zero-shot learning and finetuning, and it is able to achieve competitive performance in zero-shot image classification based on the evaluation on the ELEVATER benchmark (Li et al., 2022). We have released our codes, models, and demos in https://github.com/OFA-Sys/Chinese-CLIP

An Yang, Junshu Pan, Junyang Lin, Rui Men, Yichang Zhang, Jingren Zhou, Chang Zhou• 2022

Related benchmarks

TaskDatasetResultRank
Image ClassificationImageNet 1k (test)
Top-1 Accuracy53.6
798
Image ClassificationImageNet A
Top-1 Acc42.8
553
Image ClassificationImageNet V2
Top-1 Acc47.8
487
Image ClassificationImageNet-R
Top-1 Acc78.1
474
Image ClassificationImageNet-Sketch
Top-1 Accuracy47.5
360
Text-to-Image RetrievalMSCOCO (1K test)
R@16.37e+3
104
Image-to-Text RetrievalFlickr30K-CN
R@196.6
99
Text-to-Image RetrievalFlickr30K-CN
R@184.4
99
Image-to-Text RetrievalMSCOCO (1K test)
R@161
82
Image RetrievalCARS196--
56
Showing 10 of 39 rows

Other info

Code

Follow for update