Abstract
Next-Basket Recommendation (NBR) is a critical task in e-commerce, yet the field has historically lacked a unified evaluation framework, leading to inconsistent results across different studies. This paper presents the first systematic empirical study of NBR systems, benchmarking eight representative algorithms across three major datasets. The study reveals a significant finding: simpler, conventional methods often outperform sophisticated deep learning models, with performance being highly dependent on specific dataset characteristics such as basket size and item frequency.
Introduction
In the realm of e-commerce, users typically purchase items in groups or "baskets" rather than individually. Next-Basket Recommendation (NBR) aims to predict the entire set of items a user will purchase in their next transaction based on their historical shopping behavior. Despite the proliferation of NBR algorithms, the field has suffered from a "Wild West" evaluation culture, characterized by varied preprocessing steps, different datasets, and non-standardized metrics. This lack of a common ground makes it difficult to assess the true state-of-the-art. This study addresses these issues by establishing a unified taxonomy, standardized experimental settings, and a rigorous head-to-head comparison of prominent models.
Taxonomy of NBR Approaches
To better understand the landscape of available solutions, the researchers categorized NBR approaches into a new three-tier taxonomy:
- Conventional Approaches: Grounded in traditional data mining and statistical methods, such as Pattern Mining, K-Nearest Neighbor (KNN), and Markov Chains (e.g., FPMC).
- Latent Representation Approaches: Utilizing distributed representations or embeddings to capture hidden patterns in user behavior (e.g., HRM).
- Deep Neural Network Approaches: Leveraging complex architectures like Recurrent Neural Networks (RNNs), Attention mechanisms, and Contrastive Learning (e.g., DREAM, Sets2Sets, CLEA).
Experimental Methodology
To provide a comprehensive benchmark, eight models were implemented: TOP (a frequency-based baseline), FPMC, DREAM, Beacon, Sets2Sets, UP-CF@r, TIFUKNN, and CLEA. Performance was evaluated using seven standardized metrics, including Recall, F1-Score, and Normalized Discounted Cumulative Gain (NDCG).
The study utilized three widely recognized, publicly available datasets with distinct characteristics:
- TaFeng: A grocery dataset characterized by a lower average basket size.
- Instacart: A large-scale market basket dataset.
- Dunnhumby: A dataset containing household-level shopping records.
Uniform preprocessing was applied to all three datasets, filtering out infrequent items and inactive users to ensure the results reflect meaningful sequential patterns rather than noise.
Key Insights and Results
The empirical results challenged the assumption that model complexity equates to better performance.
- The Efficacy of Simplicity: One of the most significant findings is that "simple" conventional models like TIFUKNN and UP-CF@r frequently outperformed deep learning giants. This suggests that in NBR, capturing basic user-based similarities and item frequencies is often more effective than complex neural modeling.
- Dataset Sensitivity and Basket Size: There is no "one size fits all" algorithm. The researchers found a correlation between basket length and model efficacy. For instance, CLEA (a contrastive learning model) performed best on the TaFeng dataset, which has shorter baskets. Conversely, UP-CF@r and TIFUKNN dominated on datasets with longer baskets like Instacart and Dunnhumby.
- Baseline Performance: Even the simplest baseline—recommending the most frequent items (TOP)—often outperformed the Markov Chain-based FPMC, highlighting the critical importance of item frequency in shopping behavior.
Quantitative highlights at $K=10$ recommendations:
- On TaFeng, CLEA was the top performer with an F1-score of 0.0760 and an NDCG of 0.1472.
- On Instacart, TIFUKNN led significantly with an F1-score of 0.2812 and an NDCG of 0.3805.
- On Dunnhumby, UP-CF@r took the lead with an F1-score of 0.1733 and an NDCG of 0.2525.
Conclusion
This systematic study provides a foundational benchmark for the NBR field. The findings indicate that while deep learning models offer theoretical sophistication, they are often less stable and more time-consuming to train than well-tuned conventional methods. Future work should focus on developing more robust neural architectures that can generalize across different data distributions and exploring hybrid models that combine the efficiency of KNN-based methods with the representational power of deep learning.
Summary updated