r/MachineLearning • • Jul 28 '26

Discussion How to deal with text only vector search across multimodal embedding space? [D]

My data set is a list of images, each equipped with a a couple sentences of text.

A user would search primarily with text only. My default approach is using BM25, but how would I facilitate searching with a vector DB and a model that embeds vectors in a multimodal combined space?

Here is my dilemma:

Do I embed text part and image part as 2 separate individual vectors or do I combine them into 1 vector?

If a typical search happens with text only, that would immediately deprioritize all image-only embeddings and only good text matches would float up. This is why I am now considering embedding text and images together but would prefer to hear more opinions on this. Thanks.

6 Upvotes

6 comments sorted by

1

u/general_landur Jul 28 '26

You could have some fun with this: https://arxiv.org/pdf/2602.06205

4

u/[deleted] Jul 28 '26

[removed] — view removed comment

3

u/AdaObvlada Jul 29 '26

I think you are describing hybrid search with lexical text and vector text, but that defeats the purpose of using a multimodal approach. I would need to first summarize images with chat completion model and then use text only model to encode text and text image descriptions.

1

u/AdaObvlada Jul 28 '26

So are you boosting image vector rankings so they have a chance to be shown alongside text search?