Problem
A marketplace that wants visual search, auto-tagging or image-based recommendations has to pick an embedding model for product photos. Many models exist, in three families: supervised, self-supervised and image-text. Foundation models are not tuned for e-commerce, and full fine-tuning needs GPUs and ML expertise.
Example from the article: leboncoin runs a visual search feature and benchmarked the model families on six e-commerce datasets before deciding how to adapt them.
Solution in brief
Benchmark three ways of getting embeddings (pretrained, top-tuned, fully fine-tuned) on the same datasets, scoring image-to-image retrieval and classification. Top-tuning means freezing the model and training only a small classifier on its embeddings. Image-text models (SigLIP) retrieve best, and top-tuning gives most of the fine-tuning gain at a fraction of the cost.
Questions this case answers
- How to choose between using a pretrained representation model as is, training a light head on frozen features, and full fine-tuning, given limited labels and compute
- How to benchmark candidate embedding models for similarity retrieval across several domains before committing to one
- How to choose between pretrained, top-tuned and fully fine-tuned image embeddings for visual search in a marketplace?
- How to get better image-to-image retrieval without the cost of fine-tuning a whole vision model?
Tools and methods
- Pretrained embeddings — use a model as is, no training.
- Top-tuning — train a small MLP head on frozen embeddings.
- Full fine-tuning — update all weights on labeled domain data.
- SigLIP, CLIP — image-text contrastive models, strongest for retrieval.
- DINO, DINOv2, MAWS, MAE — self-supervised models that need only images.
- ViT, ConvNeXt, ResNet — supervised models, best for classification after fine-tuning.
- Milvus — nearest-neighbor search over embeddings; MLflow — logging of all metrics.
Google or a one-time email code. No password.