Skip to main content
QUICK REVIEW

[Paper Review] Hierarchical Temporal Convolutional Networks for Dynamic Recommender Systems

Jiaxuan You, Yichen Wang|arXiv (Cornell University)|Apr 8, 2019
Recommender Systems and TechniquesComputer Science40 references23 citations
TL;DR

This paper proposes Hierarchical Temporal Convolutional Networks (HierTCN), a two-level deep learning architecture that combines RNNs for modeling long-term user interests across sessions and Temporal Convolutional Networks (TCN) for capturing short-term in-session dynamics to enable fast, scalable, and accurate dynamic recommendations. HierTCN achieves 18% higher recall and 10% higher mean reciprocal rank than state-of-the-art methods while being 2.5x faster and using 90% less memory than comparable models.

ABSTRACT

Recommender systems that can learn from cross-session data to dynamically predict the next item a user will choose are crucial for online platforms. However, existing approaches often use out-of-the-box sequence models which are limited by speed and memory consumption, are often infeasible for production environments, and usually do not incorporate cross-session information, which is crucial for effective recommendations. Here we propose Hierarchical Temporal Convolutional Networks (HierTCN), a hierarchical deep learning architecture that makes dynamic recommendations based on users' sequential multi-session interactions with items. HierTCN is designed for web-scale systems with billions of items and hundreds of millions of users. It consists of two levels of models: The high-level model uses Recurrent Neural Networks (RNN) to aggregate users' evolving long-term interests across different sessions, while the low-level model is implemented with Temporal Convolutional Networks (TCN), utilizing both the long-term interests and the short-term interactions within sessions to predict the next interaction. We conduct extensive experiments on a public XING dataset and a large-scale Pinterest dataset that contains 6 million users with 1.6 billion interactions. We show that HierTCN is 2.5x faster than RNN-based models and uses 90% less data memory compared to TCN-based models. We further develop an effective data caching scheme and a queue-based mini-batch generator, enabling our model to be trained within 24 hours on a single GPU. Our model consistently outperforms state-of-the-art dynamic recommendation methods, with up to 18% improvement in recall and 10% in mean reciprocal rank.

Motivation & Objective

  • To address the limitations of existing sequence models in large-scale dynamic recommender systems, which suffer from high memory usage, slow training, and poor cross-session modeling.
  • To design a scalable, production-ready architecture that efficiently captures both long-term user interests across sessions and short-term in-session behavior.
  • To enable real-time, web-scale recommendations on datasets with billions of interactions and hundreds of millions of users.
  • To outperform existing RNN- and CNN-based models in both accuracy and efficiency on real-world datasets.

Proposed method

  • HierTCN employs a hierarchical two-level architecture: a high-level RNN model to encode evolving long-term user interests across multiple sessions.
  • The low-level model uses Temporal Convolutional Networks (TCN) to process short-term in-session interactions and combine them with the long-term representation for dynamic prediction.
  • The model uses a queue-based mini-batch generator and an effective data caching scheme to enable training within 24 hours on a single GPU.
  • It applies hinge loss with negative sampling for improved ranking performance, and uses batch normalization and dropout to stabilize training and reduce overfitting.
  • The framework supports joint modeling of millions of users and items, enabling scalable offline training and online inference.
  • It leverages causal convolutions in TCN for autoregressive prediction and ensures computational efficiency through dilated convolutions and local receptive fields.

Experimental results

Research questions

  • RQ1Can a hierarchical deep learning model effectively capture both long-term cross-session user interests and short-term in-session dynamics for dynamic recommendations?
  • RQ2How does HierTCN compare in performance and efficiency to RNN-based and CNN-based models in large-scale, real-world settings?
  • RQ3What is the impact of different loss functions and regularization techniques on model generalization and convergence?
  • RQ4How does model performance vary with the number of historical interactions and time gaps between sessions?
  • RQ5Can the proposed architecture scale to production environments with billions of interactions and millions of users?

Key findings

  • HierTCN achieves up to 18% higher recall and 10% higher mean reciprocal rank (MRR) compared to state-of-the-art methods on a large-scale Pinterest dataset with 1.7 billion interactions.
  • The model is 2.5 times faster in training and uses 90% less data memory than TCN-based models, enabling training within 24 hours on a single GPU.
  • Using hinge loss with negative sampling improves Recall@1 by 20% and MRR by 10% over L2 loss, outperforming NCE-based objectives.
  • Batch normalization alone improves performance and accelerates convergence, while combining it with dropout yields further gains and helps mitigate overfitting.
  • Model performance increases with more historical interactions and shorter time gaps between sessions, indicating strong generalization across user behavior patterns.
  • Visualization shows HierTCN successfully balances diverse interests (e.g., food and furniture), while rule-based and single-level models overfit to dominant item types.

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.