Abstract
Recommender systems often use latent features to explain the behaviors of users and capture the properties of items. As users interact with different items over time, user and item features can influence each other, evolve and co-evolve over time. The compatibility of user and item's feature further influence the future interaction between users and items. Recently, point process based models have been proposed in the literature aiming to capture the temporally evolving nature of these latent features. However, these models often make strong parametric assumptions about the evolution process of the user and item latent features, which may not reflect the reality, and has limited power in expressing the complex and nonlinear dynamics underlying these processes. To address these limitations, we propose a novel deep coevolutionary network model (DeepCoevolve), for learning user and item features based on their interaction graph. DeepCoevolve use recurrent neural network (RNN) over evolving networks to define the intensity function in point processes, which allows the model to capture complex mutual influence between users and items, and the feature evolution over time. We also develop an efficient procedure for training the model parameters, and show that the learned models lead to significant improvements in recommendation and activity prediction compared to previous state-of-the-arts parametric models.
Introduction
Traditional recommender systems often treat user interests and item properties as static or slowly changing features. However, in real-world scenarios, these features are intrinsically coevolutionary. For instance, in a social forum, a group of users interacting with a specific topic can shift the nature of that topic (item evolution), while the evolving content of the topic simultaneously refines the users' interests (user evolution).
Existing temporal models often suffer from two primary drawbacks: coarse time discretization, which loses fine-grained dynamics, and rigid parametric assumptions (e.g., Hawkes processes with fixed kernels), which fail to capture the complex, nonlinear interactions between users and items. We introduce DeepCoevolve, a framework that leverages Recurrent Neural Networks (RNNs) and temporal point processes to model these dynamic, mutual influences in continuous time.
Methodology
The Coevolutionary RNN
DeepCoevolve represents users and items as evolving embedding vectors. When a user $u$ interacts with an item $i$ at time $t$, the model triggers a simultaneous update for both embeddings using an RNN structure.
As shown in Figure 1, the update for a user embedding $f_u(t)$ incorporates four critical components:
- Temporal Drift: Captures smooth, continuous changes due to external factors.
- Self-evolution: Reflects intrinsic changes based on the user's own history.
- Co-evolution: Captures how the item’s current features influence the user’s state.
- Interaction Context: Integrates metadata, such as review text or post content.
Point Process Integration
To model event timing, we employ a Rayleigh Point Process. The intensity function $\lambda(t)$, representing the instantaneous probability of an interaction, is determined by the compatibility (inner product) of the user and item embeddings.
A key insight of our model is the use of piecewise constant embeddings. As illustrated in Figure 4, a user’s latent state is assumed to remain constant while they are inactive, updating only at the moment of interaction. This allows the model to treat time as a continuous variable while maintaining mathematical tractability for the intensity function.
Efficient Training
Training RNNs on global interaction timelines is computationally demanding. We address this through:
- Global BPTT: Backpropagation Through Time is applied over a sliding window of the global event sequence.
- Noise-Contrastive Estimation (NCE): To avoid exhaustive calculations over all user-item pairs, we use a sampling scheme focusing on observed events and a subset of "non-events."
Experiments and Results
The model was evaluated on three diverse datasets: IPTV (TV viewing history), Yelp (business reviews), and Reddit (subreddit interactions).
DeepCoevolve consistently outperformed state-of-the-art baselines, including LowRankHawkes and Coevolving.
- Item Recommendation: The model achieved significantly lower Mean Average Rank (MAR), indicating superior accuracy in ranking the "correct" next item.
- Time Prediction: DeepCoevolve demonstrated a 10x to 30x improvement in Mean Absolute Error (MAE) for time prediction on IPTV and Yelp compared to parametric point process models.
- Recurring Events: The framework proved particularly effective at predicting when a user would return to a previously visited item, a vital task for retention modeling.
Discussion and Conclusion
DeepCoevolve moves beyond rigid parametric kernels by using RNNs to learn the "shape" of feature evolution directly from data. This flexibility allows it to capture complex influence propagation: even if an update involves only one user and item, the effect ripples through the network as subsequent users interact with that modified item.
While the current model relies on a globally ordered sequence of events—presenting challenges for massive-scale distributed training—it sets a new benchmark for continuous-time recommendation. Future work will explore handling "cold start" scenarios and extending the framework to model complex group dynamics in social networks.
Summary updated