Introduction
Sequential recommendation systems aim to predict a user's next interaction based on their historical behavior. While traditional models focus on item-level transitions, they often struggle with data sparsity and fail to capture the underlying attributes that drive user preferences. This paper, presented at IJCAI-19, introduces the Feature-level Deeper Self-Attention Network (FDSA), which models transitions between item features separately from item IDs to achieve state-of-the-art performance.
The Problem: Item-Level Sparsity
Most existing models, such as SASRec or RNN-based approaches, primarily focus on item-level sequences (e.g., buying a specific camera model leads to buying a specific lens). However, item-level sequences are often sparse. Users frequently follow feature-level patterns—such as purchasing "shoes" after "clothes"—regardless of the specific brand. Traditional methods typically either ignore these features or aggregate them into a single item representation, failing to capture the independent evolution of a user's taste in specific attributes like category, brand, or style.
Methodology: The FDSA Architecture
The FDSA model employs a multi-layered architecture designed to process items and their heterogeneous attributes in parallel.
The core components include:
- Heterogeneous Feature Integration: Since items possess diverse data types (e.g., categorical brands vs. textual descriptions), FDSA uses a Vanilla Attention Layer to adaptively weight these features. This allows the model to prioritize the most defining characteristic for each item.
- Dual Self-Attention Blocks: The model maintains two distinct sequences:
- Item-based Block: A standard self-attention mechanism that learns patterns in the sequence of item IDs.
- Feature-based Block: A separate self-attention mechanism that learns patterns in the sequence of feature representations.
- Integration Layer: The outputs from both blocks are concatenated and passed through a fully connected layer to generate the final "next item" prediction.
Experimental Setup
The authors evaluated FDSA on two large-scale real-world datasets:
- Amazon (Toys and Games): A benchmark dataset where features included category, brand, and description text.
- Tmall: Data from China’s largest B2C platform, utilizing category, brand, and seller information.
Key Results and Insights
FDSA consistently outperformed a wide range of baselines, including FPMC, GRU4Rec, and SASRec. On the Tmall dataset, FDSA achieved an NDCG@10 of 0.3226, a significant improvement over SASRec’s 0.2940.
Key Findings:
- Separation of Concerns: Processing features in a dedicated attention block is more effective than simple concatenation. This confirms that feature-level transitions follow a unique logic distinct from item-level transitions.
- Impact of Embedding Dimension: As shown in the performance plots, increasing the embedding dimension ($d$) improves performance up to a point (around $d=100$), after which the model begins to overfit.
- Ablation Success: A simplified version, CFSA (Category-only Feature Self-Attention), still outperformed most baselines, highlighting the inherent value of feature-level modeling.
Conclusion and Future Work
The FDSA model demonstrates that explicitly modeling feature-level transitions significantly enhances sequential recommendation. While the dual-stream approach introduces some computational overhead, its ability to capture fine-grained user preferences sets a new benchmark for the field. Future research may explore incorporating more complex "implicit" features, such as visual data from item images, to further refine the model's predictive power.
Summary updated