Recurrent Poisson Factorization for Temporal Recommendation

Seyed Abbas Hosseini, Ali Khodadadi, Keivan Alizadeh, Ali Arabzadeh, Mehrdad Farajtabar, Hongyuan Zha, Hamid R. Rabiee

TL;DR

This paper introduces Recurrent Poisson Factorization (RPF), a novel framework that extends traditional Poisson Factorization for recommendations by explicitly modeling the temporal dynamics and recurrent nature of user interactions. RPF achieves superior performance in item prediction and returning time prediction by treating user-item engagement as a temporal process, outperforming existing methods on both synthetic and real-world datasets.

What Problem Does This Paper Address?

Recommender systems are crucial for online platforms, but effectively recommending the right item at the right time remains a significant challenge. While Poisson Factorization (PF) methods have been successful in modeling implicit user feedback (like clicks or purchases), they often aggregate interactions into counts, losing valuable temporal information. This temporal aspect is critical because user preferences evolve over time, and the timing of interactions can reveal important patterns, such as the decay of influence from social connections or the cyclical nature of user interests. Existing PF variants like HPF (heterogeneity), DPF (dynamic preferences), and SPF (social influence) address some of these issues but don't fully capture the recurrent nature of user behavior or integrate temporal dynamics comprehensively.

Methods

The core innovation is Recurrent Poisson Factorization (RPF). Instead of modeling interaction counts with a Poisson distribution, RPF models user-item engagement as a non-homogeneous Poisson process. This allows RPF to capture not only if a user interacts with an item but also when and how frequently.

Key methodological contributions include:

  • RPF Framework: A generalized framework that replaces the Poisson distribution with a Poisson process, enabling temporal modeling.
  • Time-Sensitive Factorization Models: RPF naturally incorporates time into the factorization process. The intensity function of the Poisson process is modeled as a combination of:
  • Intrinsic Intensity: Based on latent user preferences ($\theta_u$) and item attributes ($\beta_p$), similar to standard PF.
  • Extrinsic Intensity: Captures the influence of past user-item interactions (including social connections) on future engagement. This is modeled using temporal kernels (e.g., exponential decay) that reflect how the impact of past events diminishes over time.
  • Variants of RPF: The paper instantiates several powerful variants:
  • HRPF (Hierarchical RPF): Models user and item heterogeneity using hierarchical priors.
  • SRPF (Social RPF): Incorporates social network influence on user preferences.
  • DRPF (Dynamic RPF): Captures evolving user preferences and item popularity over time using time-dependent latent factors.
  • DSRPF (Dynamic Social RPF): Combines dynamic preferences and social influence.
  • Scalable Variational Inference: A mean-field variational inference algorithm is proposed to efficiently approximate the posterior distribution of latent variables, enabling the model to scale to large datasets.

Datasets

The paper evaluates RPF on:

  • Synthetic Data: A dataset generated using the proposed DSRPF model, consisting of 1000 users, 1000 items, and approximately 1 million events, with a random social network.
  • Real-World Datasets:
    • Last.fm: Music listening events from 1200 users and 1000 artists over six months, totaling around 480,000 events. This dataset is noted for its timestamped actions.
  • Alibaba Mobile Commerce (Tianchi): User click events on items from Alibaba's mobile platform, including four behavior types (click, collect, add-to-cart, pay). The paper uses click events and item categories, comprising approximately 1000 users, 2100 items, and 1.2 million events.

Key Insights and Ideas

  • Time is Not Just a Count: The fundamental insight is that treating user interactions as discrete events in time, rather than just aggregated counts, unlocks richer information for recommendation. This allows for more nuanced understanding of user behavior.
  • Decaying Influence is Key: The temporal kernel in the extrinsic intensity function, particularly the exponential decay, is crucial for modeling how the influence of past actions (both personal and social) naturally fades over time, which is a more realistic representation than static influence.
  • Unified Framework for Temporal & Social: RPF provides a flexible framework that can seamlessly integrate temporal dynamics, social influence, and user/item heterogeneity, offering a more holistic approach to recommendation.
  • Interpretability of Temporal Dynamics: The model can reveal interesting temporal patterns, such as sudden spikes in user interest corresponding to product releases or trending events, as demonstrated with the Britney Spears example.

Key Results

  • Superior Item Prediction: RPF and its variants (especially DRPF and DSRPF) consistently outperform baseline methods (including PF variants like HPF, DPF, SPF, and a time-sensitive method TSRS) in terms of NDCG@k and Recall@k on both Last.fm and Tianchi datasets. For instance, on Last.fm, RPF variants achieved NDCG@20 scores around 0.51-0.53, compared to TSRS at 0.39 and HPF at 0.18.
  • Accurate Returning Time Prediction: RPF-based methods also significantly outperform TSRS in predicting the time a user will return to an item, achieving lower Mean Absolute Error (MAE). For example, on Last.fm, DSRPF achieved an MAE of 165, compared to TSRS at 280.
  • Scalability: The proposed variational inference algorithm scales linearly with the number of events, making it practical for large-scale recommendation tasks.
  • Model Convergence: The synthetic experiments show that the inference algorithm converges quickly, requiring around 300 iterations for good performance.
  • Qualitative Insights: The model successfully captures temporal dynamics (e.g., album releases affecting listening intensity) and learns user similarity matrices that align well with empirical Jaccard similarity.

Limitations and Future Work

  • Limitations:
    • The paper notes that DRPF requires more data to train effectively, especially when user-item interaction history is sparse (as in Last.fm).
  • While RPF-based methods generally outperform TSRS, TSRS shows a stronger relative advantage on Tianchi data compared to Last.fm, suggesting that for certain types of interactions (like simple clicks), pure temporal modeling might be less critical than capturing intrinsic preferences.
  • Future Work:
    • Nonparametric Models: Incorporating nonparametric models into RPF to enhance flexibility in capturing dynamic preferences and peer influences.
  • Generative Deep Neural Networks: Utilizing deep neural networks to model the intensity functions, potentially capturing more complex temporal patterns.

Summary updated

BibTeX
@article{hosseini2017recurrent,
  author = {Seyed Abbas Hosseini and Ali Khodadadi and Keivan Alizadeh and Ali Arabzadeh and Mehrdad Farajtabar and Hongyuan Zha and Hamid R. Rabiee},
  title = {{Recurrent Poisson Factorization for Temporal Recommendation}},
  journal = {IEEE Trans. Knowl. Data Eng.},
  year = {2017},
  url = {https://openreview.net/forum?id=ByW1hEWOZB},
}
Figure