Abstract
Similar product recommendation is one of the most common scenes in e-commerce. Many recommendation algorithms such as item-to-item Collaborative Filtering are working on measuring item similarities. In this paper, we introduce our real-time personalized algorithm to model product similarity and real-time user interests. We also introduce several other baseline algorithms including an image-similarity-based method, item-to-item collaborative filtering, and item2vec, and compare them on our large-scale real-world e-commerce dataset. The algorithms which achieve good offline results are also tested on the online e-commerce website. Our personalized method achieves a 10% improvement on the add-cart number in the real-world e-commerce scenario.
Introduction
In the competitive landscape of e-commerce, "similar product" recommendations—such as "Customers who viewed this also viewed..."—are critical drivers of user engagement. In the authors' study, these systems accounted for approximately 33% of total user visits. However, traditional implementations are often non-personalized, presenting the same list of items to every user viewing a specific product. This leads to a "conversion gap," where high click-through rates do not necessarily translate into "add-to-cart" actions. The challenge lies in integrating real-time user intent into similarity calculations while maintaining sub-100ms latency for high-traffic environments.
Methodology
The proposed framework utilizes a two-stage approach to balance scale and personalization:
- Candidate Pool Generation (Recall): An initial set of ~200 candidate items is generated using a combination of offline algorithms, including item-to-item collaborative filtering, attribute-based similarity, and business rules for new products.
- Real-time Personalized Ranking: The core of the system is a neural network that ranks these candidates by integrating a User Interest Vector. This vector is created through weighted average pooling of the user’s most recent click history (typically the last 8 items).
A key innovation is the Add-Cart Enhance feature. To align the model with business objectives, the loss function is modified: when a user’s next action is an "add-to-cart" event—a stronger signal of intent than a click—the loss is multiplied by a factor ($\omega = 2$). This prioritizes items more likely to lead to conversions.
Experimental Results
The model was evaluated on a dataset comprising 200 million clicks from 2 million users across a catalog of 700,000 items.
Offline Performance
The personalized model consistently outperformed baselines like Image-Similarity (ResNet152) and standard Item-to-Item Collaborative Filtering. In predicting the next click (Top-5 Hit Ratio), the personalized model achieved 45.6%, compared to 40.9% for standard CF. With "Add-Cart Enhance," the Top-5 Hit Ratio for cart additions reached 53.7%, significantly outperforming traditional methods.
Online Impact
In a live A/B test on a production platform, the personalized approach demonstrated a significant uplift in business metrics.
As shown in the figure, the "Add cart enhance" method consistently outperformed both standard Item-to-item and Item2vec methods, resulting in a 10% overall improvement in the total number of "add-to-cart" events over the test period.
Conclusion and Future Work
Personalization effectively bridges the conversion gap in similar product recommendations by tailoring suggestions to the user's historical context and immediate intent. While successful, future work will focus on addressing the "cold start" problem for new items and incorporating deeper features such as product price and granular attributes. Additionally, the authors plan to explore more sophisticated cross-category recommendation logic to better model complex user journeys.
Summary updated