Assessing and Learning Alignment of Unimodal Vision and Language Models

Le Zhang, Qian Yang, Aishwarya Agrawal

Abstract

How well are unimodal vision and language models aligned? Although prior work have approached answering this question, their assessment methods do not directly translate to how these models are used in practical vision-language tasks. In this paper, we propose a direct assessment method, inspired by linear probing, to assess vision-language alignment. We identify that the degree of alignment of the SSL vision models depends on their SSL training objective, and we find that the clustering quality of SSL representations has a stronger impact on alignment performance than their linear separability. Next, we introduce Swift Alignment of Image and Language (SAIL), a efficient transfer learning framework that aligns pretrained unimodal vision and language models for downstream vision-language tasks. Since SAIL leverages the strengths of pretrained unimodal models, it requires significantly fewer (6%) paired image-text data for the multimodal alignment compared to models like CLIP which are trained from scratch. SAIL training only requires a single A100 GPU, 5 hours of training and can accommodate a batch size up to 32,768. SAIL achieves 73.4% zero-shot accuracy on ImageNet (vs. CLIP's 72.7%) and excels in zero-shot retrieval, complex reasoning, and semantic segmentation. Additionally, SAIL improves the language-compatibility of vision encoders that in turn enhance the performance of multimodal large language models. The entire codebase and model weights are open-source: https://lezhang7.github.io/sail.github.io/

Introduction

In the current AI landscape, exceptional unimodal models exist—vision models like DINOv2 provide deep image understanding, while language models like GTE excel at text nuances. However, standard multimodal models (like CLIP) are typically trained from scratch on massive, noisy datasets. This approach is computationally expensive and often results in text encoders that are weaker than their pure-language counterparts. This paper addresses two critical questions: how to measure the inherent alignment between separate models without expensive retraining, and whether we can build state-of-the-art multimodal models by efficiently "stitching" existing unimodal models together.

Methodology

Alignment Probing

To quantify latent compatibility between modalities, the authors propose alignment probing. Inspired by linear probing in self-supervised learning, this method freezes the vision and language backbones and trains only a lightweight linear layer to connect them using a contrastive loss. This serves as a "stress test" to see how much latent compatibility exists between the two modalities.

Comparison between standard Linear Probing and the proposed Alignment Probing.

SAIL: Swift Alignment of Image and Language

To move beyond simple probing, the researchers developed SAIL, a framework that aligns off-the-shelf unimodal models. Key technical choices include:

  • Non-linear Alignment: Using a Gated Linear Unit (GLU) instead of a simple linear layer significantly boosts performance.
  • Sigmoid Loss: Adopting a binary classification-based Sigmoid loss (similar to SigLIP) improves training stability and efficiency at large batch sizes.
  • Pre-encoding: Pre-calculating image and text embeddings allows for training with a massive batch size (32,768) on a single A100 GPU.
  • Data Augmentation: High-quality synthetic captions generated by LLMs (ShareGPT4) provide richer semantic signals than raw web alt-text.

Key Insights: Clustering and Reasoning

A primary finding is that a vision model’s k-NN classification accuracy (a measure of representation clustering) correlates much more strongly with alignment potential than its linear probing accuracy. If a model clusters similar concepts well in latent space, it is easier to map language to those clusters. As shown in Figure 3, there is a clear linear correlation between unimodal performance metrics and alignment retrieval performance.

Correlation between unimodal performance (ImageNet k-NN for vision, MTEB for language) and alignment retrieval performance.

Furthermore, the study reveals that language is often the reasoning bottleneck. Standard CLIP models frequently fail at complex compositional logic (e.g., Winoground). SAIL demonstrates that using text encoders trained on massive natural language corpora is the key to solving these logic puzzles.

Experimental Results

SAIL demonstrates remarkable efficiency and performance across several benchmarks:

  • Superior Performance: SAIL-L-NV2 achieves 73.4% zero-shot accuracy on ImageNet, surpassing CLIP-L (72.7%) despite using roughly 17x less data (23M vs 400M pairs).
  • Extreme Efficiency: SAIL can be trained in ~5 hours on a single A100 GPU, whereas training CLIP from scratch requires hundreds of GPUs for weeks.
  • MLLM Boost: When SAIL’s vision encoder was integrated into the LLaVA-1.5 framework, it outperformed the standard CLIP-based version in 5 out of 7 major benchmarks, showing that SAIL learns highly "language-compatible" visual features.

Conclusion and Limitations

SAIL provides a modular and efficient pathway to high-performance multimodal models. However, limitations remain in Optical Character Recognition (OCR) tasks, likely because the base vision model (DINOv2) was not specifically trained for text-within-images. Future work will investigate larger language anchors and methods to improve OCR capabilities without losing general-purpose visual strengths.

Summary updated

Abstract

How well are unimodal vision and language models aligned? Although prior work have approached answering this question, their assessment methods do not directly translate to how these models are used in practical vision-language tasks. In this paper, we propose a direct assessment method, inspired by linear probing, to assess vision-language alignment. We identify that the degree of alignment of the SSL vision models depends on their SSL training objective, and we find that the clustering quality of SSL representations has a stronger impact on alignment performance than their linear separability. Next, we introduce Swift Alignment of Image and Language (SAIL), a efficient transfer learning framework that aligns pretrained unimodal vision and language models for downstream vision-language tasks. Since SAIL leverages the strengths of pretrained unimodal models, it requires significantly fewer (6%) paired image-text data for the multimodal alignment compared to models like CLIP which are trained from scratch. SAIL training only requires a single A100 GPU, 5 hours of training and can accommodate a batch size up to 32,768. SAIL achieves 73.4% zero-shot accuracy on ImageNet (vs. CLIP's 72.7%) and excels in zero-shot retrieval, complex reasoning, and semantic segmentation. Additionally, SAIL improves the language-compatibility of vision encoders that in turn enhance the performance of multimodal large language models. The entire codebase and model weights are open-source: https://lezhang7.github.io/sail.github.io/
BibTeX
@inproceedings{zhang2025assessing,
  author = {Le Zhang and Qian Yang and Aishwarya Agrawal},
  title = {{Assessing and Learning Alignment of Unimodal Vision and Language Models}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  doi = {10.1109/cvpr52734.2025.01361},
}
Figure