[Paper Review] Deep Learning based Large Scale Visual Recommendation and Search for E-Commerce
The paper presents VisNet, an end-to-end CNN-based system for large-scale visual search and recommendations in e-commerce, trained with triplet ranking and deployed at Flipkart to handle 50M items and 2K queries per second.
In this paper, we present a unified end-to-end approach to build a large scale Visual Search and Recommendation system for e-commerce. Previous works have targeted these problems in isolation. We believe a more effective and elegant solution could be obtained by tackling them together. We propose a unified Deep Convolutional Neural Network architecture, called VisNet, to learn embeddings to capture the notion of visual similarity, across several semantic granularities. We demonstrate the superiority of our approach for the task of image retrieval, by comparing against the state-of-the-art on the Exact Street2Shop dataset. We then share the design decisions and trade-offs made while deploying the model to power Visual Recommendations across a catalog of 50M products, supporting 2K queries a second at Flipkart, India's largest e-commerce company. The deployment of our solution has yielded a significant business impact, as measured by the conversion-rate.
Motivation & Objective
- Motivate visual discovery as a core driver for fashion e-commerce and address limitations of text-based search and traditional recommenders.
- Develop a unified end-to-end architecture that jointly handles visual search and visual recommendations.
- Generate robust image embeddings that capture multi-level visual similarity (low- to high-level features).
- Scale the system to tens of millions of catalog items with high query throughput and low latency; ensure freshness of the index.
Proposed method
- Use a triplet-based deep ranking CNN architecture (VisNet) modeled after VGG-16 with parallel shallow convolution layers to capture both high-level and fine-grained details.
- Train on catalog image triplets and wild image triplets to learn embeddings where D(q,p) < D(q,n) via hinge loss.
- Generate training data with Basic Image Similarity Scorers (BISS) and human vetting; use in-class and out-of-class negatives for fine-grained and coarse distinctions.
- Localize objects in wild images with Faster R-CNN to feed cropped regions into VisNet for improved visual search in real-world photos.
- Deploy a production pipeline with a feature vector service, real-time ingestion, and a nearest-neighbor search over 512-D embeddings for scalable recommendations.
Experimental results
Research questions
- RQ1How can a unified deep learning model learn visual similarity suitable for both visual search and visual recommendations in fashion e-commerce?
- RQ2What training data generation and triplet sampling strategies yield robust fine-grained and coarse visual similarity?
- RQ3How can such a model be deployed at internet scale (50M items, high ingestion rate, low latency) while maintaining accuracy?
- RQ4Does object localization of wild images improve end-to-end visual search performance in real-world scenarios?
Key findings
- VisNet achieves superior recall on the Exact Street2Shop dataset compared with prior state-of-the-art methods.
- VisNet with 16-layer VGG plus shallow branches and triplet hinge loss yields recall improvements across product categories on Street2Shop (average gains over baselines).
- End-to-end production system supports 2,000 queries per second with 100 ms latency and 30-minute index refresh for a 50M-item catalog.
- Object localization via Faster R-CNN provides comparable end-to-end performance to manually cropped inputs, reducing user burden.
- Embedding size reduction from 4096 to 512 for k-NN search reduces computation time with only ~2% drop in accuracy.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.