[Paper Review] SDM: Sequential Deep Matching Model for Online Large-scale Recommender System
This paper proposes SDM, a sequential deep matching model that captures dynamic user preferences by combining multi-head self-attention for modeling multiple interests in short-term sessions and a long-short term gated fusion module to selectively integrate relevant long-term preferences. The model achieves state-of-the-art performance on offline datasets and was successfully deployed on Taobao’s large-scale recommender system, improving key commercial metrics.
Capturing users' precise preferences is a fundamental problem in large-scale recommender system. Currently, item-based Collaborative Filtering (CF) methods are common matching approaches in industry. However, they are not effective to model dynamic and evolving preferences of users. In this paper, we propose a new sequential deep matching (SDM) model to capture users' dynamic preferences by combining short-term sessions and long-term behaviors. Compared with existing sequence-aware recommendation methods, we tackle the following two inherent problems in real-world applications: (1) there could exist multiple interest tendencies in one session. (2) long-term preferences may not be effectively fused with current session interests. Long-term behaviors are various and complex, hence those highly related to the short-term session should be kept for fusion. We propose to encode behavior sequences with two corresponding components: multi-head self-attention module to capture multiple types of interests and long-short term gated fusion module to incorporate long-term preferences. Successive items are recommended after matching between sequential user behavior vector and item embedding vectors. Offline experiments on real-world datasets show the superior performance of the proposed SDM. Moreover, SDM has been successfully deployed on online large-scale recommender system at Taobao and achieves improvements in terms of a range of commercial metrics.
Motivation & Objective
- To address the limitations of static item-based collaborative filtering in capturing dynamic and evolving user preferences in large-scale recommender systems.
- To model multiple interest tendencies within a single short-term user session, which existing methods fail to capture using single-attention mechanisms.
- To effectively fuse long-term user preferences with current short-term session interests by focusing only on the most relevant long-term behaviors.
- To design a scalable, online-deployable matching model that improves recommendation accuracy and commercial metrics in real-world industrial applications.
- To overcome the issue of noisy or irrelevant long-term behaviors distorting short-term session representations during fusion.
Proposed method
- Uses a multi-head self-attention mechanism to model diverse user interests within a single short-term session, allowing the model to attend to different aspects (e.g., category, brand, style) simultaneously.
- Employs a long-short term gated fusion module that learns to selectively attend to and combine only the most relevant long-term user behaviors with the current short-term session representation.
- Leverages a bidirectional LSTM to encode the sequential behavior of users in the short-term session, capturing temporal dependencies.
- Applies query-based multi-head attention using the final LSTM hidden state as the query to compute attention weights over past session items.
- Uses a learnable gate mechanism to dynamically control the contribution of long-term preferences based on relevance to the current session.
- Performs matching between the final user representation (fused from short- and long-term behaviors) and item embedding vectors to rank and recommend items.
Experimental results
Research questions
- RQ1How can a deep learning model effectively capture multiple, coexisting user interests within a single short-term shopping session?
- RQ2What is the optimal way to fuse long-term user preferences with current session behavior to improve recommendation accuracy?
- RQ3How does the inclusion of multi-head self-attention improve modeling of dynamic user preferences compared to single-attention or RNN-only approaches?
- RQ4To what extent does selective fusion of long-term behaviors—based on relevance to the current session—outperform simple concatenation or addition?
- RQ5Can a sequential deep matching model designed for online deployment achieve measurable improvements in real-world commercial metrics?
Key findings
- The proposed SDM model achieves a HitRate@100 of 70.72% on the offline Taobao dataset, outperforming baseline models with simpler fusion mechanisms.
- Using four attention heads yields the best performance, as increasing the number of heads beyond four degrades results due to reduced representation capacity per head.
- The gated fusion module significantly outperforms simple fusion methods like concatenation, addition, and element-wise multiplication, achieving a 2.93% F1@100 score.
- Visualization confirms that different attention heads attend to distinct user interests (e.g., white down jackets, jeans, dresses), validating the model’s ability to capture multiple interests.
- The model successfully recommends relevant items such as 'champion glasses' and 'red wine decanter' by fusing current session behavior with relevant long-term preferences, demonstrating effective attention to contextually relevant items.
- SDM was deployed in Taobao’s production recommender system, resulting in measurable improvements in key commercial metrics, confirming its real-world effectiveness.
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.