Problem
Wildberries shoppers often have only a picture of what they want: a screenshot or a gallery photo, sometimes a poor one. They may not know the name, or typing is too slow. The service must find the match among about 400 million products in about 250 ms on average. Training photos are noisy.
Example from the article: a user uploads a handbag photo and gets matching handbag listings.
Solution in brief
A frozen SigLIP 2 encoder feeds an attention head trained with a Matryoshka (MRL) InfoNCE loss on the WB 200M dataset of cleaned seller and customer photos. Product vectors are computed offline and stored in Qdrant. Tag search and text refinement are extra heads trained to land in the same SigLIP 2 space, so the item index is never recomputed. The A/B test shows gains in GMV, orders, ARPPU and conversion.
Questions this case answers
- How to retrieve the best-matching item from a very large catalog using an image query under a strict latency budget
- How to train a compact embedding model whose vectors can be truncated to a smaller dimension without losing retrieval quality
- How to let a user adjust an image query with a short text without recomputing the item index
- How to find the right product in a 400-million-item catalog from a user's photo?
Tools and methods
- SigLIP 2 — frozen backbone shared by all pipelines; also filters duplicates and noise
- Attention head with MRL InfoNCE loss — retrieval head whose vector can be cut to 512, 256, 128 or 64 dimensions
- Qdrant (HNSW) — vector index of all products with on-the-fly rebuild
- YOLO-family detector and OCR — crop the object, read article numbers
- Gemma-3, Qwen 2.5 (VLM) — offline generation of text tags
- MLP head — projects tag and text-change embeddings into the SigLIP 2 space
Google or a one-time email code. No password.
