Confidence-Aware Matrix Factorization for Recommender Systems

Chao Wang, Qi Liu, Runze Wu, Enhong Chen, Chuanren Liu, Xunpeng Huang, Zhenya Huang

Introduction: The Problem with Point Estimates

Traditional collaborative filtering models, such as standard Matrix Factorization (MF), typically output a single point estimate for a user's predicted rating of an item. For instance, a system might predict a 4.2-star rating. However, this approach fails to account for the model's confidence. A 4.2-star prediction based on extensive historical data is fundamentally different from one based on sparse or contradictory data.

Visualizing uncertainty in item ratings.

If a system ranks items solely by mean predicted ratings, it risks recommending items with high uncertainty, potentially leading to poor user experiences. This paper introduces the Confidence-Aware Matrix Factorization (CMF) framework, which jointly models predicted ratings and their associated variance for both users and items.

Methodology: CPMF and CBPMF

The CMF framework extends standard MF by introducing variance parameter vectors: $\gamma_U$ for users and $\gamma_V$ for items. The variance of a predicted rating is modeled as a function of these parameters, capturing both user-specific rating stability and item-specific divisiveness.

The authors propose two primary implementations:

  1. CPMF (Confidence-aware Probabilistic MF): A frequentist approach optimized via gradient descent.
  2. CBPMF (Confidence-aware Bayesian Probabilistic MF): A fully Bayesian approach using Gibbs sampling. It employs Gamma distribution priors for variance and Gaussian-Wishart priors for latent factors, naturally mitigating overfitting.

To translate these uncertainty estimates into actionable recommendations, the authors introduce Confidence-aware Ranking (CR). Inspired by the financial Sharpe Ratio, CR ranks items using the formula: (Predicted Mean Rating - Baseline Rating) / Standard Deviation. This approach effectively penalizes items with high uncertainty, prioritizing reliable recommendations.

Key Results and Insights

The models were evaluated on the MovieLens, Netflix, and Jester datasets. A primary finding was that modeling variance actually improves the accuracy of the mean predictions themselves. By accounting for noise through variance parameters, the latent factors ($U$ and $V$) can more accurately capture the underlying preferences.

RMSE performance on the Netflix dataset across different latent dimensions.

As shown in the Netflix dataset results, the Bayesian approach (CBPMF) consistently outperformed baselines like standard PMF and BPMF in terms of Root Mean Squared Error (RMSE). Notably, CBPMF maintains performance as the latent dimension $D$ increases, whereas simpler models tend to overfit.

Furthermore, the model's predicted confidence intervals were highly accurate. On MovieLens, the 95% confidence interval achieved a 94.26% coverage percentage. Finally, the Sharpe Ratio-based ranking (CR) significantly improved top-K recommendation metrics (NDCG and AP) compared to standard mean-based ranking.

Conclusion and Future Directions

The CMF framework demonstrates that uncertainty is not just a secondary metric but a vital component of accurate and reliable recommendation. While the Bayesian implementation is computationally intensive due to Gibbs sampling, its ability to provide principled uncertainty estimates offers significant advantages for risk-aware recommendation. Future work may involve integrating these concepts into deep learning architectures and extending the framework to handle implicit feedback more natively.

Summary updated

BibTeX
@inproceedings{wang2018confidence,
  author = {Chao Wang and Qi Liu and Runze Wu and Enhong Chen and Chuanren Liu and Xunpeng Huang and Zhenya Huang},
  title = {{Confidence-Aware Matrix Factorization for Recommender Systems}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2018},
  doi = {10.1609/aaai.v32i1.11251},
}
Figure