Abstract
This paper contributes improvements on both the effectiveness and efficiency of Matrix Factorization (MF) methods for implicit feedback. We highlight two critical issues of existing works. First, due to the large space of unobserved feedback, most existing works resort to assign a uniform weight to the missing data to reduce computational complexity. However, such a uniform assumption is invalid in real-world settings. Second, most methods are also designed in an offline setting and fail to keep up with the dynamic nature of online data. We address the above two issues in learning MF models from implicit feedback. We first propose to weight the missing data based on item popularity, which is more effective and flexible than the uniform-weight assumption. However, such a non-uniform weighting poses efficiency challenge in learning the model. To address this, we specifically design a new learning algorithm based on the element-wise Alternating Least Squares (eALS) technique, for efficiently optimizing a MF model with variably-weighted missing data. We exploit this efficiency to then seamlessly devise an incremental update strategy that instantly refreshes a MF model given new feedback. Through comprehensive experiments on two public datasets in both offline and online protocols, we show that our eALS method consistently outperforms state-of-the-art implicit MF methods.
Introduction
Most recommendation systems rely on implicit feedback (like clicks, views, or purchases) because explicit ratings are rare. However, implicit feedback presents a "one-class" problem: we know what a user liked, but we don't know if the items they didn't interact with are disliked or simply undiscovered.
To handle this, researchers often treat all missing data as negative signals. This presents two major challenges:
- Efficiency: Factoring a full user-item matrix is computationally expensive. To maintain speed, existing models often assume all missing items are equally "negative," which is rarely true.
- Dynamism: Standard models are trained offline. In production, a model needs to adapt instantly to a user's latest interactions to remain relevant.
Methodology
Popularity-Aware Weighting
Instead of uniform weights, the authors argue that a "miss" on a popular item is a stronger signal of dislike than a "miss" on an obscure item. They introduce a weighting scheme where the confidence in a missing interaction is tied to the item's popularity, controlled by a significance exponent $\alpha$.
As shown in Figure 1, the best performance is not found at $\alpha=0$ (uniform weighting). Accounting for item popularity significantly boosts Hit Ratio and NDCG across both Yelp and Amazon datasets.
Element-wise ALS (eALS)
Traditional Alternating Least Squares (ALS) updates an entire $K$-dimensional latent vector at once, requiring an expensive $O(K^3)$ matrix inversion. The proposed eALS instead optimizes each coordinate (element) of the latent vector individually.
By utilizing a memoization strategy to cache item factor correlations, the authors reduce the complexity of updating a single latent factor from $O(K^3 + NK^2)$ to $O(K + |R_u|)$, where $|R_u|$ is the number of items the user interacted with. This makes the algorithm roughly $K$ times faster than standard ALS.
Incremental Online Updates
Because eALS is so fast and doesn't require a global learning rate (unlike Stochastic Gradient Descent), it enables an incremental update strategy. When a new interaction occurs, the model performs quick coordinate descent steps for only that specific user and item, instantly refreshing the recommendation list.
Key Results
Massive Speedup and Convergence
Analytically, eALS is $K$ times faster than standard ALS. In practice, for the Amazon dataset with $K=512$, traditional ALS took 11.6 hours per iteration, while eALS finished in just 12 minutes.
Beyond raw speed, eALS performs an exact optimization per step, leading to faster and more stable convergence. As seen in Figure 2, eALS reaches peak accuracy in far fewer iterations than Coordinate Descent (RCD) or standard ALS.
Superior Accuracy
eALS consistently outperformed state-of-the-art baselines like BPR and RCD across both datasets. In online streaming protocols, eALS demonstrated a rapid ability to "digest" new data, maintaining a higher performance floor and adapting better than other dynamic MF methods as the data stream evolves.
Conclusion
eALS provides a highly efficient matrix factorization framework for implicit feedback. By weighting missing data based on item popularity and utilizing a clever memoization trick to bypass expensive matrix inversions, the authors achieve significant speedups and improved accuracy, enabling high-quality, real-time recommendation updates.
Summary updated