[Paper Review] Transferring Pre-trained Multimodal Representations with Cross-modal Similarity Matching
This paper proposes BeamCLIP, a method to transfer visual representations from a large pre-trained vision-language model (CLIP-ViT) to a small student network (e.g., ResNet-18) using cross-modal similarity matching (CSM) and context-based prompt augmentation (CPA). BeamCLIP achieves 66.2% top-1 linear probe accuracy on ImageNet-1K, outperforming vision-only self-supervised learning (e.g., SimCLR: 51.8%, SwAV: 63.7%) and approaching supervised learning performance (69.8%).
Despite surprising performance on zero-shot transfer, pre-training a large-scale multimodal model is often prohibitive as it requires a huge amount of data and computing resources. In this paper, we propose a method (BeamCLIP) that can effectively transfer the representations of a large pre-trained multimodal model (CLIP-ViT) into a small target model (e.g., ResNet-18). For unsupervised transfer, we introduce cross-modal similarity matching (CSM) that enables a student model to learn the representations of a teacher model by matching the relative similarity distribution across text prompt embeddings. To better encode the text prompts, we design context-based prompt augmentation (CPA) that can alleviate the lexical ambiguity of input text prompts. Our experiments show that unsupervised representation transfer of a pre-trained vision-language model enables a small ResNet-18 to achieve a better ImageNet-1K top-1 linear probe accuracy (66.2%) than vision-only self-supervised learning (SSL) methods (e.g., SimCLR: 51.8%, SwAV: 63.7%), while closing the gap with supervised learning (69.8%).
Motivation & Objective
- To enable effective knowledge distillation from large pre-trained vision-language models (e.g., CLIP-ViT) to small, practical student networks without access to the original training data.
- To address the challenge of lexical ambiguity in text prompts that can degrade alignment in the teacher model’s embedding space.
- To improve zero-shot and linear probe performance on small models by transferring rich, multi-modal representations from large-scale pre-trained models.
- To develop a scalable, data-efficient method for transferring high-quality visual representations without retraining from scratch.
Proposed method
- Cross-modal similarity matching (CSM) trains the student model to preserve the relative angular similarity distribution between image and text embeddings as learned by the teacher (CLIP-ViT), without requiring the original paired data.
- Context-based prompt augmentation (CPA) enhances text prompt encoding by injecting contextual information, reducing lexical ambiguity and improving semantic alignment in the embedding space.
- The student network (e.g., ResNet-18 or ResNet-50) is trained using contrastive learning with a cross-entropy loss over the similarity distribution matched to the teacher’s output.
- The method uses a teacher-student distillation framework where the student learns to mimic the relative similarity structure of the teacher’s image-text embeddings across multiple text prompts.
- The approach is unsupervised and does not require fine-tuning on target dataset labels, relying solely on the pre-trained teacher’s representation structure.
- The method is evaluated across multiple datasets including CIFAR-10, CIFAR-100, Flowers102, and ImageNet-1K, demonstrating robustness under various prompt conditions.
![Figure 1: ImageNet-1K top-1 linear probe accuracy on ResNet-18 representations. By transferring CLIP-ViT [ 32 ] vision-language representations to ResNet-18, the BeamCLIP can learn better visual representations than vision-only self-supervised learning (SSL) methods in terms of the linear probe accu](https://ar5iv.labs.arxiv.org/html/2301.02903/assets/figures/beamclip_imagenet_linear_probe_rn18.png)
Experimental results
Research questions
- RQ1Can a small student model achieve better linear probe accuracy on ImageNet-1K by transferring representations from a large pre-trained vision-language model like CLIP-ViT?
- RQ2How effective is cross-modal similarity matching (CSM) in transferring relative similarity structures from a teacher model to a student without access to the original training data?
- RQ3To what extent does context-based prompt augmentation (CPA) improve the alignment and robustness of text embeddings in the transfer process?
- RQ4How does BeamCLIP compare to vision-only self-supervised learning (SSL) methods like SimCLR and SwAV in terms of transfer performance?
- RQ5Can BeamCLIP generalize to datasets with mismatched or randomly sampled class names, and how does it perform under such conditions?
Key findings
- BeamCLIP achieves a top-1 linear probe accuracy of 66.2% on ImageNet-1K using ResNet-18, surpassing SimCLR (51.8%) and SwAV (63.7%) in the unsupervised setting.
- The method closes over 90% of the performance gap between self-supervised learning and supervised pre-training, approaching the 69.8% accuracy of supervised models.
- With context-based prompt augmentation (CPA), BeamCLIP achieves 75.86% top-1 accuracy on Flowers102, demonstrating strong zero-shot generalization under unseen prompt conditions.
- Even when text prompts are randomly sampled from ImageNet-1K class names (not matching the target dataset), BeamCLIP maintains strong performance, indicating robustness to prompt mismatch.
- Qualitative results show that BeamCLIP-RN50 significantly improves text-image retrieval accuracy over CLIP-RN50, with fewer incorrect matches in top-5 retrieval.
- Ablation studies confirm that both CSM and CPA are essential components, with CSM providing the core similarity transfer and CPA enhancing prompt quality and alignment.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.