Introduction
Large-scale Vision-Language Pre-trained (VLP) models, such as CLIP, have fundamentally changed computer vision by learning robust representations from hundreds of millions of image-text pairs. Despite their success, these models are often too resource-intensive for edge deployment. Furthermore, traditional knowledge distillation is hindered by the inaccessibility of the massive private datasets used for pre-training. BeamCLIP addresses these hurdles by enabling the transfer of high-quality visual representations from a giant multimodal teacher to a compact student model using only unlabeled images and a small set of text prompts.
Methodology
The BeamCLIP framework is built upon three innovative pillars designed to bridge the gap between multimodal teachers and vision-only students.
- Cross-modal Similarity Matching (CSM): Rather than direct feature regression, the student learns the relative relationships between images and text prompts. By matching the teacher's similarity distribution across various "prototypical anchor representations," the student inherits the teacher's semantic understanding.
- Context-based Prompt Augmentation (CPA): To resolve lexical ambiguity (e.g., "snapdragon" as a flower vs. a creature), CPA enriches simple prompts with context from sources like Wikipedia. This provides the teacher model with clearer semantic anchors, which is particularly vital for fine-grained classification tasks.
- Instance Similarity Matching (ISM): This objective ensures basic feature alignment by having the student directly regress the teacher's normalized image embeddings.
The training process typically begins with a self-supervised pre-training phase (e.g., using SwAV or SimCLR) to provide the student model with an initial grasp of visual structures.
Experimental Results
BeamCLIP was evaluated across diverse benchmarks, including ImageNet-1K, CIFAR, and fine-grained datasets like Flowers102.
On ImageNet-1K, a ResNet-18 student trained via BeamCLIP achieved a 66.2% top-1 linear probe accuracy. As shown in the figure above, this significantly outperforms vision-only self-supervised methods like SimCLR (51.8%) and SwAV (63.7%), approaching the performance of fully supervised training (69.8%). For larger architectures, BeamCLIP-RN50 achieved 75.0% accuracy, outperforming the original CLIP-RN50 while requiring substantially less data and training time.
Qualitative analysis further reveals that BeamCLIP-trained models exhibit a superior understanding of specific attributes, such as color and fine-grained categories, compared to standard CLIP variants of equivalent size.
Discussion and Conclusion
The success of BeamCLIP highlights the potential of using text as a stable reference point for knowledge transfer. By leveraging the aligned multimodal space of models like CLIP, high-quality visual features can be learned without the need for massive, proprietary datasets.
While the performance gap between BeamCLIP and standard self-supervised learning (SSL) methods narrows as training epochs increase, the efficiency and semantic richness of the transferred representations remain a significant advantage. Future research may explore automated context generation for prompts and the application of this framework to a wider variety of neural architectures beyond ResNets.
Summary updated