MLGuerrillaStart M1 →
Embeddings and retrieval·15 min read·Updated 24 September 2026

Multimodal embeddings

A multimodal embedding model puts text and images into the same vector space, so a sentence can find a photo. Putting them in one space turns out not to mean you can put them in one ranked list.

A multimodal embedding model takes more than one kind of input, usually text and images, and returns a vector for each one. The vectors all have the same length and live in the same space, so the distance between a sentence's vector and a photo's vector is something you can compute.

That is the whole promise. Embed your product photos once, embed a shopper's typed description, and the nearest photos are the ones they meant. CLIP and SigLIP are the models that made it work, and the newest generation from Google and Cohere extends it to video, audio and whole PDF pages.

What it is

One space is real, and one ranked list is not

The natural thing to build once you hear "one space" is a single index holding everything you own, searched with one query. The figure is that index, built from this site with one model, google/siglip-base-patch16-224, over 287 text passages and 13 images. It is one checkpoint on one small library, so it shows what can go wrong with a single ranked list, and it can't tell you how large the problem is for a different model.

A three-step figure titled "One space does not mean one ranked list", from 287 text passages and 13 images from this site embedded by google/siglip-base-patch16-224 at 203M parameters. Step one shows the 287 text passages going through a text tower and the 13 images going through a vision tower, both arriving at one space of 768 numbers per item, described as 300 vectors you can rank against each other. Step two, headed how close things actually sit, gives the average cosine between every pair of the same kind and between every text and every image, drawn as three bars. Text against text is 0.621, image against image is 0.512, and text against image is 0.006, drawn in terracotta as a sliver. A line reads: text and images are in one space, and they are nearly at right angles to each other in it. Step three asks what that does to a single ranked list, showing for each of the eight questions the best score any text item reached and the best any image reached. For train a classifier on my own labels, the best text hit is 0.761 and the best image hit is 0.069. For why can't it predict the next word, 0.810 and 0.055. For what makes image generation slow, 0.740 and 0.105. For find objects and draw boxes, 0.759 and 0.068. For search photos by typing a sentence, 0.745 and 0.069. For what attention does to each token, 0.769 and 0.059. For get a probability not text, 0.768 and 0.063. For what the model does with audio, 0.793 and 0.072. A closing line in terracotta says that across all eight questions, 0 of the 24 top-three slots went to an image. The caption reads: the two kinds of thing never compete, because they never land in the same range of scores.
The text bars and the image bars are the same measurement on the same query. The gap between the two columns is the whole subject of this article.

Text sits close to text at an average cosine of 0.621. Images sit close to images at 0.512. Text sits at 0.006 from images, which is as close to unrelated as two directions get.

So for this model the index works as built and the ranked list is useless. Across the eight questions, all 48 of the top-six slots went to a text passage, and the best-scoring image on any question reached 0.105 against that question's best text hit of 0.740. No image was ever going to appear.

This separation has a name, the modality gap. Liang et al. (2022) show that images and text sit "at arm's length" in the shared space of models such as CLIP, and trace it to two causes. A freshly initialized encoder already puts its outputs in a narrow cone, so the two towers start apart, and contrastive training then keeps them "separate by a certain distance, which is influenced by the temperature parameter in the loss function". CLIP-style training pulls a photo towards its own caption and pushes it away from other captions, and nothing in that objective asks a photo to land near text in general.

How wide the gap is varies by model and by training recipe, and the hosted models later on this page are trained to make mixed lists work. So the SigLIP run is a reason to measure your own model, and it doesn't settle what every multimodal model does.

Keep reading

The rest of this article is free with an account

Create a free account to read the remaining 6 sections. It takes about twenty seconds and there's nothing to pay. The same account opens the slide decks and CV reviews.

  1. 02Where multimodal embeddings show up
  2. 03Two towers, the gap between them, and what to do about it
  3. 04The models you'll see, as of September 2026
  4. 05Choosing, and when one index is the wrong shape
  5. 06How to try it
  6. and 1 more