CatLIP: CLIP-level Visual Recognition Accuracy with 2.7x Faster Pre-training on Web-scale Image-Text Data
Sachin Mehta, Maxwell Horton, Fartash Faghri, Mohammad Hossein Sekhavat, Mahyar Najibi, Mehrdad Farajtabar, Oncel Tuzel, Mohammad Rastegari
TL;DR
CatLIP tackles the computational bottleneck of CLIP-style pre-training by reframing image-text pre-training as a multi-label classification task using WordNet synsets derived from captions. It achieves about $2.7\times$ faster pre-training on web-scale data while preserving CLIP-level transfer accuracy across ImageNet-1k, Places365, and downstream tasks like detection and segmentation. The approach scales data and model size, enabling data-efficient transfer learning via classifier-embedding transferInit and achieving competitive results with standard CLIP-based methods on diverse tasks. The work provides open-source code and weights to enable broader adoption of efficient image-text pre-training on noisy web data.
Abstract
Contrastive learning has emerged as a transformative method for learning effective visual representations through the alignment of image and text embeddings. However, pairwise similarity computation in contrastive loss between image and text pairs poses computational challenges. This paper presents a novel weakly supervised pre-training of vision models on web-scale image-text data. The proposed method reframes pre-training on image-text data as a classification task. Consequently, it eliminates the need for pairwise similarity computations in contrastive loss, achieving a remarkable $2.7\times$ acceleration in training speed compared to contrastive learning on web-scale data. Through extensive experiments spanning diverse vision tasks, including detection and segmentation, we demonstrate that the proposed method maintains high representation quality. Our source code along with pre-trained model weights and training recipes is available at \url{https://github.com/apple/corenet}.
