05Applied AI · Public benchmark · Read 4 min
Select an embedding model by task, not by popularity
Two reproducible protocols on public catalogues show that one encoder does not win across semantic search and visual similarity.
THE STARTING POINTThe best representation depends on the task: a dedicated text encoder for semantic search and a domain-specific vision-language model for visual similarity.
CONTEXTA multimodal search and recommendation system can easily inherit a model choice based on general reputation. I helped compare representations across two distinct uses and two public catalogues—Amazon Berkeley Objects and H&M—so the architecture decision could rest on a measurable protocol.
SUMMARYThe benchmark separates text-to-product retrieval from image-to-image similarity. For text, category names are removed from indexed descriptions to test whether the model truly bridges intent and product content. For images, category acts as a relevance proxy and that approximation is documented explicitly. P@K, R@K and NDCG@K compare CLIP, FashionCLIP and a dedicated text encoder.
30-second read
The project, evidence and decision.
- Problem
- Select embeddings for textual search and visual similarity.
- My role
- Protocol, dataset preparation, execution, metrics and analysis.
- Scale
- Two tasks and two public catalogues: ABO and H&M.
- Result
- 62.2% and 72.7% text NDCG@10; +4.8 and +4.0 points for image retrieval.
- Decision
- Use a specialized encoder per task rather than one universal space.
- Status
- Reproducible benchmark on public data.
Key diagram
Two tasks, two encoder families
01 · IMAGE → IMAGEVisual recommendation
CLIP0.618
FashionCLIP0.666
CLIP · H&M0.876
Fashion · H&M0.916
+4.8 pp FashionCLIP on Amazon
NDCG@10→HIGHER = BETTER
02 · TEXT → PRODUCTSemantic search
CLIP0.076
FashionCLIP0.296
OpenAI0.622
CLIP · H&M0.556
Fashion · H&M0.638
OpenAI · H&M0.727
0.727 OpenAI · H&M
DECISIONOne encoder per taskFashionCLIP → image · OpenAI → text
The benchmark separates text and visual retrieval. Rankings show that task-specific encoders are more useful than one universal model.
An anonymized case study describing the methods and decisions.Contribution & decision05
How do you select an embedding model for two different multimodal tasks?
I helped separate text-to-product and image-to-image retrieval into two reproducible protocols on public catalogues. The results show that a dedicated text encoder leads semantic search while FashionCLIP improves visual similarity. The architecture decision is therefore to specialize representations by use case.
Evidence & limitsNDCG@10 across two public datasets
Precision@K and Recall@K
Qualitative review of the category proxy
TakeawaysThe findings support a task-specific architecture: the OpenAI encoder reaches 62.2% NDCG@10 on ABO and 72.7% on H&M for text; FashionCLIP improves visual NDCG@10 by 4.8 and 4.0 points over CLIP.
- FashionCLIP wins on the tested visual ranking; the dedicated text encoder wins on text queries.
- Gains are ranking results on two public catalogues rather than conversion uplifts.
- Use the benchmark to choose an architecture, then add human relevance, diversity and serving cost.
01 — Product question
Can one vector space serve every intent?
Semantic search starts with a written query and must retrieve relevant products. Visual recommendation starts with an image and must find similar items. Both rely on embeddings, but they do not necessarily demand the same representational properties.
The benchmark therefore evaluates the two uses separately. This avoids a global average hiding a model that is excellent on one modality and weak on the other.
02 — Protocol
Two public datasets and ranking metrics make the comparison reproducible.
Experiments use Amazon Berkeley Objects and H&M. In semantic search, category terms are removed from indexed text to reduce lexical shortcuts. In visual retrieval, each image queries the remaining products and category provides a reproducible relevance signal.
Precision@K, Recall@K and NDCG@K measure top-K accuracy, coverage and ordering quality. Qualitative inspection complements those scores because two products in the same category are not necessarily good visual neighbours.
03 — Results
The winning model changes with the modality.
For text queries, the OpenAI encoder reaches 62.2% NDCG@10 on ABO and 72.7% on H&M in this protocol. It outperforms the tested vision-language models at connecting written intent with product descriptions.
For image similarity, FashionCLIP improves NDCG@10 by 4.8 points on ABO and 4.0 points on H&M over CLIP. The gain repeats across both catalogues, strengthening the case for a fashion-specialized model on this task.
04 — Decision
Compose the architecture by use case instead of seeking one universal winner.
The pipeline can retain a text encoder for semantic search and a specialized vision-language encoder for visual neighbours. The benchmark becomes an architecture decision rather than just a score table.
Category remains the main proxy limitation and is complemented here by qualitative inspection. A later product evaluation must include relevance judgments, diversity, latency and observed online behavior.