Introduction
In the competitive landscape of fashion e-commerce, helping users discover products that align with their unique tastes is a critical challenge. Unlike categories with standardized specifications, fashion is deeply subjective. This paper, authored by researchers at Myntra, introduces a two-stage approach to personalizing the "Similar Products" widget. By integrating item-item collaborative filtering with user-specific taste profiles, the team achieved significant improvements in recommendation relevance, measured by Mean Average Precision (MAP@15).
The Challenge of Fashion Discovery
Fashion consumers often browse with a broad intent rather than a specific product model in mind. While a user might be looking for a "dress," their preference for specific patterns, colors, or cuts is highly individual. Traditional recommendation systems typically display a static set of similar items based on global co-occurrence data—showing the same alternatives to every user regardless of their history.
On mobile devices, where screen real estate is limited, this lack of personalization is a missed opportunity. For instance, if a user has a demonstrated affinity for floral patterns, presenting them with solid-colored alternatives to a query product is less effective than showing items that match their established style profile.
A Two-Stage Personalization Pipeline
The researchers proposed a modular pipeline to generate these personalized recommendations:
- Candidate Generation: The system first identifies the top 100 similar items using Item-Item Collaborative Filtering. Products are represented as vectors in a latent space based on user-item interaction matrices, and cosine similarity is used to find the closest matches to the product currently being viewed.
- User-Level Re-ranking: This candidate set is then re-ranked using a user-product affinity score. The authors compared two Matrix Factorization (MF) techniques:
- Implicit Alternating Least Squares (ALS-MF): Optimizes for point-wise scores based on implicit signals.
- Bayesian Personalized Ranking (BPR-MF): Optimizes for pairwise rankings, learning that a user prefers one specific item over another.
The final ranking is determined by a weighted linear combination of the user's preference and the product's similarity to the query item: $f(P_j | u, P_i) = \alpha \cdot (\text{User Preference}) + (1 - \alpha) \cdot (\text{Product Similarity})$.
Experimental Results and Insights
The study utilized 12 months of clickstream and purchase data from Myntra, involving approximately 50,000 products and 1.2 million unique users. Several key insights emerged from the evaluation:
- BPR-MF Superiority: Bayesian Personalized Ranking outperformed ALS-MF. Because BPR is designed to optimize the relative order of items, it is naturally better suited for the task of re-ranking a candidate list.
- Signal Weighting: The researchers found that not all implicit signals are equal. Clicks, "add to carts," and orders were given full weight (1.0), while simple list views were weighted at 0.25. Interestingly, the mere occurrence of an event was more predictive than its frequency.
- The 80/20 Balance: Cross-validation revealed that the optimal balance for the final score was $\alpha = 0.2$. This indicates that while personalization provides a significant lift, the immediate context (the product the user is currently viewing) should still drive 80% of the recommendation logic to ensure relevance to the current session.
Conclusion and Future Directions
By moving beyond static similarity, the proposed system provides a more tailored browsing experience that reflects individual user tastes. While the current model relies on collaborative filtering, the authors acknowledge that fashion is inherently visual. Future work aims to address the "cold start" problem for new items and users by incorporating computer vision features and product attributes into the ranking algorithm, further refining the accuracy of personalized discovery.
Summary updated