This paper, presented at NeurIPS 2019 by Harald Steck of Netflix, challenges the current trend of using deep, low-dimensional embeddings for recommender systems. By revisiting classical statistical methods—specifically Gaussian Markov Random Fields (MRFs)—the author demonstrates that a well-optimized linear model can significantly outperform complex deep learning architectures on large-scale datasets while being orders of magnitude faster to train.
TL;DR
The paper introduces a Gaussian Markov Random Field approach for collaborative filtering that achieves a 20% accuracy gain over deep learning models on large datasets. By utilizing a novel sparse approximation, the authors reduce training times from hours to seconds without sacrificing significant recommendation quality.
What Problem Does This Paper Address?
Collaborative filtering (CF) is the backbone of modern recommendation engines, predicting what a user might like based on the preferences of similar users. Currently, the field is dominated by two extremes:
- Low-dimensional embeddings: Techniques like Matrix Factorization and Deep Autoencoders (e.g., MULT-VAE) that compress user-item interactions into a small "latent space."
- Neighborhood models: Simple heuristics based on item-item similarity.
The problem is that low-dimensional models often create an "information bottleneck." When a system has tens of thousands of items, compressing that data into a few hundred dimensions can lose critical dependencies, especially for "long-tail" (less popular) items. Furthermore, training deep nonlinear models on massive datasets is computationally expensive.
Methods
The author proposes modeling item dependencies using a Gaussian Markov Random Field (MRF).
- Auto-normal Parameterization: Instead of trying to learn the full joint distribution of items, the model uses Besag’s pseudo-likelihood. This frames the problem as a series of linear regressions where each item is predicted based on all other items.
- Closed-Form Solution: For a fully connected (dense) graph, the author derives a simple closed-form solution: the weight matrix is essentially the inverse of the regularized covariance matrix, with the diagonal zeroed out to prevent the model from simply "predicting an item with itself."
- Novel Sparse Approximation: To handle massive datasets where inverting a giant matrix is too slow, the paper introduces a "set-wise" regression. Instead of regressing one item at a time, the algorithm identifies small, densely connected subgraphs (clusters of related items). It then solves for all items in that cluster simultaneously. This allows for a controllable trade-off between training speed and prediction accuracy.
Datasets
The approach was evaluated on three standard large-scale benchmarks:
- MovieLens 20M (ML-20M): ~20,000 movies, 136,000 users.
- Netflix Prize: ~17,000 movies, 463,000 users.
- Million Song Data (MSD): ~41,000 songs, 571,000 users.
Key Insights and Ideas
- The "Hourglass" Bottleneck: The most striking insight is why deep models fail on the Million Song Data. Models like MULT-VAE use a hidden layer of 200–600 units to represent 41,000 items. This extreme compression loses the fine-grained dependencies that a full-rank linear MRF preserves.
- Symmetry is Optional: In traditional MRFs, the dependency between item A and item B is assumed to be symmetric. The author found that by dropping this constraint during training, the math becomes simpler and the recommendations remain highly accurate.
- Sparsity for Speed, Not Just Regularization: Usually, researchers use sparsity (making most weights zero) to prevent overfitting. Here, the author uses it as a tool for computational efficiency, allowing the model to be retrained frequently as new data arrives.
Key Results
- Superior Accuracy: On the Million Song Data (the largest dataset), the dense MRF model achieved an nDCG@100 of 0.391, compared to 0.316 for the state-of-the-art MULT-VAE—a massive 24% relative improvement.
- Blazing Fast Training:
- On MSD, the deep MULT-VAE model took 4.5 hours to train on a GPU.
- The dense MRF model took 15 minutes on a CPU.
* The sparse MRF approximation took only **39 seconds** while maintaining a significant lead over the deep learning baselines (achieving an nDCG@100 of 0.381).
- Better Long-Tail Performance: The MRF model was notably better at recommending items from the "long tail" compared to bottlenecked autoencoders.
Limitations and Future Work
- Gaussian Assumption: The model assumes data follows a Gaussian distribution, even though user-item interactions are typically binary (clicked vs. not clicked). While the "least-squares" fit works well in practice, it is theoretically a mismatch.
- Heuristic Clusters: The sparse approximation relies on a heuristic to choose the "Markov blanket" (the set of neighboring items). While effective, the author notes this is a strong assumption that isn't formally verified during the fast training process.
- Future Directions: The author suggests that combining the strengths of full-rank linear models with the non-linear capabilities of deep learning (without the bottleneck) is a promising path forward.
Summary updated