[Paper Review] Modeling Personalized Item Frequency Information for Next-basket Recommendation
This paper proposes a k-nearest neighbors (kNN)-based method, TIFU-KNN, that explicitly models personalized item frequency (PIF) to improve next-basket recommendation. By capturing both individual purchase frequency and collaborative purchase patterns, the method outperforms deep learning baselines—especially when PIF signals are critical—despite its simplicity and lack of complex neural architecture.
Next-basket recommendation (NBR) is prevalent in e-commerce and retail industry. In this scenario, a user purchases a set of items (a basket) at a time. NBR performs sequential modeling and recommendation based on a sequence of baskets. NBR is in general more complex than the widely studied sequential (session-based) recommendation which recommends the next item based on a sequence of items. Recurrent neural network (RNN) has proved to be very effective for sequential modeling and thus been adapted for NBR. However, we argue that existing RNNs cannot directly capture item frequency information in the recommendation scenario. Through careful analysis of real-world datasets, we find that {\em personalized item frequency} (PIF) information (which records the number of times that each item is purchased by a user) provides two critical signals for NBR. But, this has been largely ignored by existing methods. Even though existing methods such as RNN based methods have strong representation ability, our empirical results show that they fail to learn and capture PIF. As a result, existing methods cannot fully exploit the critical signals contained in PIF. Given this inherent limitation of RNNs, we propose a simple item frequency based k-nearest neighbors (kNN) method to directly utilize these critical signals. We evaluate our method on four public real-world datasets. Despite its relative simplicity, our method frequently outperforms the state-of-the-art NBR methods -- including deep learning based methods using RNNs -- when patterns associated with PIF play an important role in the data.
Motivation & Objective
- To identify and leverage two critical signals in personalized item frequency (PIF) that are ignored by existing RNN-based methods: individual purchase frequency and collaborative purchase patterns.
- To diagnose why RNNs fail to learn vector addition in recommendation settings, despite their strong representation capacity.
- To propose a simple yet effective kNN-based method that directly captures PIF signals, improving recommendation accuracy.
- To evaluate the method on real-world datasets and demonstrate its superiority over state-of-the-art deep learning models in scenarios where PIF is informative.
Proposed method
- The method, TIFU-KNN, uses user embeddings derived from their historical baskets to compute similarity with other users based on item frequency patterns.
- It introduces a two-level time-decayed weighting scheme: one for recent baskets within groups and another across groups, to model temporal dynamics.
- The final prediction combines user-specific and collaborative signals using a learnable weight α, where u_t represents individual PIF and u_n represents collaborative PIF.
- The kNN approach directly uses item frequency counts as features, avoiding the need for neural network training and enabling explicit modeling of frequency-based patterns.
- The method incorporates a decayed weight mechanism to prioritize recent purchases and group-level patterns, enhancing temporal sensitivity.
- It avoids the optimization challenges of RNNs by bypassing non-convex training and instead relying on exact kNN retrieval and weighted aggregation.
Experimental results
Research questions
- RQ1Why do existing RNN-based models fail to capture personalized item frequency (PIF) signals in next-basket recommendation?
- RQ2What are the two key patterns in PIF that can improve next-basket prediction, and how can they be effectively modeled?
- RQ3Can a simple kNN-based method outperform deep learning models when PIF signals are critical in the data?
- RQ4How do time-decayed weights affect the performance of the proposed kNN method in capturing temporal dynamics?
- RQ5Is there a fundamental limitation in RNNs' ability to learn vector addition in recommendation tasks, and if so, how does this impact performance?
Key findings
- TIFU-KNN outperforms state-of-the-art RNN-based methods on four real-world datasets, particularly when PIF patterns are prominent.
- On the ValuedShopper dataset, the method achieves a recall@10 of 0.2171 with both individual and collaborative signals, surpassing individual components.
- On Instacart, the method reaches a recall@10 of 0.3825 when combining both signals, outperforming the best baseline by a significant margin.
- The sensitivity analysis shows that optimal hyperparameters (e.g., r_b = 0.9, r_g = 0.9) yield the highest performance, confirming the effectiveness of the two-level decayed weighting design.
- The ablation study confirms that both individual PIF (u_t) and collaborative PIF (u_n) contribute uniquely to performance, with their combination yielding the best results.
- The method demonstrates robustness across datasets, with consistent improvements over baselines even when the number of nearest neighbors (k) and group count (m) vary.
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.