Skip to main content
QUICK REVIEW

[Paper Review] Time is of the Essence: a Joint Hierarchical RNN and Point Process Model for Time and Item Predictions

Bjørnar Vassøy, Massimiliano Ruocco|arXiv (Cornell University)|Dec 4, 2018
Multi-Criteria Decision MakingDecision Sciences21 references9 citations
TL;DR

This paper proposes a joint hierarchical RNN and point process model (THRNN) that simultaneously improves session-based item recommendations and return-time predictions by integrating intra-session dynamics, inter-session relationships, and temporal gap modeling. The model achieves state-of-the-art performance on both tasks, with significant gains in recall and MRR on Last.fm and Reddit datasets, while enabling tunable focus on short-, medium-, or long-term time predictions via a controllable loss function.

ABSTRACT

In recent years session-based recommendation has emerged as an increasingly applicable type of recommendation. As sessions consist of sequences of events, this type of recommendation is a natural fit for Recurrent Neural Networks (RNNs). Several additions have been proposed for extending such models in order to handle specific problems or data. Two such extensions are 1.) modeling of inter-session relations for catching long term dependencies over user sessions, and 2.) modeling temporal aspects of user-item interactions. The former allows the session-based recommendation to utilize extended session history and inter-session information when providing new recommendations. The latter has been used to both provide state-of-the-art predictions for when the user will return to the service and also for improving recommendations. In this work we combine these two extensions in a joint model for the tasks of recommendation and return-time prediction. The model consists of a Hierarchical RNN for the inter-session and intra-session items recommendation extended with a Point Process model for the time-gaps between the sessions. The experimental results indicate that the proposed model improves recommendations significantly on two datasets over a strong baseline, while simultaneously improving return-time predictions over a baseline return-time prediction model.

Motivation & Objective

  • To address the limitations of existing session-based recommender systems that fail to model long-term user behavior and temporal dynamics simultaneously.
  • To improve return-time prediction by incorporating user-item interaction patterns across sessions, rather than relying solely on temporal gaps.
  • To jointly optimize recommendation quality and return-time prediction accuracy through shared representations between RNN and point process components.
  • To enable flexible control over prediction focus (short-, medium-, or long-term gaps) via a tunable loss function component.
  • To demonstrate that modeling inter-session dynamics and temporal gaps together enhances both recommendation and time-prediction performance.

Proposed method

  • The model uses a Hierarchical Recurrent Neural Network (HRNN) to learn representations of intra-session item sequences and inter-session session-level dynamics.
  • A point process model (specifically a Hawkes process) is used to model the time gaps between sessions, with intensity functions parameterized by shared embeddings from the HRNN.
  • The joint training process incorporates a weighted loss function with a control parameter α to modulate the importance of different time-gap ranges (short, medium, long).
  • The HRNN's session-level layer captures long-term user behavior patterns across sessions, while the item-level layer models immediate sequential dependencies within each session.
  • Shared embeddings between the HRNN and point process ensure that temporal predictions are informed by actual user-item interaction patterns.
  • The model is trained end-to-end using backpropagation with a composite loss combining recommendation accuracy and time-gap prediction error.

Experimental results

Research questions

  • RQ1Can jointly modeling intra-session item sequences, inter-session user behavior, and temporal gaps improve both recommendation and return-time prediction performance?
  • RQ2How does incorporating a point process for time-gap modeling affect the quality of session-based recommendations?
  • RQ3To what extent can the model’s focus on short-, medium-, or long-term return times be controlled via the loss function?
  • RQ4Does shared representation learning between the RNN and point process lead to better generalization than separate models?
  • RQ5How does the model compare to state-of-the-art baselines in both recommendation and time-prediction tasks?

Key findings

  • On the Last.fm dataset, the THRNN model improved Recall@5 by 6.6% and MRR@5 by 3.4% over the HRNN baseline, with gains of 11.2% in Recall@20 and 5.3% in MRR@20.
  • On the Reddit dataset, the THRNN achieved a 39.3% improvement in Recall@5 and a 36.0% improvement in MRR@5 over the GRU4REC baseline, demonstrating strong generalization across domains.
  • The model outperformed two baseline Hawkes point process models in return-time prediction, especially for time-gaps with higher observation frequency, due to shared representation learning.
  • Tuning the loss function parameter α allowed effective control over prediction focus: higher α values prioritized longer time gaps, while lower values emphasized shorter gaps.
  • The joint model achieved state-of-the-art performance on both recommendation and return-time prediction tasks, indicating a win-win outcome from joint modeling.
  • The improvements over HRNN were smaller than over GRU4REC, suggesting that the HRNN already captures some temporal dynamics, but the addition of point process modeling provides further gains.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.