Revisiting Alternative Experimental Settings for Evaluating Top-N Item Recommendation Algorithms

Wayne Xin Zhao, Junhua Chen, Pengfei Wang, Qi Gu, Ji-Rong Wen

Abstract

Top-$N$ recommendation evaluation often relies on specific experimental choices regarding data splitting and metric sampling. This study performs a large-scale "sanity check" across 23 Amazon domains and eight recommendation models to investigate how these choices impact algorithm rankings. Our findings reveal that common shortcuts, particularly sampled metrics and specific splitting strategies, can significantly alter the perceived performance of algorithms, potentially leading to misleading conclusions in recommender systems research.

Introduction

In the field of Recommender Systems (RecSys), identifying a small set of items a user is likely to interact with—known as Top-$N$ recommendation—is a primary goal. While neural architectures have advanced the state-of-the-art, the evaluation methodologies used to validate these models have remained largely unstandardized. Researchers frequently make arbitrary decisions about data splitting (e.g., random vs. temporal) and evaluation efficiency (e.g., sampling negative items). This paper addresses whether these experimental "knobs" flip the leaderboard rankings of traditional versus neural recommendation algorithms.

Methodology

The authors conducted an empirical study focusing on three influential factors in evaluation: dataset splitting, sampled metrics, and domain selection.

Dataset Splitting Strategies

The study compares four primary splitting strategies:

  1. Random Ordering (RO) vs. Temporal Ordering (TO): Shuffling interactions versus maintaining chronological order.
  2. Ratio-based Splitting (RS) vs. Leave-one-out (LS): Splitting by percentage (e.g., 80/10/10) versus testing on only the final interaction.
Illustration of the four data splitting strategies investigated in the study.

Evaluation Metrics and Sampling

To handle large item catalogs, researchers often rank the ground-truth item against a small sample of "negative" items (e.g., 10, 50, or 100) rather than the entire catalog. The authors evaluate the reliability of these sampled metrics against "exact" rankings.

Experimental Setup

The study utilizes the Amazon Product Review Dataset (five-core version), encompassing 142.8 million interaction records across 23 distinct domains. This diversity allows for testing the robustness of findings across varying levels of data sparsity and user behavior. Eight representative algorithms were tested, including baselines (Popularity, ItemKNN), matrix factorization (BPR, SVD++), and neural models (NCF, DIN, GCMC).

Key Insights and Results

The Impact of Temporal Ordering

Switching from random to temporal splitting significantly alters algorithm rankings. Spearman’s Rank Correlation between RO and TO settings ranges from approximately 0.68 to 0.76, indicating that the "best" model is highly dependent on the split type. This suggests that some models are better at capturing general preferences, while others excel at following chronological user behavior.

Unreliability of Sampled Metrics

A critical finding is that rankings derived from sampled metrics correlate weakly with true rankings. As shown in Table 2, while correlation improves as the number of sampled items increases, it remains insufficient for reliable benchmarking.

Table showing the correlation between sampled metrics and exact rankings.

Furthermore, the study found that uniform sampling of irrelevant items correlates more closely with true rankings than popularity-based sampling.

Domain-Specific Behavior

Analysis of domain clusters revealed that digital products (e.g., Music, Video) produce similar algorithm rankings, whereas physical goods may require different algorithmic approaches. Interestingly, the "leave-one-out" strategy was found to correlate highly with ratio-based splitting in smaller datasets, making it a viable choice when data is scarce.

Conclusion and Recommendations

The study highlights the risks of taking experimental shortcuts in RecSys evaluation. To ensure the validity of "state-of-the-art" claims, researchers should:

  1. Use the full item set for evaluation whenever computationally feasible.
  2. Be intentional and transparent about choosing temporal versus random splitting.
  3. Validate models across diverse domains to ensure results are not artifacts of a specific dataset's characteristics.

By standardizing these experimental settings, the community can move toward more robust and reproducible progress in recommendation algorithm development.

Summary updated

BibTeX
@inproceedings{zhao2020revisiting,
  author = {Wayne Xin Zhao and Junhua Chen and Pengfei Wang and Qi Gu and Ji-Rong Wen},
  title = {{Revisiting Alternative Experimental Settings for Evaluating Top-N Item Recommendation Algorithms}},
  booktitle = {ACM International Conference on Information and Knowledge Management},
  year = {2020},
  doi = {10.1145/3340531.3412095},
}
Figure