Problem
An online fashion retailer shows a "Similar" shelf next to each item. The first model scored a pair of items by a weighted sum of attribute matches (brand, color, price, category), with separate linear models per category. It was easy to explain. It scored attributes only (visual search ran separately), needed many per-category models and gave every user the same list.
Example from the article: in Lamoda's catalog of hundreds of thousands of items, a pink skirt should be close to a beige one, and a jacket photographed with white trousers should not pull trousers into the candidates.
Solution in brief
Two candidate generators feed one shelf: a fine-tuned image+text embedding trained with metric learning on order and session co-occurrence, and an off-the-shelf FashionCLIP image embedding. A clothing detector crops the photo before encoding. A CatBoost reranker trained on add-to-cart personalizes the merged list online. The A/B test showed +1.5% purchases.
Questions this case answers
- How to build item-to-item recommendations when similarity depends on several modalities and no explicit similarity labels exist
- How to combine several candidate generators with a personalized reranker under a tight online latency budget
- How to build a similar-items shelf for a fashion catalog that finds visual and semantic alternatives, not only attribute matches?
- How to train an item embedding from photo and text using orders and sessions as the definition of similar?
Tools and methods
- Metric learning (Circle Loss, Multi Similarity Miner) — trains the item embedding so that items from the same order or session are close.
- Image and text encoders (fashion-clip, rubert-tiny2) — produce two vectors per item that are concatenated.
- Clothing detector — crops the photo to the target item before encoding.
- CatBoost reranker — personalizes the candidates using item, user and user-item features.
- Aerospike, Hadoop, Airflow — daily batch computation and online serving.
Google or a one-time email code. No password.