Abstract
In large-scale industrial recommender systems, the "matching" stage is essential for filtering billions of items into a manageable candidate set. However, traditional methods often struggle to capture the dynamic evolution of user interests. We propose the Sequential Deep Matching (SDM) model, which effectively captures both diverse short-term session interests and stable long-term preferences. By utilizing multi-head self-attention and a novel gated fusion mechanism, SDM significantly outperforms existing sequential models. Real-world deployment at Alibaba demonstrated a 7.04% increase in click-through rates (pCTR) and a 24.37% boost in item discovery.
Introduction
Industrial recommender systems, such as those used by Taobao, operate in two primary stages: matching and ranking. The matching stage must efficiently retrieve a few hundred relevant items from a massive pool. Traditional approaches like item-based Collaborative Filtering (CF) are often too static to account for shifting user behaviors.
Existing sequential models face two major challenges:
- Multi-faceted Session Interests: Users often interact with diverse item categories (e.g., apparel and electronics) within a single session. Compressing these into a single vector loses critical nuance.
- Long-Short Term Integration: Effectively balancing a user's immediate intent with their historical habits is difficult. Simple concatenation often introduces noise rather than signal.
Methodology
SDM addresses these challenges through a multi-component architecture designed to process complex behavioral sequences.
Short-term and Long-term Modeling
The model employs an LSTM to capture the temporal dynamics of the current session. To address the "multiple interests" problem, multi-head self-attention is applied, allowing the model to represent user intent from multiple perspectives (e.g., brand, category, style). For long-term behavior (typically the last seven days), SDM uses attention-based pooling queried by the user's static profile (e.g., age, gender) to extract relevant stable preferences.
Gated Fusion Module
The core innovation of SDM is the Gated Fusion Module. Rather than simple addition, it uses a gate vector to decide, on a feature-by-feature basis, how much the long-term "global" preference should influence the short-term "local" intent. This non-linear integration allows the model to filter out irrelevant historical noise while preserving the user's core identity.
Experimental Evaluation
SDM was evaluated on massive datasets from Taobao and JD.com. Offline results showed SDM consistently outperforming state-of-the-art models like BINN and SHAN, achieving a HitRate@100 of 73.13% on Taobao data.
Online Impact and Discovery
Following deployment at Taobao, SDM delivered substantial gains in production. Beyond the 7.04% increase in pCTR and 4.50% boost in pGMV, the model significantly improved "discovery"—the recommendation of novel items that align with user intent. This is attributed to the multi-head attention mechanism's ability to understand the underlying structure of user sessions.
Conclusion
The SDM model provides a robust framework for large-scale sequential recommendation by explicitly modeling and fusing short-term and long-term user behaviors. Its success in production environments highlights the importance of multi-faceted interest representation and intelligent feature fusion. Future work will explore extending the behavior window and incorporating graph-based features to further enhance recommendation diversity and accuracy.
Summary updated