NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Efficient Model-Based Collaborative Filtering with Fast Adaptive PCA

Xiangyun Ding, Wenjian Yu, Yuyang Xie, Shenghua Liu

Abstract

Collaborative filtering (CF) is a cornerstone of modern recommendation systems, yet it often requires manual tuning of latent factor dimensionality ($k$) and suffers from scalability issues on large sparse matrices. This paper introduces a fast, adaptive randomized SVD framework that automatically determines the optimal $k$ using a validation-based termination mechanism. Our "parameter-free" approach achieves up to a 10x speedup over traditional matrix factorization and maintains competitive accuracy compared to deep learning models at a fraction of the computational cost.

Introduction

Collaborative filtering predicts user preferences by reducing high-dimensional user-item matrices into a smaller set of latent factors. However, practitioners face two primary hurdles: the "Goldilocks Problem" of choosing the right dimensionality $k$ and the computational bottleneck of processing massive, sparse datasets. While deep learning (DL) models offer high accuracy, they are often too computationally expensive for real-time or resource-constrained environments. This research proposes a highly optimized linear model that bridges the gap between efficiency and accuracy.

Methodology

The proposed framework introduces two major algorithmic innovations to streamline the CF process:

Fast Adaptive PCA

Building on randomized QB factorization, the authors developed a version specifically for large sparse matrices. Key optimizations include using LU factorization instead of orthonormalization during power iterations and employing an eigSVD step for the final economic SVD. As shown in the singular value plots across various datasets, this method accurately approximates the ground truth provided by standard SVD solvers while significantly reducing computation time.

Singular value approximation accuracy across benchmark datasets.

Automatic Determination of Latent Factors

To eliminate manual tuning, the algorithm grows the number of latent factors in blocks. After each iteration, it evaluates the Mean Absolute Error (MAE) against a validation set. The process terminates automatically once the error reaches a local minimum, ensuring a near-optimal $k$ is found dynamically without human intervention.

MAE and computation time as a function of latent factors (k).

Experimental Evaluation

The framework was evaluated on benchmark datasets including MovieLens-100K, hetrec2011, BookCrossing, and MovieLens-20M.

  • Efficiency: The adaptive PCA framework is 2.7x faster than the state-of-the-art randQB_EI and 6.7x faster than Matlab’s svds. On the MovieLens-20M dataset, it achieved a 10x speedup over Regularized Matrix Factorization (RMF).
  • Accuracy vs. Deep Learning: Compared to NeuMF, the proposed approach was orders of magnitude faster while maintaining prediction accuracy within 5-10% of the DL baseline.
  • Resource Usage: The method is exceptionally memory-efficient, requiring only 1.4 GB of RAM to process 20 million ratings.

Conclusion

This research demonstrates that highly optimized linear models can provide a compelling alternative to deep learning for recommendation tasks. By automating the selection of latent factors and optimizing randomized SVD for sparsity, the proposed framework offers a scalable, "parameter-free" solution for modern web-scale data. Future work will focus on closing the marginal accuracy gap with non-linear models and addressing the user-item cold start problem.

Summary updated

BibTeX
@inproceedings{ding2020efficient,
  author = {Xiangyun Ding and Wenjian Yu and Yuyang Xie and Shenghua Liu},
  title = {{Efficient Model-Based Collaborative Filtering with Fast Adaptive PCA}},
  booktitle = {ICTAI},
  year = {2020},
  doi = {10.1109/ictai50040.2020.00149},
}
Figure