Abstract
Foundation image-text models such as CLIP with zero-shot capabilities enable a wide array of applications. MobileCLIP is a recent family of image-text models at 3-15ms latency and 50-150M parameters with state-of-the-art zero-shot accuracy. The main ingredients in MobileCLIP were its low-latency and light architectures and a novel multi-modal reinforced training that made knowledge distillation from multiple caption-generators and CLIP teachers efficient, scalable, and reproducible. In this paper, we improve the multi-modal reinforced training of MobileCLIP through: 1) better CLIP teacher ensembles trained on the DFN dataset, 2) improved captioner teachers trained on the DFN dataset and fine-tuned on a diverse selection of high-quality image-caption datasets. We discover new insights through ablations such as the importance of temperature tuning in contrastive knowledge distillation, the effectiveness of caption-generator fine-tuning for caption diversity, and the additive improvement from combining synthetic captions generated by multiple models. We train a new family of models called MobileCLIP2 and achieve state-of-the-art ImageNet-1k zero-shot accuracies at low latencies. In particular, we observe 2.2% improvement in ImageNet-1k accuracy for MobileCLIP2-B compared with MobileCLIP-B architecture. Notably, MobileCLIP2-S4 matches the zero-shot accuracy of SigLIP-SO400M/14 on ImageNet-1k while being 2× smaller and improves on DFN ViT-L/14 at 2.5× lower latency.
Introduction
While foundation models like CLIP have revolutionized zero-shot image classification and retrieval, their massive size and high latency make them impractical for on-device mobile applications. Previous work, specifically the original MobileCLIP, introduced "reinforced training"—a method of distilling knowledge from multiple large "teacher" models and synthetic caption generators into a small "student" model. However, the original recipe left performance on the table. MobileCLIP2 addresses three main gaps: the need for more powerful teacher models, the lack of diversity in synthetic captions, and architectural bottlenecks that occur when scaling efficient models to higher image resolutions.
Methods: Overhauling Reinforced Training
The core of this work is an overhaul of the Multi-Modal Reinforced Training (DR) pipeline. Instead of training on raw image-text pairs, the student model learns from a "reinforced" dataset that includes:
- Better Teacher Ensembles: The authors replaced older OpenAI teachers with an ensemble of models trained on the Data Filtering Network (DFN) dataset.
- Logit Scaling: A key technical insight was the importance of tuning the "temperature" (logit scale) during distillation. The optimal scale for distillation varies by teacher and is not necessarily the scale the teacher was originally trained with.
- Diverse Synthetic Captions: Rather than using a single caption generator, the authors fine-tuned CoCa (Contrastive Captioner) models on a variety of high-quality datasets (like MSCOCO and DOCCI). This increased caption diversity, which proved more effective than simply having "better" captions.
5-Stage Architecture for High Resolution
For larger variants (MCi3 and MCi4), the authors introduced a 5-stage design. By adding an extra stage with 4x downsampling, the model can process high-resolution images (e.g., 1024x1024) significantly faster than a standard 4-stage design of the same size, effectively redistributing the computational workload.
Key Results and Efficiency
MobileCLIP2 establishes a new state-of-the-art efficiency frontier for mobile-friendly vision-language models. Key findings include:
- Efficiency Frontier: MobileCLIP2-S4 matches the zero-shot accuracy of the much larger SigLIP-SO400M/14 on ImageNet-1k while being 2x smaller.
- Speed: MobileCLIP2-S4 outperforms DFN ViT-L/14 while running at 2.5x lower latency on an iPhone 12 Pro Max.
- Architecture Gains: MobileCLIP2-B shows a 2.2% improvement in ImageNet-1k accuracy over the original MobileCLIP-B architecture.
Discussion and Future Work
While DFN-based training is excellent for zero-shot classification, it sometimes lags behind DataComp-based models in retrieval tasks like Flickr30k, suggesting the choice of base dataset introduces specific biases. Future work includes extending context length beyond 77 tokens to support longer captions and further updating the reinforced recipe as even more powerful foundation models emerge as potential teachers.
Summary updated