Supervision Exists Everywhere: A Data Efficient Contrastive Language-Image Pre-training Paradigm
About
Recently, large-scale Contrastive Language-Image Pre-training (CLIP) has attracted unprecedented attention for its impressive zero-shot recognition ability and excellent transferability to downstream tasks. However, CLIP is quite data-hungry and requires 400M image-text pairs for pre-training, thereby restricting its adoption. This work proposes a novel training paradigm, Data efficient CLIP (DeCLIP), to alleviate this limitation. We demonstrate that by carefully utilizing the widespread supervision among the image-text pairs, our De-CLIP can learn generic visual features more efficiently. Instead of using the single image-text contrastive supervision, we fully exploit data potential through the use of (1) self-supervision within each modality; (2) multi-view supervision across modalities; (3) nearest-neighbor supervision from other similar pairs. Benefiting from intrinsic supervision, our DeCLIP-ResNet50 can achieve 60.4% zero-shot top1 accuracy on ImageNet, which is 0.8% above the CLIP-ResNet50 while using 7.1 x fewer data. Our DeCLIP-ResNet50 outperforms its counterpart in 8 out of 11 visual datasets when transferred to downstream tasks. Moreover, Scaling up the model and computing also works well in our framework.Our code, dataset and models are released at: https://github.com/Sense-GVT/DeCLIP
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Image Classification | ImageNet-1k (val) | Top-1 Accuracy44.4 | 840 | |
| Image Classification | CIFAR-100 | -- | 622 | |
| Image Classification | Food-101 | Accuracy82.7 | 494 | |
| Image Classification | DTD | Accuracy76.8 | 487 | |
| Image Classification | Stanford Cars | Accuracy81.7 | 477 | |
| Image Classification | SUN397 | Accuracy72.8 | 425 | |
| Text-to-Image Retrieval | Flickr30k (test) | Recall@146.3 | 423 | |
| Image-to-Text Retrieval | Flickr30k (test) | R@160.4 | 370 | |
| Image Classification | CIFAR100 | Accuracy38.7 | 331 | |
| Classification | Cars | Accuracy3.8 | 314 |