# Poster 29411

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

> 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.

Hi everyone, I'm Marco Mistretta, from the University of Florence, and if you ever used Clip to compute image -to-image or text-to-text similarities, then you should check out our paper, titled Cross the Gap. In this work we explore a very common but unfortunately overlooked issue that affects contrastively pre-trained VLMs like Clip. This problem we call intramodal misalignment.
But before explaining what intramodal misalignment really is, let's start with a quick recap of how clip is trained. Like most vision language models, clip is trained on massive quantities of image text pairs using a contrastive loss. Matched image text pairs are put closer while unmatched ones are pushed apart.
After this massive training we expect something like what you see in this figure : a textual prompt like "a dog smiling" will be close to many dog images and far from cat. Similarly, a textual prompt like "a very cute cat" will align with cat photos and not dogs. But here's the catch: this type of training does not care at all about distances within a single modality, it doesn't not assure
That two similar images or two similar texts are close to each other. This means that an image of a dog might end up at distance d_ one from a cat and at distance d_ two from another dog, where d_ one is less than d_ two. We found this gap in both image and text spaces, so we gave it the name of Intra Modal Misalignment.
Here's the twist: even though CLIFF was designed for intermodal tasks, many applications actually use it intramodally.
Raise your hand if you ever used the image encoder for image-to-image retrieval like in this figure. But remember that because of this misalignment those comparisons can be uncalibrated. So we ask ourselves: what if we could flip the image query into the other modality, to use clips intermodal comparison instead of the intramodal uncalibrated ones? And that's the idea behind our modality inversion-based approaches.
If this works better, it means the misalignment is real.
So we adapt OTI, which was proposed for a completely different scenario and use case and we newly introduce OVI. With OTI we want to represent an image as a text-like feature without training any model or using external data. Instead we want only to optimize a set of pseudotokens directly minimizing the cosine distance with a query image feature given in it. With OVI we want to do the same thing but from the opposite.
On the opposite side, representing visually a text given in input. So we initialize some pseudo-patches, trainable vectors that live in the patch embedding space of CLIP's image encoder, the purple unlocked square in the figure, and these patches are optimized so that when passed through the frozen image encoder, the output is close to the original text feature. I want to highlight that both OVI and OVI operate at single feature level.
are completely training data-free and require no retraining or adapters.
Let's look at the results of applying OTI to image-to-image retrieval. Here we compare two approaches: the standard intramodal baseline, where query image features are compared directly with the gallery image features, and our intermodal approach, using OTI, where we invert the query image into the text space, and we compare it to the same gallery images of the intramodal baseline. For simplicity, in this slide we only report the average performance.
performance improvement using old evaluated benchmarks, but in the main paper you will find all experimental results; the gist is that the intermodal approach consistently outperforms the intramodal one across more than fifteen datasets covering a wide range of domains, from objects and animals to satellite imagery and fine grained categories. Remember that this improvement is not due to the better representation.
Because OTI uses the same clip feature, as you may expect, we observe the same phenomenon on the textural side as well, approaching text-to-text retrieval intramodally.
Again, despite no extra supervision or model adaptation, the intermodal approach outperforms the intramodal baseline consistently and significantly. This confirms that intramodal misalignment is not an isolated quirk, it's a structural consequence of CLIPs training's objective. Thank you for your attention and hope to see you in Singapore. Bye.
