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

Bayesian Matrix Factorization with Side Information and Dirichlet Process Mixtures

Ian Porteous, Arthur U. Asuncion, Max Welling

Abstract

This paper introduces an enhanced Bayesian Matrix Factorization (BMF) framework designed to address the cold-start problem and overfitting in recommendation systems. By integrating side information (metadata) through linear regression on latent factors and employing Dirichlet Process Mixtures (DPM) for automatic cluster discovery, the proposed model (BMFSI-DPM) achieves superior predictive accuracy. Evaluation on the Netflix Prize dataset demonstrates that the model outperforms standard Bayesian Probabilistic Matrix Factorization (BPMF) and SVD++, providing both improved RMSE and interpretable latent structures.

Introduction

Matrix Factorization (MF) is the backbone of modern recommendation systems, used to predict missing entries in sparse rating matrices. However, standard MF faces two major hurdles: the "cold start" problem, where new users or items lack sufficient ratings for accurate latent factor learning, and the difficulty of manual hyperparameter tuning to prevent overfitting. While Bayesian approaches like BPMF address overfitting by integrating over parameters, they typically assume a single, global Gaussian distribution for all users and items. This research argues that users and items belong to distinct latent groups and that external metadata should be leveraged to bridge the gap when ratings are scarce.

Methodology

The proposed framework extends Bayesian Probabilistic Matrix Factorization through two primary mechanisms:

BMF with Side Information (BMFSI)

Instead of treating latent vectors as purely hidden variables, the authors augment them by performing linear regression against known features. These features can include user demographics, movie release dates, or rating-specific metadata (e.g., temporal data). This allows the model to learn how metadata interacts with latent preferences, acting as an informative prior that guides predictions when observations are few.

Dirichlet Process Mixtures (DPM)

To move beyond "one-size-fits-all" priors, the authors utilize a Dirichlet Process. This non-parametric approach allows the model to automatically determine the number of latent clusters within the data. Each cluster is assigned its own regularization parameters, providing flexibility where data is dense and necessary constraints where data is sparse.

Graphical model of the BMFSI-DPM framework, showing the integration of side information and Dirichlet Process Mixture components.

Inference via Gibbs Sampling

Because the posterior distribution is analytically intractable, the authors employ Gibbs sampling—a Markov Chain Monte Carlo (MCMC) algorithm—to approximate results by iteratively sampling from the conditional distributions of the variables.

Experimental Results

The model was evaluated on the Netflix Prize dataset, comprising over 100 million ratings. Side information included normalized rating dates, user history, and neighborhood information (similar movie ratings).

Accuracy and Convergence

BMFSI achieved a Quiz RMSE of 0.8875 (with $D=100$), outperforming standard BPMF (0.8954) and SVD++ (0.8911). A key finding was the "power of averaging": the Bayesian approach of averaging over multiple MCMC samples significantly outperformed any single "best" sample, as shown in the convergence plots.

Probe RMSE performance on the Netflix dataset, illustrating the benefit of averaging over MCMC samples and the convergence across different latent dimensions.

Interpretability

The Dirichlet Process successfully identified coherent movie clusters (e.g., grouping Star Trek films or The Sopranos seasons) without explicit genre labels. Furthermore, by examining learned coefficients, the model provides transparency into which pieces of side information most heavily influence specific predictions.

Conclusion

By seamlessly integrating side information and non-parametric clustering, this framework provides a robust solution for large-scale collaborative filtering. While Gibbs sampling remains computationally intensive, the model's ability to handle sparsity and provide interpretable insights represents a significant advancement over standard matrix factorization techniques.

Summary updated

BibTeX
@inproceedings{porteous2010bayesian,
  author = {Ian Porteous and Arthur U. Asuncion and Max Welling},
  title = {{Bayesian Matrix Factorization with Side Information and Dirichlet Process Mixtures}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2010},
  doi = {10.1609/aaai.v24i1.7686},
}
Figure