Fast Adaptively Weighted Matrix Factorization for Recommendation with Implicit Feedback

Jiawei Chen, Can Wang, Sheng Zhou, Qihao Shi, Jingbang Chen, Yan Feng, Chun Chen

Abstract

Implicit feedback is ubiquitous in recommender systems but poses a challenge due to the ambiguity of unobserved interactions. While adaptive weighting can improve accuracy by distinguishing between "missing" and "negative" data, it is often computationally prohibitive. We present Fast Adaptively Weighted Matrix Factorization (FAWMF), which utilizes a community-based inference network and a fast batch gradient descent (fBGD) algorithm to achieve state-of-the-art accuracy with linear-time complexity relative to observed interactions.

Introduction

In real-world recommendation scenarios, explicit ratings are rare. Instead, systems rely on implicit signals like clicks or views. A key challenge is interpreting unobserved data: does a lack of interaction imply a negative preference or simply a lack of exposure? Standard approaches like Weighted Matrix Factorization (WMF) assign uniform or heuristic weights to unobserved items, which can lead to biased models. Adaptive weighting methods (e.g., EXMF) learn personalized weights but suffer from $O(nm)$ complexity, making them unscalable for massive datasets.

FAWMF bridges this gap by dynamically learning confidence weights for unobserved data without sacrificing training speed.

Methodology

The FAWMF framework introduces two core components to handle the scale and complexity of adaptive weighting.

The architecture of FAWMF, showing the integration of latent community matrices and the MLP-based inference network for exposure weights.

Community-Based Exposure Inference

Rather than treating every user-item pair independently, FAWMF leverages the concept of latent information-sharing communities. It assumes that a user's exposure to an item is influenced by their community's behavior. An inference network (MLP) maps these latent structures to exposure probabilities, reducing the parameter space from $O(nm)$ to $O(D(n+m))$, where $D$ represents the number of communities.

Fast Batch Gradient Descent (fBGD)

To enable efficient training on the entire user-item matrix, the authors developed the fBGD algorithm. By algebraically rearranging the gradient calculations to isolate user- and item-independent terms, fBGD reduces the complexity of full-batch training to scale linearly with the number of observed positive interactions. This allows for stable, fast convergence on massive datasets without the need for unstable negative sampling.

Key Insights: The Role of Exposure

A central tenet of FAWMF is that inferred exposure serves as a natural confidence weight. In a variational autoencoder framework, if the model predicts a high probability of exposure for an item that a user did not interact with, it assigns a high confidence that the instance is a true negative. Conversely, low exposure probability leads to a lower weight, treating the instance as missing data.

Latent communities act as a vital regularizer, preventing the model from overfitting individual unobserved instances to zero. The collective "pull" of the community ensures that exposure weights remain grounded in broader behavioral patterns, creating "elastic links" between users.

Experimental Results

FAWMF was evaluated on three benchmark datasets: MovieLens, Amazon Food Reviews, and Douban. It was compared against several baselines, including WMF, eALS, and EXMF.

Precision@5 vs. latent dimension K across three datasets, demonstrating FAWMF's consistent performance advantage over standard baselines.

The results demonstrate that FAWMF consistently outperforms state-of-the-art models in terms of precision, recall, and NDCG. Crucially, it offers a massive reduction in training time. For instance, on the Douban dataset, FAWMF completed training in 1.8 hours, compared to 56 hours for the previous state-of-the-art adaptive method (EXMF). This 30x acceleration makes personalized adaptive weighting feasible for large-scale production environments.

Conclusion

FAWMF provides a scalable solution for adaptive weighting in implicit feedback recommendation. By combining community-aware exposure modeling with the optimized fBGD algorithm, it achieves high accuracy and exceptional training efficiency. This work opens the door for applying sophisticated adaptive weighting to more complex deep neural collaborative filtering architectures.

Summary updated

BibTeX
@inproceedings{chen2020fast,
  author = {Jiawei Chen and Can Wang and Sheng Zhou and Qihao Shi and Jingbang Chen and Yan Feng and Chun Chen},
  title = {{Fast Adaptively Weighted Matrix Factorization for Recommendation with Implicit Feedback}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2020},
  doi = {10.1609/aaai.v34i04.5751},
}
Figure