Democratizing Contrastive Language-Image Pre-training: A CLIP Benchmark of Data, Model, and Supervision

Yufeng Cui, Lichen Zhao, Feng Liang, Yangguang Li, Jing Shao
3/11/2022
cs.CV
benchmark-datasettransformer-attention

Official code: Sense-GVT/DeCLIP (678 stars, Python, last commit 2022-09-19).

Abstract

Contrastive Language-Image Pretraining (CLIP) has emerged as a novel paradigm to learn visual models from language supervision. While researchers continue to push the frontier of CLIP, reproducing these works remains challenging.

Show full abstract

This is because researchers do not choose consistent training recipes and even use different data, hampering the fair comparison between different methods. In this work, we propose CLIP-benchmark, a first attempt to evaluate, analyze, and benchmark CLIP and its variants. We conduct a comprehensive analysis of three key factors: data, supervision, and model architecture. We find considerable intuitive or counter-intuitive insights: (1). Data quality has a significant impact on performance. (2). Certain supervision has different effects for Convolutional Networks (ConvNets) and Vision Transformers (ViT). Applying more proper supervision can effectively improve the performance of CLIP. (3). Curtailing the text encoder reduces the training cost but not much affect the final performance. Moreover, we further combine DeCLIP with FILIP, bringing us the strongest variant DeFILIP. The CLIP-benchmark would be released at: https://github.com/Sense-GVT/DeCLIP for future CLIP research.

View on arXivView PDF

Code Implementations(1)

Sense-GVT/DeCLIPOfficial100%

Supervision Exists Everywhere: A Data Efficient Contrastive Language-Image Pre-training Paradigm

67831Python, ShellOct 9, 20214 years ago
big-modelclipimage-textmulti-modelself-supervised+2 more

Similar Papers

Cite this paper

@article{cui2022democratizing,
  title  = {Democratizing Contrastive Language-Image Pre-training: A CLIP Benchmark of Data, Model, and Supervision},
  author = {Yufeng Cui and Lichen Zhao and Feng Liang and Yangguang Li and Jing Shao},
  year   = {2022},
  eprint = {2203.05796},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2203.05796}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2203.05796.svg)](https://codeofpaper.com/paper/2203.05796)

Discussion