Introduction
In the mid-2010s, the recommendation systems community pivoted toward "Neural Collaborative Filtering" (NCF). The core innovation was replacing the traditional dot product—used to calculate similarity between user and item embeddings—with a Multi-Layer Perceptron (MLP). The rationale was that since MLPs are universal function approximators, they could theoretically learn any similarity function, including the dot product, while potentially uncovering complex non-linear relationships. This paper investigates whether this theoretical flexibility translates to superior performance or if the dot product remains the superior choice.
The Architecture Shift
The fundamental difference between traditional Matrix Factorization (MF) and NCF lies in the "combiner" function. MF uses a simple inner product, whereas NCF concatenates embeddings and passes them through several non-linear layers to produce a score.
Methodology
The researchers conducted a rigorous empirical re-evaluation of the original NCF framework. They replicated experiments on the MovieLens 1M and Pinterest datasets but introduced a "properly tuned" Matrix Factorization baseline. Unlike the original study, this baseline utilized standard logistic loss with L2 regularization and Stochastic Gradient Descent (SGD). Additionally, synthetic stress tests were performed to measure how effectively an MLP can approximate a basic dot product as embedding dimensions ($d$) increase.
Key Results
The empirical findings challenge the perceived superiority of neural architectures in this context. Across both MovieLens and Pinterest datasets, the simple Matrix Factorization baseline consistently outperformed the MLP and the hybrid "NeuMF" model across almost all embedding dimensions.
The results suggest that the original NCF gains may have stemmed from an under-tuned MF baseline rather than architectural advantages. In synthetic tests, MLPs struggled significantly to learn the dot product, with approximation errors remaining high even with massive training sets. As the embedding dimension $d$ grew, the MLP's performance degraded further, highlighting its inefficiency at learning simple geometric operations.
Insights: Inductive Bias and Production Reality
The paper highlights two critical reasons for these findings:
- Inductive Bias: The dot product has a built-in bias perfectly suited for modeling similarity. An MLP lacks this; it must first "learn" the concept of multiplication before it can model preferences, leading to extreme data inefficiency.
- Computational Efficiency: In production, dot products are compatible with Maximum Inner Product Search (MIPS), allowing for sub-linear retrieval from millions of items. MLPs require a full forward pass for every item, creating a significant bottleneck for real-time systems.
Conclusion
While deep learning is invaluable for feature extraction and embedding generation, the MLP is often a poor choice for the final similarity combiner. This study serves as a reminder of the importance of rigorous baseline tuning and the enduring effectiveness of simple, mathematically grounded operations like the dot product in recommender systems.
Summary updated