Hierarchical Bayesian Models with Factorization for Content-Based Recommendation

Lanbo Zhang, Yi ZhangarXiv 2014

Introduction

Content-based recommender systems are essential for navigating the vast amount of information available online. However, they frequently encounter two significant challenges: the "cold-start" problem and the inherent complexity of user interests. New or infrequent users lack sufficient interaction history to build robust profiles, and traditional models often fail to capture the multifaceted nature of human preferences. This paper presents Discriminative Factored Prior Models (DFPM), a hierarchical Bayesian framework that leverages factorization to address these issues.

The Challenge of Content-Based Recommendation

Standard approaches to content-based filtering often rely on learning independent classifiers for each user. While straightforward, this method fails for "cold-start" users who have provided very little feedback. Bayesian Hierarchical Models (BHM) attempt to mitigate this by sharing information across the user population through a common prior. However, traditional BHMs typically assume that all users are drawn from a single global average. This assumption is often too restrictive, as it ignores the fact that users naturally cluster into groups with distinct, diverse interests.

Methodology: Discriminative Factored Prior Models

The authors propose the DFPM to provide a more flexible yet structured approach to user modeling. In this framework, a user's profile—represented as a weight vector $w_m$ for a logistic regression classifier—is drawn from a Gaussian prior. The key innovation is the parameterization of the prior mean as a product of a shared factor matrix $\Lambda$ and a user-specific weight vector $\lambda_m$.

The graphical model for the Discriminative Factored Prior Model (DFPM), illustrating how user weights $w_m$ are influenced by shared factors $\Lambda$ and user-specific components $\lambda_m$.

The matrix $\Lambda$ represents "hidden factors" or latent topics in the feature space, while $\lambda_m$ determines the contribution of these factors to a specific user's profile. Two variants of the model were developed:

  1. DFPM-Mult: Employs a multinomial distribution for $\lambda_m$, effectively clustering users into groups that share a single primary interest.
  2. DFPM-Norm: Uses a normal distribution for $\lambda_m$, allowing users to express a combination of multiple latent interests simultaneously.

To ensure scalability, the authors utilized a point estimation approach for parameter learning, making the model computationally efficient for large datasets.

Experimental Evaluation

The models were evaluated using a large-scale dataset from Digg.com, comprising over 15,000 users and 91,000 news articles. The dataset included 3.8 million "diggs" (likes), with features extracted via TF-IDF from article text. Since the dataset only contained positive interactions, negative examples were generated through random sampling.

Results and Discussion

The experimental results demonstrate that both DFPM variants significantly outperform baseline models, including standard L2-regularized Logistic Regression (L2LR) and traditional Bayesian Hierarchical Logistic Regression (BHLR).

Performance comparison (Precision, Recall, Macro-F1) of L2LR, BHLR, and DFPM variants across different user activity levels based on the number of diggs.

Key Findings:

  • Cold-Start Performance: The most substantial improvements were observed for users with fewer than 50 interactions. By "borrowing" information from similar users via the factored prior, DFPM provides much more accurate recommendations when individual data is sparse.
  • Clustering vs. Flexibility: Interestingly, the simpler DFPM-Mult often outperformed DFPM-Norm. This suggests that the clear group structure provided by the multinomial prior is highly effective for sharing information, whereas the added flexibility of the normal prior may introduce noise or complicate the learning process.
  • Latent Topic Discovery: The hidden factors $\Lambda$ were found to be highly interpretable, capturing distinct themes such as politics, technology, and entertainment.
  • Optimal Model Complexity: Sensitivity analysis revealed that performance typically peaks at around 10 hidden factors. Increasing the number of factors beyond this point tends to diminish the benefits of cross-user information sharing.

Conclusion

The Discriminative Factored Prior Model offers a powerful solution for content-based recommendation by combining the strengths of hierarchical Bayesian modeling and matrix factorization. By allowing for selective information sharing through latent factors, the model effectively addresses the cold-start problem while capturing the diversity of user interests. Future work may explore temporal dynamics to account for shifting user preferences over time and investigate alternative priors, such as the Dirichlet distribution, to further refine the modeling of multi-faceted interests.

Summary updated

BibTeX
@misc{zhang2014hierarchical,
  author = {Lanbo Zhang and Yi Zhang},
  title = {{Hierarchical Bayesian Models with Factorization for Content-Based Recommendation}},
  year = {2014},
  eprint = {1412.8118},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1412.8118},
}
Figure