Dynamic Bayesian Logistic Matrix Factorization for Recommendation with Implicit Feedback

Yong Liu, Lifan Zhao, Guimei Liu, Xinyan Lu, Peng Gao, Xiao-Li Li, Zhihui Jin

Introduction

Modern recommendation systems primarily rely on Matrix Factorization (MF) to map users and items into a shared latent space. However, traditional MF models typically assume that these latent embeddings are static, failing to account for the evolving nature of human preferences and item attributes. While some dynamic models have been proposed, they often assume homogeneous evolution, where all dimensions of a user's preference or an item's characteristics change at the same rate.

In reality, human behavior is complex: some preferences are stable (e.g., a lifelong genre preference), while others are fleeting (e.g., a temporary interest in a trend). This paper introduces Dynamic Bayesian Logistic Matrix Factorization (DBLMF), a model designed to capture these heterogeneous "diffusion rates" in latent factors for implicit feedback datasets.

Methodology

DBLMF builds upon Logistic Matrix Factorization (LMF), which is optimized for implicit feedback like clicks and views. The core innovation lies in its treatment of temporal dynamics:

  1. Temporal Diffusion Process: The evolution of latent vectors over time is modeled using a Gaussian distribution. By placing Gamma priors on the precision (inverse variance) of these distributions, the model learns a specific drift rate for every individual dimension of the latent space.
  2. Variational Bayesian Inference: To handle complex posterior distributions, the authors derive a Variational Inference (VI) framework. This approach captures the uncertainty (covariance) of embeddings, providing a more robust statistical foundation than standard point-estimation methods.
  3. Scalable Sampling (sDBLMF): To address the $O(M \cdot N)$ computational cost of standard VI, the authors introduce a uniform sampling strategy. This scalable version (sDBLMF) focuses on observed interactions and a subset of negative interactions, reducing complexity to $O(|O^t| \cdot d)$, where $|O^t|$ is the number of observed interactions at time $t$.

Results and Analysis

The model was evaluated using subsets of the Movielens-20M dataset, including specific "Small/Stable" (-S) versions designed to test long-term temporal dynamics. DBLMF consistently outperformed state-of-the-art baselines like eALS and dynamic Poisson factorization (dPF). On the 2002-6Y-S dataset, DBLMF-3m (using 3-month time steps) outperformed eALS by over 139% in terms of NDCG@5.

Sensitivity analysis of sDBLMF and sDBLMF-full across time granularity, latent dimensions, prior variance, and iterations.

As shown in Figure 2, the model's performance is highly sensitive to time granularity, with optimal results achieved at a 3-month interval (Subplot a). Subplot (b) demonstrates that the model maintains stable performance across a wide range of latent dimensions ($d$), while Subplot (d) illustrates rapid convergence, typically within 25 iterations. The sampling-based sDBLMF proved to be tens of times faster than the full Bayesian version while maintaining superior accuracy over static baselines.

Conclusion

The primary insight of this research is that treating all latent factors as evolving at the same speed is a significant bottleneck in dynamic recommendation. By allowing for heterogeneous diffusion rates, DBLMF achieves a more granular and accurate representation of user behavior. Future work will explore more sophisticated negative sampling strategies, such as those based on item popularity, to further enhance the scalability and accuracy of the model for web-scale datasets.

Summary updated

BibTeX
@inproceedings{liu2018dynamic,
  author = {Yong Liu and Lifan Zhao and Guimei Liu and Xinyan Lu and Peng Gao and Xiao-Li Li and Zhihui Jin},
  title = {{Dynamic Bayesian Logistic Matrix Factorization for Recommendation with Implicit Feedback}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2018},
  doi = {10.24963/ijcai.2018/481},
}
Figure