TL;DR
Recurrent Poisson Factorization (RPF) evolves recommendation systems from asking "what will a user buy?" to "when will they buy it again?" By replacing static Poisson distributions with continuous-time Poisson processes, RPF captures the bursty, recurrent nature of user behavior and social influence to deliver timely, context-aware recommendations.
What Problem Does This Paper Address?
Most recommendation engines treat user-item interactions as a snapshot in time. Standard Poisson Factorization (PF) models count how many times a user clicked a link or played a song, but they aggregate these counts over long windows. This "bag-of-interactions" approach ignores the rhythm of human behavior.
For example, a user might listen to a new album ten times in one week (a burst) and then never again, or they might listen to a favorite artist once a month like clockwork. Traditional models see these as identical "count = 10" scenarios. Furthermore, existing models struggle to answer time-sensitive questions: When is the best time to send a push notification? When will a user likely run out of a consumable product? RPF addresses this by treating time as a first-class citizen rather than a discrete bin.
Methods
The core innovation is the transition from a Poisson distribution to a non-homogeneous Poisson process.
In RPF, the likelihood of a user $u$ interacting with item $p$ at time $t$ is governed by an intensity function $\lambda_{up}(t)$. This function is composed of two main parts:
- Intrinsic Intensity: A hierarchical matrix factorization ($\theta_u^T \beta_p$) that captures long-term user preferences and item attributes.
- Extrinsic Intensity: A "triggering" component where past events (either by the user themselves or their social circle) temporarily spike the probability of a new interaction.
The authors introduce several variants to handle different real-world complexities:
- HRPF (Hierarchical): Captures user/item heterogeneity using gamma priors.
- DRPF (Dynamic): Allows latent preferences to evolve over time (e.g., seasonal interests).
- SRPF (Social): Models how a friend's interaction "triggers" a user's future interest.
To make this computationally feasible for millions of interactions, they developed a scalable variational inference algorithm based on mean-field approximation, using auxiliary variables to maintain mathematical conjugacy.
Datasets
The model was evaluated on three distinct types of data:
- Synthetic Data: 1,000 users and 1,000 items with 1 million generated events to verify the inference algorithm's accuracy and scalability.
- Last.fm: A music streaming dataset containing ~480,000 timestamped listening events for 1,200 users and 1,000 artists. This is ideal for testing recurrent behavior (re-listening to songs).
- Tianchi (Alibaba M-Commerce): A large-scale mobile commerce dataset with 1.2 million click events. This tests the model's performance in a high-volume, fast-paced retail environment.
Key Insights and Ideas
- The Superposition Advantage: Because the superposition of independent Poisson processes is itself a Poisson process, the authors can elegantly sum up intrinsic interest, self-triggering effects, and social influences into a single, mathematically sound intensity function.
- Continuous vs. Discrete Time: Unlike models that use discrete time windows (which lose information at the boundaries), RPF operates in continuous time. This allows it to capture "bursty" behavior much more accurately.
- Event Interpretability: The model can distinguish why an event happened. Was it because the user generally likes the artist (intrinsic), or because they just saw a friend listen to it (social triggering)?
- Capturing Real-World Spikes: The model successfully tracks external shocks. For instance, in the Last.fm data, the model's learned intensity for Britney Spears showed massive spikes corresponding exactly to her album and single release dates (see Figure 4 in the paper).
Key Results
- Superior Item Prediction: RPF variants consistently outperformed state-of-the-art baselines like HPF, SPF, and DPF. On the Last.fm dataset, RPF achieved an NDCG@20 of ~0.52, compared to ~0.18 for standard HPF (see Figure 3a).
- Accurate Return-Time Prediction: RPF significantly beat the Time-Sensitive Recommendation System (TSRS) in predicting when a user would return. In the Tianchi dataset, RPF reduced the Mean Absolute Error (MAE) for return time by nearly 36% compared to TSRS (see Figure 6c).
- Linear Scalability: The inference algorithm's run-time scales almost perfectly linearly with the number of events, making it practical for massive industrial datasets (see Figure 2d).
Limitations and Future Work
While RPF is powerful, the authors note a few areas for growth:
- Nonparametric Extensions: Currently, the number of latent factors ($K$) must be pre-specified. Future versions could use Bayesian nonparametrics to learn the optimal dimensionality automatically.
- Deep Learning Integration: The intensity functions are currently linear combinations of kernels. The authors suggest that using deep neural networks to model these intensities could capture even more complex, non-linear temporal patterns.
- Social Sparsity: The social variant (SRPF) relies on an explicit social graph, which may not always be available or may be extremely sparse in certain applications.
Summary updated