TL;DR
Choosing how to split your data into training and testing sets isn't just a minor implementation detail—it can completely change which recommendation model looks best. This paper demonstrates that the lack of a standardized data splitting strategy in recommender systems research acts as a major confounding variable, making much of the current literature non-comparable even when using identical datasets and metrics.
What Problem Does This Paper Address?
In fields like Information Retrieval (IR), evaluation is highly standardized thanks to long-standing benchmarks like TREC. However, the Recommender Systems (RecSys) community lacks a unified standard for data preparation. Specifically, researchers use widely different strategies to split interaction data into training, validation, and testing sets.
As recommendation models mature, performance gains become increasingly incremental. If two papers evaluate their models on the same dataset but use different data splitting strategies, can we actually trust that one outperforms the other? The authors tackle this exact question, investigating whether arbitrary choices in data splitting inadvertently alter model rankings and compromise reproducibility.
Methods
The authors first audit 17 recent, state-of-the-art neural recommendation papers to document the lack of consistency in the literature. They identify four primary splitting strategies and empirically evaluate three of the most popular:
- Leave One Last Item: The absolute final interaction for each user is held out for testing, the second-to-last for validation, and the rest for training.
- Leave One Last Basket: Similar to the above, but used for session/basket-based recommendations where the final group of items bought together is held out.
- Temporal Global Split: A single, fixed timestamp is chosen across the entire dataset. All interactions before this point are used for training, and all interactions after are used for testing.
The authors illustrate the fundamental difference between user-centric splits (Leave One Last) and a globally realistic timeline (Temporal Global) in Figure 1:
To measure the impact of these strategies, they evaluate seven representative recommendation models (ranging from classical baselines like BPR to deep learning approaches like NeuMF and NGCF). To ensure their findings aren't a fluke of a small sample size, they scale up the experiment by generating 230 distinct model configurations via a hyperparameter sweep and measuring ranking correlation using Kendall’s $\tau$.
Datasets
The experiments are conducted on two real-world grocery transaction datasets that contain the necessary item, basket, and timestamp information:
- Tafeng
- Dunnhumby
Both datasets are subjected to standard iterative filtering (e.g., removing items purchased fewer than 10 or 20 times) to ensure robust evaluation.
Key Insights and Ideas
- The "Future Data Leakage" Phenomenon: User-based splitting strategies (like Leave One Last) allow information from the future to leak into the training set. Because the training/testing boundary varies by user, the model can inadvertently learn about the future popularity of an item before it actually becomes popular in the global timeline.
- Splits Favor Specific Architectures: Data splitting isn't neutral. The authors found that certain models are inherently favored by specific splits. For example, the Triple2vec model consistently performed better under a Leave One Last Item split, whereas VBCAR excelled under temporal evaluation.
- Low Ranking Correlation: If data splitting didn't matter, a hyperparameter sweep would yield similar performance rankings across different splits. Instead, the rankings showed only moderate correlation, proving that different splits evaluate fundamentally different aspects of a model's capabilities.
Key Results
The quantitative results show glaring inconsistencies in model rankings across different splits (Table 3 in the paper):
- On the Dunnhumby dataset evaluated with Recall@10, Non-negative Matrix Factorization (NMF)—the worst-performing model under the Leave One Last Item split—suddenly jumped three places higher under the Leave One Last Basket split, outperforming BPR, VAECF, and NGCF.
- In the large-scale experiment tracking 230 model variations (Figure 2), the Kendall’s $\tau$ correlation between the Leave One Last Item and Temporal Global splits was remarkably low: 0.5284 for Tafeng and 0.5902 for Dunnhumby.
As seen in the scatter plots, the wide horizontal dispersion at the higher end of the effectiveness scale shows that a model deemed "state-of-the-art" under one splitting strategy might be mediocre under another.
Limitations and Future Work
A notable limitation of this study is its focus on next-item and next-basket grocery recommendation datasets; the severity of rank-swapping might manifest differently in other domains like movie ratings or news streaming. Additionally, implementing a strict Temporal Global Split often forces researchers to discard users or items that don't appear on both sides of the time boundary, significantly reducing the usable dataset size.
For future work, the authors highlight the need to investigate why specific architectures thrive under certain splits. To fix the field's reproducibility crisis, they propose three best practices for future RecSys research:
- Always explicitly report the splitting strategy, including pre-filtering statistics.
- Default to Temporal Global Splitting, as it represents the most realistic deployment scenario.
- Open-source exact data splits alongside codebases so other researchers can perform true apples-to-apples comparisons.
Summary updated