Abstract
Collaborative filtering has emerged as the de facto approach to personalized recommendation problems. However, a scenario that has proven difficult in practice is the one-class collaborative filtering case (OC-CF), where one has examples of items that a user prefers, but no examples of items they do not prefer. In such cases, it is desirable to have recommendation algorithms that are personalized, learning-based, and highly scalable. Existing linear recommenders for OC-CF achieve good performance in benchmarking tasks, but they involve solving a large number of a regression sub-problems, limiting their applicability to large-scale problems. We show that it is possible to scale up linear recommenders to big data by learning an OCCF model in a randomized low-dimensional embedding of the user-item interaction matrix. Our algorithm, Linear-FLow, achieves state-of-the-art performance in a comprehensive set of experiments on standard benchmarks as well as real data.
Introduction
One-Class Collaborative Filtering (OC-CF) is a prevalent challenge in industrial recommendation systems. Unlike standard collaborative filtering, OC-CF deals with datasets containing only positive interactions (e.g., purchases, clicks) without explicit negative feedback. While linear models have demonstrated superior accuracy in these scenarios, their scalability is often limited. Learning item-to-item relationships typically requires solving a separate regression problem for every item in the catalog, leading to computational costs that scale quadratically with the number of items.
Methodology
Linear-FLow (Fast Low Rank Linear Model) addresses these scalability issues by combining randomized dimensionality reduction with regularized linear regression. The core innovation lies in its four-step approach:
- Randomized SVD: Instead of a full Singular Value Decomposition, the model uses a randomized approach to find a low-dimensional embedding that captures essential data patterns.
- Re-parametrization: The similarity matrix $W$ is re-framed as $W = Q_k Y$, where $Q_k$ is the low-rank basis, avoiding the need to learn a massive $n \times n$ matrix directly.
- Double Regularization: The model employs both a low-rank constraint and a Frobenius norm penalty to prevent overfitting and improve generalization.
- Tractable Optimization: The final optimization step requires inverting a small $k \times k$ matrix (where $k$ is the chosen rank), rather than a matrix the size of the entire item catalog.
Experimental Evaluation
The authors evaluated Linear-FLow on four diverse datasets: ML10M (MovieLens), LASTFM (user-artist play counts), and two large-scale proprietary purchase datasets. PROPRIETARY-2, the largest, contains over 264,000 users and 57,000 items with over 1.3 million interactions.
Key Results and Discussion
A primary advantage of Linear-FLow is its dramatic improvement in training speed. On the PROPRIETARY-2 dataset, the previous state-of-the-art linear model (SLIM) required over 32 minutes to train. In contrast, Linear-FLow (benchmarked as LRec-Low) achieved comparable results in just approximately 3.5 minutes.
Beyond speed, Linear-FLow consistently matched or outperformed SLIM and significantly beat traditional Matrix Factorization (WRMF) across metrics like Precision@k and Mean Average Precision (mAP). Its low-rank nature also ensures high memory efficiency, operating comfortably within much lower memory footprints than previous high-performing linear models.
Conclusion
Linear-FLow provides a practical, scalable, and interpretable solution for large-scale OC-CF problems. By leveraging randomized SVD, it overcomes the computational bottlenecks of traditional linear models without sacrificing recommendation quality. Future work will explore GPU acceleration and the integration of side-information to improve performance in cold-start scenarios.
Summary updated