Mitigate the Gap: Investigating Approaches for Improving Cross-Modal Alignment in CLIP

Sedigheh Eslami, Gerard de Melo
6/25/2024
cs.CVcs.AIcs.CL

No official code found. Best implementation: sarahESL/AlignCLIP (68 stars, last commit 2025-03-01).

Abstract

Contrastive Language--Image Pre-training (CLIP) has manifested remarkable improvements in zero-shot classification and cross-modal vision-language tasks. Yet, from a geometrical point of view, the CLIP embedding space has been found to have a pronounced modality gap. This gap renders the embedding space overly sparse and disconnected, with different modalities being densely distributed in distinct subregions of the hypersphere. In this work, we aim at answering three main questions: 1. Does sharing the parameter space between the multi-modal encoders reduce the modality gap? 2. Can the gap be mitigated by pushing apart the uni-modal embeddings via intra-modality separation? 3. How do these gap reduction approaches affect the downstream performance? We design AlignCLIP, in order to answer these questions and through extensive experiments, we show that AlignCLIP achieves noticeable enhancements in the cross-modal alignment of the embeddings, and thereby, reduces the modality gap, while improving the performance across several zero-shot and fine-tuning downstream evaluations.

View on arXivView PDF

Code Implementations(1)

sarahESL/AlignCLIPCommunity100%

AlignCLIP: Improving Cross-Modal Alignment in CLIP (ICLR 2025)

681Shell, PythonApr 9, 20241 years ago
alignmentclipcross-modal

Similar Papers

Cite this paper

@article{eslami2024mitigate,
  title  = {Mitigate the Gap: Investigating Approaches for Improving Cross-Modal Alignment in CLIP},
  author = {Sedigheh Eslami and Gerard de Melo},
  year   = {2024},
  eprint = {2406.17639},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.17639v3},
  journal = {ICLR 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2406.17639.svg)](https://codeofpaper.com/paper/2406.17639)

Discussion