# Poster 29170

- Kind: Poster
- Talk page and recording: https://iclr.cc/virtual/2025/poster/29170

> Transcript of the talk's recording (session_asr), made by speech recognition or taken from the host's captions. It may contain errors. The words are the speakers'; listen to the recording on the talk's page before quoting it.

Hello everyone, my name is Cedida Ismami and today I will be presenting our work Messicate the Gap, Improving the Crash Model Alignment in CLIP. Despite outstanding performance of CLIP, recent work shows the existence of a profound modality gap in CLIP's embedding space, meaning that each modality populates a separate small dense sub-region of the embedding space.
Previous work has attempted at closing this gap by translating the embeddings of one modality to those of the other modality. Such translations can harm the relative distances of the unpaired samples and therefore can damage the downstream performance.
In contrast, a line clip aims at improving the gap by two main refinements. First, by sharing the parameter space between the language and vision encoders to increase adaptability towards shared sub-regions of the embedding space, and second, by imposing an intra-modality separation objective for encouraging the embedding of one modality to be reasonably pushed away from each other and towards the opposite modality.
In those screaming coders, each modality has a separate disentangled set of parameters for optimization. This can lead to distinct encoding functions that map each modality to completely different subregions of the embedding space. Therefore, in shared clip, we seek to align the outputs of division and language encoding functions by increasing the overlap of the learnable parameters to the extent possible and thereby mitigate the gap.
This results in sharing all the transformer layers and the projection layer between the two modalities. Furthermore, we hypothesize that the reason of each modality residing in a distinct density region of the embedding space is that CLIP only optimizes the cross-modal contrastive loss. The contrastive loss
The Kirchhoff's model loss alone is not sufficient for imposing meaningful distances within each modality and therefore cannot mitigate dense unimodal publications. Therefore, we seek to enforce an intramodalities separation loss that encourages visual embeddings to be pushed away from each other and towards the opposite modality.
We do so by optimizing an influence CE loss in which the image text pairs are the positive samples and any pairwise combination of the visual samples form the negative distribution. However, we should notice that some visual samples might be intrinsically similar and therefore their distances shouldn't get immensely maximized.
To account for this, we regularize the denominator in the loss function with respect to the pairwise semantic distances of the negative samples. We use the pairing technique samples as a supervision signal and using a pre-trained text encoder for encoding them, we calculate the semantic distances as the regularizer.
We conduct our experiments using the conceptual captions 12 million data set for the training set and train the original clip model, shared clip model and aligned clip model from scratch. For ablations we also train a version of aligned clip with the intra-modalities suppression loss but without sharing the parameters. This is denoted as Inception in our results.
As can be seen, our refinements successfully improve the alignment scores and therefore reduce some delta gap. Furthermore, in the dozens visualization, we observe that already with shared clip embeddings start to disentangle and spread out from the dense distributions. In a line clip, we observe the best spread and alignments in the cross-modal samples.
Our experiments on the downstream zero -shot image classification, classification with linear probing and classification with natural distribution shift indicate the effectiveness of both shared clip and in-domain dataset separation with downstream tasks. In addition to classification, we evaluate our models in the zero-shot and fine-tune to model retrieval task and show that both refinements improve the task in comparison to the original clip model.
In our paper, we also provide qualitative examples for better understanding of the neighborhoods in each embedding space. Thanks for listening and if you have any questions, please drop by our poster session.
