The effectiveness of factorization and similarity blending

Andrea Pinto, Giacomo Camposampiero, Loïc Houmard, Marc LundwallarXiv 2022 · DOI

Abstract

Collaborative Filtering (CF) remains a cornerstone of modern recommender systems, yet its performance is often hindered by extreme data sparsity. This paper evaluates a wide spectrum of CF techniques—ranging from traditional memory-based similarity to advanced Bayesian Factorization Machines (BFM) and neural architectures—on the 2022 CIL CF dataset. Our findings highlight the superior performance of BFM when augmented with implicit features and ordered probit modeling. Crucially, we demonstrate that an ensemble blending global latent factor models with local similarity-based models achieves the highest accuracy, securing 1st place in a competitive benchmark.

Introduction

Recommender systems face the persistent challenge of predicting user preferences from highly sparse interaction matrices. In real-world scenarios, users typically rate only a small fraction of available items, making it difficult for algorithms to generalize effectively. This study systematically explores various families of Collaborative Filtering algorithms to identify the most robust predictors for missing ratings. We specifically investigate the trade-offs between global modeling (matrix factorization) and local modeling (neighborhood-based similarity), and propose a novel stochastic approach to similarity reinforcement.

Methodology

We categorized our experimental approaches into four primary domains:

  1. Matrix Factorization: We evaluated standard techniques (SVD, FunkSVD, ALS) against Bayesian Factorization Machines (BFM). The BFM was enhanced by incorporating "implicit feedback"—binary indicators of whether a user rated an item—and utilizing an ordered probit function to treat ratings as ordinal categories.
  2. Similarity-Based (Memory-Based): We implemented user-user and item-item similarity models using Pearson Correlation Coefficient (PCC) and Cosine similarity, applying weighting functions to account for varying levels of commonality between pairs.
  3. Neural Architectures: We tested deep learning models, including Autoencoders (DeepRec) and Graph Convolutional Networks (LightGCN), to capture non-linear relationships.
  4. Stochastic CSR (SCSR): To address the computational complexity of Comprehensive Similarity Reinforcement (CSR), we developed SCSR, which uses random sampling to update the similarity matrix iteratively.
  5. Model Blending: We employed various regression techniques (Linear, Lasso, Ridge, XGBoost) to create an ensemble of the most diverse and accurate models.

Results and Discussion

Matrix Factorization and Rank Scaling

A key finding was the exceptional performance of Bayesian Factorization Machines compared to traditional matrix factorization methods. As shown in Figure 1, BFM not only achieved a significantly lower Validation RMSE but also demonstrated superior scalability with respect to the model's rank. While SVD and ALS tended to plateau or overfit as the number of latent features increased, BFM continued to improve, effectively capturing more complex latent structures without sacrificing generalization.

Validation RMSE vs. Rank for different matrix factorization models.

The Impact of Feature Engineering

The inclusion of implicit features provided a substantial boost to the BFM's accuracy. By simply acknowledging the presence of a rating (regardless of its value), the model gained valuable information about user behavior patterns. Furthermore, treating ratings as ordinal categories via an ordered probit function proved more effective than standard linear regression, better reflecting the discrete nature of user feedback.

Ensemble Performance and Blending

While BFM was the strongest standalone model, the best overall results were achieved through blending. Interestingly, neural models like DeepRec and LightGCN underperformed relative to factorization methods. The most effective ensemble combined BFM predictions with similarity-based models. Although the similarity models had higher individual error rates, they captured local neighborhood patterns that the global BFM models missed.

Comprehensive performance comparison of individual models and ensembles.

As detailed in Figure 2, the final linear regression blend of 8 BFM variants and 5 PCC-based models achieved a validation RMSE of 0.96870. This ensemble approach reduced the error significantly compared to any single model, highlighting the importance of diversity in model selection for recommender systems.

Conclusion

This research underscores the continued relevance of matrix factorization, particularly Bayesian Factorization Machines, in the era of deep learning for recommender systems. By combining the global strengths of BFM with the local insights of similarity-based methods, we achieved state-of-the-art results on the 2022 CIL CF dataset. Future work will focus on refining the SCSR algorithm to better balance computational efficiency with predictive accuracy.

Summary updated

BibTeX
@misc{pinto2022effectiveness,
  author = {Andrea Pinto and Giacomo Camposampiero and Loïc Houmard and Marc Lundwall},
  title = {{The effectiveness of factorization and similarity blending}},
  year = {2022},
  eprint = {2209.13011},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2209.13011},
}
Figure