[Paper Review] Chinese CLIP: Contrastive Vision-Language Pretraining in Chinese
Chinese CLIP introduces a two-stage pretraining method to adapt CLIP to Chinese data, achieving state-of-the-art cross-modal retrieval on MUGE, Flickr30K-CN, and COCO-CN, with competitive zero-shot image classification performance.
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
Motivation & Objective
- Motivate language-native vision-language pretraining for Chinese data to improve cross-modal retrieval and open-domain classification.
- Develop a data-efficient two-stage pretraining strategy that leverages existing foundation models for Chinese multimodal data.
- Demonstrate state-of-the-art performance on Chinese cross-modal retrieval benchmarks and competitive zero-shot classification.
- Provide deployment-ready models and runtime-optimized formats (TensorRT/ONNX).
Proposed method
- Initialize vision encoder from OpenAI CLIP and text encoder from Chinese RoBERTa (wwm-ext).
- Stage 1: Locked-Image Tuning (LiT) to train only the text encoder for vision-language alignment while keeping the image encoder fixed.
- Stage 2: Unfreeze both encoders and perform contrastive tuning on Chinese multimodal data.
- Pretraining data assembled from public Chinese image-text pairs (~200M) plus translations of English datasets and internal pairs; data preprocessing includes CLIP-score based filtering and blacklist-based pruning.
- Evaluate using zero-shot and finetuning setups on MUGE-Retrieval, Flickr30K-CN, and COCO-CN; additionally assess zero-shot image classification on ELEVATER ICinW benchmark.
Experimental results
Research questions
- RQ1Can a language-native two-stage pretraining strategy improve cross-modal retrieval when transferring CLIP to Chinese data?
- RQ2Does locking the image encoder in Stage 1 and then jointly training both encoders in Stage 2 better adapt to Chinese multimodal data than training from scratch or direct finetuning?
- RQ3How does Chinese CLIP perform on native Chinese retrieval benchmarks compared with translated CLIP baselines and other Chinese multimodal models?
- RQ4What are the trade-offs between model size and performance for zero-shot retrieval and finetuning in the Chinese CLIP family?
Key findings
- Chinese CLIP models achieve state-of-the-art results on MUGE, Flickr30K-CN, and COCO-CN for zero-shot retrieval and finetuning across multiple model sizes.
- Two-stage pretraining with LiT followed by contrastive tuning consistently outperforms training from scratch or direct finetuning, across evaluated datasets.
- Large and huge Chinese CLIP variants reach superior zero-shot retrieval metrics and competitive zero-shot classification on the ELEVATER ICinW benchmark.
- CN-CLIP variants with larger image resolutions (e.g., 336px) yield improved retrieval performance over smaller configurations.
- Zero-shot classification on the ICinW benchmark shows competitive performance relative to English-pretrained and Chinese baselines, with notable gains on several datasets.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.