Abstract
Matrix and tensor factorization are fundamental techniques in collaborative filtering, yet traditional methods often struggle with manual rank selection and a lack of predictive uncertainty. This paper presents Multi-HDP, a fully Bayesian, nonparametric approach that treats data modalities symmetrically using interacting Hierarchical Dirichlet Processes (HDP). Multi-HDP automatically learns the optimal number of latent factors while providing a full probability distribution for every prediction, enabling robust confidence measures.
Introduction
Collaborative filtering systems, such as those used by Netflix for movie recommendations, typically rely on matrix factorization to represent sparse data as the product of lower-rank matrices. Standard approaches like Singular Value Decomposition (SVD) or Non-negative Matrix Factorization (NMF) face two primary limitations. First, they require the manual specification of the latent rank, often necessitating computationally expensive cross-validation. Second, they produce point estimates without quantifying the model's confidence in a given prediction.
While probabilistic models like Latent Dirichlet Allocation (LDA) offer more flexibility, they are often applied asymmetrically—for instance, clustering users into "topics" while treating items as discrete entities. Multi-HDP addresses these issues by providing a symmetric, flexible framework for multi-dimensional tensors that avoids pre-defining the number of latent groups.
Methodology
The Multi-HDP model is developed through a three-stage progression:
- Bi-LDA: The authors first construct two interacting LDA models. In a recommendation context, one model clusters users by taste while the other clusters movies by genre. Ratings are generated based on the interaction between these specific latent groups.
- Multi-LDA: This logic is extended to $N$ dimensions, allowing the model to handle tensors (e.g., User $\times$ Movie $\times$ Time) by assigning latent groups to each modality.
- Multi-HDP: To eliminate the fixed-rank constraint, the finite LDA components are replaced with Hierarchical Dirichlet Processes. This allows the number of groups in each modality to grow or shrink dynamically based on the data's complexity.
Inference is performed using an efficient collapsed Gibbs sampler, which integrates out several variables to accelerate the estimation of hidden structures from observed data.
Experimental Evaluation
The model was primarily evaluated on the Netflix Prize dataset, a benchmark consisting of approximately 100 million ratings on a 1-to-5 scale. The authors focused on the model's ability to recover latent structure and provide meaningful uncertainty estimates on a held-out "probe" set.
Results and Uncertainty Analysis
Multi-HDP achieved a competitive Root Mean Squared Error (RMSE) of 0.933 on the full Netflix dataset. While this was slightly higher than some specialized leaderboard entries of the era, the model's primary advantage lies in its uncertainty estimation.
As shown in the figure above, there is a strong correlation between the model's predicted variance and the actual error. By filtering for the 40% of predictions with the lowest variance (highest confidence), the RMSE dropped significantly to 0.75. This capability allows systems to prioritize high-confidence recommendations or flag uncertain ones for further data collection.
Furthermore, the model successfully identified interpretable "soft" clusters. For example, a user can belong to an "Action" group when rating one film and a "Romance" group when rating another, reflecting the multifaceted nature of human preferences.
Conclusion and Future Work
Multi-HDP offers a powerful framework for tensor factorization that bypasses the need for manual rank tuning and provides actionable confidence metrics. However, the computational cost of Bayesian sampling on massive datasets remains a challenge compared to gradient-descent-based SVD. Future research may explore more scalable inference techniques or extend the model to handle continuous data distributions beyond the discrete multinomial ratings studied here.
Summary updated