01 — The protocol

Image and text queries follow two separate protocols

An encoder turns an image or text into a list of numbers called a vector or embedding. The engine compares these vectors to retrieve nearby products. In the image protocol, each image serves as a query and a retrieved product counts as relevant when it shares the query category.

For text retrieval, the category name becomes the query after being removed from indexed text. The model must therefore retrieve products from the other information in their descriptions.

Sample sizes differ between tasks: 1,880 Amazon Berkeley Objects products and 1,000 H&M products for images, versus 9,232 and 20,000 for text. Models are compared within each protocol; image and text scores do not measure the same task on the same sample.

Precision@K measures the proportion of relevant products among the first K results; Recall@K measures the share of the catalog’s relevant products recovered among those results. NDCG@10 also evaluates their order, giving more weight to relevant products placed near the top.

02 — Image search

FashionCLIP improves ranking on both catalogs

On Amazon Berkeley Objects, NDCG@10 rises from 0.618 with CLIP to 0.666 with FashionCLIP, a relative gain of about 7.9%. On H&M, it rises from 0.876 to 0.916, about 4.6%.

Scores also differ substantially between catalogs. A catalog with many items per category offers more neighbors that count as relevant. Models should therefore be compared on common data before generalizing their ranking.

03 — Text search

The dedicated text model retains an advantage

On Amazon Berkeley Objects, NDCG@10 is 0.076 for CLIP, 0.296 for FashionCLIP and 0.622 for OpenAI text-embedding-3-small. On H&M, the values are 0.557, 0.638 and 0.727 respectively.

FashionCLIP’s specialization helps in fashion. Training objectives offer a plausible explanation: aligning images and descriptions does not prepare a model for exactly the same task as retrieving products from written queries. The benchmark observes the gap without causally isolating every mechanism.

04 — The decision

The two tasks favor different encoders

On these two catalogs, with category as the relevance criterion, results favor FashionCLIP for image queries and the OpenAI text model for written queries. A shared representation might support combining a photo and text in one query, but that use is not evaluated here.

Here, shared category acts as the relevance criterion. It does not fully measure perceived resemblance or recommendation usefulness. Human judgments, multilingual catalogs and category-level analysis would bring evaluation closer to the intended experience.