Harnessing Frozen Unimodal Encoders for Flexible Multimodal Alignment

Mayug Maniparambil, Raiymbek Akshulakov, Yasser Abdelaziz Dahou Djilali, Sanath Narayan, Ankit Singh, Noel E. O'Connor

Abstract

This paper introduces a framework for building high-performance vision-language models by training only tiny "projector" layers between frozen pre-trained unimodal encoders. By leveraging the inherent semantic similarities between well-trained vision and text models, the authors achieve 76% zero-shot accuracy on ImageNet—surpassing standard CLIP—while using 20x less data and 65x less compute.

Introduction

Contrastive models like CLIP have revolutionized computer vision, but they impose significant "taxes" on researchers. The Compute Tax necessitates massive datasets and thousands of GPU hours for training from scratch. The Inflexibility Tax locks components together; adapting to a new language or longer text typically requires full system retraining. Furthermore, CLIP’s vision encoders are often optimized for global image summaries, which limits their performance on "dense" tasks like semantic segmentation.

This research addresses these challenges by asking: Can we "plug and play" existing, high-quality unimodal encoders (like DINOv2 for vision or RoBERTa for text) and stitch them together efficiently?

Methods: The Freeze-Align Framework

The authors propose a three-step framework for aligning frozen unimodal models:

  1. Encoder Pair Selection (CKA): Before training, the authors use Centered Kernel Alignment (CKA) to measure the semantic similarity between frozen embedding spaces. They discovered that a high CKA score is a strong predictor of how easily two models can be aligned, allowing for informed encoder selection. CKA vs. Ease of Alignment: Higher CKA scores correlate with lower CLIP loss after 500 iterations, indicating easier alignment. Source, p. 2
CKA vs. Ease of Alignment: Higher CKA scores correlate with lower CLIP loss after 500 iterations, indicating easier alignment.
  1. Concept-Dense Data Curation: Instead of using massive, noisy web-scraped datasets, the team curates a smaller, "concept-rich" dataset. They use approximately 3,000 unique concepts to pull the most relevant 20 million image-caption pairs from the LAION pool, prioritizing diversity over raw scale.
  2. Lightweight Projector Training: The vision and text encoders are kept completely frozen. The system only trains a small MLP-based "Token Projector" (approximately 11M parameters) that maps the local and global tokens of one modality into the space of the other using a standard contrastive loss. Architecture of the Freeze-Align framework, highlighting the use of frozen encoders and trainable local/global projection layers. Source, p. 4
Architecture of the Freeze-Align framework, highlighting the use of frozen encoders and trainable local/global projection layers.

Key Insights

  • The "Platonic" Hypothesis: The paper builds on the idea that high-performing models, regardless of modality, eventually converge toward a similar internal representation of the world. Because these frozen spaces are already semantically similar, a simple projection is often sufficient for alignment.
  • Frozen is Better for Localization: Unimodal vision encoders like DINOv2 are trained to understand patch-level features. By keeping them frozen, the resulting multimodal model retains superior spatial awareness for tasks like segmentation compared to standard CLIP.
  • Modular Flexibility: Because encoders are frozen, they are modular. One can swap a standard English text encoder for a multilingual one (like MpNet) to achieve strong cross-lingual performance without seeing non-English training pairs.

Results and Performance

The proposed approach demonstrates that efficiency does not come at the cost of performance:

  • Zero-Shot Accuracy: The best model (DINOv2 + All-Roberta-Large) achieved 76.1% zero-shot accuracy on ImageNet, surpassing both the original OpenAI CLIP (75.3%) and LAION-CLIP (72.7%).
  • Compute Efficiency: This performance was reached with only 400 A100 GPU hours, a 65-fold reduction compared to the estimated 20,000+ hours required for full CLIP training.
  • Dense Prediction: On Pascal VOC, the model achieved a 31.37 mIoU, a significant improvement over OpenAI CLIP’s 23.46, validating the benefits of using unimodal vision features.
  • Long-Context Handling: Unlike the 77-token limit of standard CLIP, this framework successfully scales to retrieval tasks involving captions with over 1,000 words.

Limitations and Future Work

The framework's success is intrinsically tied to the quality of the frozen encoders; the projector cannot compensate for poorly trained unimodal models. Future research will explore more complex projection architectures and extend the framework to other modalities such as audio or video. Additionally, there is significant potential in integrating these aligned encoders into Large Language Models (LLMs) for more efficient vision-language reasoning.

Summary updated

BibTeX
@inproceedings{maniparambil2025harnessing,
  author = {Mayug Maniparambil and Raiymbek Akshulakov and Yasser Abdelaziz Dahou Djilali and Sanath Narayan and Ankit Singh and Noel E. O'Connor},
  title = {{Harnessing Frozen Unimodal Encoders for Flexible Multimodal Alignment}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  doi = {10.1109/cvpr52734.2025.02778},
}
Figure