Abstract
Predicting user behavior often involves sequences of sets, such as grocery baskets or music playlists, rather than single items. This paper introduces SNSRec, a universal optimization framework for Next Set Recommendation (NSRec). By utilizing Structured Determinantal Point Processes (SDPP), SNSRec models sets as cohesive units, capturing intra-set dependencies and inter-set transitions while balancing relevance and diversity. Experimental results on four large-scale datasets demonstrate that SNSRec significantly outperforms traditional item-level models and can be seamlessly integrated into existing recommendation architectures.
Introduction: The Shift to Next Set Recommendation
Most modern recommendation systems are optimized for Next Item Recommendation (NIRec), focusing on predicting the single next item a user is likely to interact with. However, many real-world scenarios—ranging from online grocery shopping to academic course selection—are inherently set-based. This is known as Next Set Recommendation (NSRec).
Current NSRec research often suffers from three primary limitations:
- Item-level Optimization: Most models use loss functions like Binary Cross Entropy that treat items independently, ignoring dependencies within a set (DinS) and across sets (DacSs).
- The Diversity Gap: Standard models prioritize relevance, often resulting in repetitive recommendations that lack variety.
- Cohesion Neglect: They fail to account for item co-occurrence—the natural tendency for certain items (e.g., a camera and a memory card) to be purchased together regardless of long-term user preference.
The SNSRec Framework
To address these challenges, the authors propose SNSRec, a "universal" framework that can be applied to various base models (such as RNNs or Transformers) to enhance their set-level prediction capabilities.
Technical Components
- Structured Determinantal Point Processes (SDPP): SNSRec employs SDPP to treat temporal sets as structured entities. The SDPP kernel matrix balances item "quality" (relevance to the user) with "diversity" (repulsion between similar items), ensuring the recommended set is both useful and varied.
- Co-occurrence Representation (COR): A dedicated layer measures the "cohesive strength" between items. This captures patterns of items that naturally belong together in a single transaction, providing a complementary signal to personalized user preferences.
- Sets-level Optimization: Instead of item-by-item prediction, the framework maximizes the log-likelihood of the entire sequence of sets. This approach forces the model to learn the underlying structural evolution of user behavior over time.
Experimental Evaluation
The framework was evaluated on four large-scale e-commerce datasets: TaoBao, JD-buy, JD-add, and TaFeng. These datasets were processed to emphasize temporal sequences of sets.
Key Results
- Performance Gains: SNSRec consistently outperformed state-of-the-art baselines. Notably, on the JD-add dataset, it achieved an improvement of over 21% in NDCG@50, a key metric for ranking quality.
- Enhanced Diversity: The model showed superior performance in Category Coverage (CC) and Intra-List Distance (ILD), confirming its ability to recommend diverse product types without compromising accuracy.
- Preference vs. Cohesion: Ablation studies revealed that peak performance is reached by balancing co-occurrence and preference data (typically around a 0.4 weight for co-occurrence), validating the importance of modeling both factors.
Conclusion and Future Work
SNSRec represents a significant step forward in modeling complex user behavior by treating sets as first-class citizens in the optimization process. While the computational complexity of modeling set combinations remains a challenge for massive catalogs, the framework's "universal" nature makes it a powerful tool for improving existing recommendation systems. Future research may extend these set-level optimization techniques to other structured tasks, such as video summarization or bundle recommendation.
Summary updated