[Paper Review] Next Basket Prediction using Recurring Sequential Patterns
This paper proposes TARS (Temporal Annotated Recurring Sequences), a parameter-free method that captures co-occurrence, sequentiality, periodicity, and recurrency in customer purchase behavior to enable accurate next basket prediction. The TARS-Based Predictor (TBP) outperforms state-of-the-art methods, reliably forecasting up to 20 future baskets with stable performance after 36 weeks of customer history.
Nowadays, a hot challenge for supermarket chains is to offer personalized services for their customers. Next basket prediction, i.e., supplying the customer a shopping list for the next purchase according to her current needs, is one of these services. Current approaches are not capable to capture at the same time the different factors influencing the customer's decision process: co-occurrency, sequentuality, periodicity and recurrency of the purchased items. To this aim, we define a pattern Temporal Annotated Recurring Sequence (TARS) able to capture simultaneously and adaptively all these factors. We define the method to extract TARS and develop a predictor for next basket named TBP (TARS Based Predictor) that, on top of TARS, is able to to understand the level of the customer's stocks and recommend the set of most necessary items. By adopting the TBP the supermarket chains could crop tailored suggestions for each individual customer which in turn could effectively speed up their shopping sessions. A deep experimentation shows that TARS are able to explain the customer purchase behavior, and that TBP outperforms the state-of-the-art competitors.
Motivation & Objective
- Address the limitations of existing next basket prediction methods that fail to model co-occurrence, sequentiality, periodicity, and recurrency simultaneously.
- Develop a user-centric, parameter-free approach that adapts to individual customer behavior over time.
- Create a predictor capable of forecasting multiple future baskets while remaining interpretable and actionable for personalized shopping recommendations.
- Demonstrate the effectiveness of TARS and TBP on real-world datasets spanning multiple years, showing robustness and scalability.
- Enable on-device deployment of the predictor by ensuring it relies only on individual customer data, enhancing privacy and personalization.
Proposed method
- Introduce Temporal Annotated Recurring Sequences (TARS), a pattern model that encodes co-occurrence, sequentiality, periodicity, and recurrency in a single unified structure.
- Design a parameter-free algorithm to extract TARS from individual customer transaction histories, adapting dynamically to behavioral evolution.
- Construct the TARS-Based Predictor (TBP) by analyzing TARS to infer stock levels and recommend only the most necessary items for the next basket.
- Use a leave-one-out evaluation strategy to validate model generalization, training on a subset of purchase history and predicting the next basket.
- Apply normalization techniques to F1-score to mitigate bias from extreme prediction lengths or sparsity, ensuring fair performance comparison.
- Leverage real-world datasets (Coop-A, Coop-C, Ta-Feng) spanning up to seven years to extract and validate TARS and TBP on diverse retail environments.
Experimental results
Research questions
- RQ1Can a unified pattern model capture co-occurrence, sequentiality, periodicity, and recurrency in customer purchase behavior more effectively than existing methods?
- RQ2How well does the TARS-Based Predictor (TBP) generalize across different customer profiles and long-term purchase histories?
- RQ3What is the minimum amount of historical data required for TBP to achieve stable and accurate next basket predictions?
- RQ4To what extent do TARS patterns remain interpretable and actionable for understanding real customer shopping behaviors?
- RQ5Can TBP outperform state-of-the-art methods in next basket prediction while remaining fully user-centric and suitable for on-device deployment?
Key findings
- TBP outperforms all state-of-the-art competitors in next basket prediction, with a consistently higher normalized F1-score across all prediction lengths.
- TBP achieves stable prediction quality after approximately 36 weeks of customer purchase history, indicating a sufficient data threshold for reliable forecasting.
- TBP successfully predicts up to 20 future baskets with high accuracy, demonstrating its long-horizon forecasting capability.
- The TARS patterns are easily interpretable and readable, offering actionable insights into recurring customer purchase behaviors and habits.
- The TBP model maintains strong performance even when trained on a random 70–90% subset of a customer’s history, confirming robustness to data sparsity and evaluation strategy.
- TBP’s building time is significantly lower than collective methods like FPM and HRM*, and comparable to or better than other individual methods, making it scalable for real-world deployment.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.