On Sampling Collaborative Filtering Datasets

Noveen Sachdeva, Carole-Jean Wu, Julian McAuley
1/13/2022
cs.LGcs.IR

Official code: noveens/sampling_cf (20 stars, Python, MIT, last commit 2022-01-13).

Abstract

We study the practical consequences of dataset sampling strategies on the ranking performance of recommendation algorithms. Recommender systems are generally trained and evaluated on samples of larger datasets.

Show full abstract

Samples are often taken in a naive or ad-hoc fashion: e.g. by sampling a dataset randomly or by selecting users or items with many interactions. As we demonstrate, commonly-used data sampling schemes can have significant consequences on algorithm performance. Following this observation, this paper makes three main contributions: (1) characterizing the effect of sampling on algorithm performance, in terms of algorithm and dataset characteristics (e.g. sparsity characteristics, sequential dynamics, etc.); (2) designing SVP-CF, which is a data-specific sampling strategy, that aims to preserve the relative performance of models after sampling, and is especially suited to long-tailed interaction data; and (3) developing an oracle, Data-Genie, which can suggest the sampling scheme that is most likely to preserve model performance for a given dataset. The main benefit of Data-Genie is that it will allow recommender system practitioners to quickly prototype and compare various approaches, while remaining confident that algorithm performance will be preserved, once the algorithm is retrained and deployed on the complete data. Detailed experiments show that using Data-Genie, we can discard upto 5x more data than any sampling strategy with the same level of performance.

View on arXivView PDF

Code Implementations(1)

MIT

[ WSDM '22 ] On Sampling Collaborative Filtering Datasets

202Python, ShellJan 3, 20224 years agoMIT

Similar Papers

Cite this paper

@article{sachdeva2022sampling,
  title  = {On Sampling Collaborative Filtering Datasets},
  author = {Noveen Sachdeva and Carole-Jean Wu and Julian McAuley},
  year   = {2022},
  eprint = {2201.04768},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2201.04768}
}

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/2201.04768.svg)](https://codeofpaper.com/paper/2201.04768)

Discussion