Neural Collaborative Filtering vs. Matrix Factorization Revisited

Steffen Rendle, Walid Krichene, Li Zhang, John Anderson
5/19/2020
535 citations
cs.IRcs.LGstat.ML

Official code: google-research/google-research (39,251 stars, Jupyter Notebook, Apache-2.0, last commit 2026-04-30).

Abstract

Embedding based models have been the state of the art in collaborative filtering for over a decade. Traditionally, the dot product or higher order equivalents have been used to combine two or more embeddings, e.g., most notably in matrix factorization.

Show full abstract

In recent years, it was suggested to replace the dot product with a learned similarity e.g. using a multilayer perceptron (MLP). This approach is often referred to as neural collaborative filtering (NCF). In this work, we revisit the experiments of the NCF paper that popularized learned similarities using MLPs. First, we show that with a proper hyperparameter selection, a simple dot product substantially outperforms the proposed learned similarities. Second, while a MLP can in theory approximate any function, we show that it is non-trivial to learn a dot product with an MLP. Finally, we discuss practical issues that arise when applying MLP based similarities and show that MLPs are too costly to use for item recommendation in production environments while dot products allow to apply very efficient retrieval algorithms. We conclude that MLPs should be used with care as embedding combiner and that dot products might be a better default choice.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Google Research

39,2518,516Jupyter Notebook, PythonOct 4, 20187 months agoApache-2.0
aimachine-learningresearch

Similar Papers

Cite this paper

@article{rendle2020neural,
  title  = {Neural Collaborative Filtering vs. Matrix Factorization Revisited},
  author = {Steffen Rendle and Walid Krichene and Li Zhang and John Anderson},
  year   = {2020},
  eprint = {2005.09683},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2005.09683}
}

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

Discussion