A Critical Study on Data Leakage in Recommender System Offline Evaluation

Yitong Ji, Aixin Sun, Jie Zhang, Chenliang Li
10/21/2020
cs.IR

Official code: putatu/dataLeakageRec (2 stars, Python, last commit 2022-08-21).

Abstract

Recommender models are hard to evaluate, particularly under offline setting. In this paper, we provide a comprehensive and critical analysis of the data leakage issue in recommender system offline evaluation.

Show full abstract

Data leakage is caused by not observing global timeline in evaluating recommenders, e.g., train/test data split does not follow global timeline. As a result, a model learns from the user-item interactions that are not expected to be available at prediction time. We first show the temporal dynamics of user-item interactions along global timeline, then explain why data leakage exists for collaborative filtering models. Through carefully designed experiments, we show that all models indeed recommend future items that are not available at the time point of a test instance, as the result of data leakage. The experiments are conducted with four widely used baseline models - BPR, NeuMF, SASRec, and LightGCN, on four popular offline datasets - MovieLens-25M, Yelp, Amazon-music, and Amazon-electronic, adopting leave-last-one-out data split. We further show that data leakage does impact models' recommendation accuracy. Their relative performance orders thus become unpredictable with different amount of leaked future data in training. To evaluate recommendation systems in a realistic manner in offline setting, we propose a timeline scheme, which calls for a revisit of the recommendation model design.

View on arXivView PDF

Code Implementations(1)

20PythonJan 5, 20224 years ago

Similar Papers

Cite this paper

@article{ji2020critical,
  title  = {A Critical Study on Data Leakage in Recommender System Offline Evaluation},
  author = {Yitong Ji and Aixin Sun and Jie Zhang and Chenliang Li},
  year   = {2020},
  eprint = {2010.11060},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2010.11060}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2010.11060.svg)](https://codeofpaper.com/paper/2010.11060)

Discussion