NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Feature-level Deeper Self-Attention Network for Sequential Recommendation

Tingting Zhang, Pengpeng Zhao, Yanchi Liu, Victor S. Sheng, Jiajie Xu, Deqing Wang, Guanfeng Liu, Xiaofang Zhou

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 FDSA architecture featuring dual self-attention blocks for item and feature sequences.

The core components include:

  1. 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.
  2. Dual Self-Attention Blocks: The model maintains two distinct sequences:
  3. Item-based Block: A standard self-attention mechanism that learns patterns in the sequence of item IDs.
  4. Feature-based Block: A separate self-attention mechanism that learns patterns in the sequence of feature representations.
  5. 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.

Performance comparison (NDCG@10) across different embedding dimensions for Tmall and Toys and Games datasets.

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

BibTeX
@inproceedings{zhang2019feature,
  author = {Tingting Zhang and Pengpeng Zhao and Yanchi Liu and Victor S. Sheng and Jiajie Xu and Deqing Wang and Guanfeng Liu and Xiaofang Zhou},
  title = {{Feature-level Deeper Self-Attention Network for Sequential Recommendation}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2019},
  doi = {10.24963/ijcai.2019/600},
}
Figure