Lifelong Sequential Modeling with Personalized Memorization for User Response Prediction

Kan Ren, Jiarui Qin, Yuchen Fang, Weinan Zhang, Lei Zheng, Weijie Bian, Guorui Zhou, Jian Xu, Yong Yu, Xiaoqiang Zhu, Kun Gai · DOI

TL;DR

This paper introduces Lifelong Sequential Modeling (LSM) to predict user responses by capturing their evolving interests over their entire online history. They propose a Hierarchical Periodic Memory Network (HPMN) that uses personalized, incrementally updated memory slots to efficiently model long-term, multi-scale user behavior patterns, achieving state-of-the-art performance.

What Problem Does This Paper Address?

Online platforms like e-commerce sites and search engines rely heavily on predicting user responses (e.g., clicks, purchases) to personalize user experiences. This prediction is typically done through user modeling, which analyzes user behavior sequences. However, a major challenge is that user behavior logs grow incredibly long over time, and users' interests are not static; they evolve throughout their "lifelong" online activity. Existing sequential modeling methods often focus only on recent user behaviors, neglecting the valuable information contained in older interactions and the long-term dependencies that can influence current decisions. This limitation leaves a significant gap in accurately modeling users' dynamic and evolving preferences over their entire digital footprint.

Methods

The core of this paper is the Hierarchical Periodic Memory Network (HPMN), designed for Lifelong Sequential Modeling (LSM). HPMN addresses the challenges of long user histories and evolving interests through several key mechanisms:

  • Personalized Memory: Each user has their own dedicated memory slots to store their unique behavior patterns and evolving interests.
  • Hierarchical Structure: The memory is organized hierarchically across multiple layers. Each layer is responsible for capturing patterns at different temporal scales.
  • Periodic Incremental Updating: Instead of retraining on the entire history, HPMN updates its memory incrementally. Crucially, each layer has a different "update period," allowing lower layers to capture short-term trends more frequently and higher layers to retain long-term knowledge with less frequent updates. This periodic updating prevents knowledge forgetting and saturation.
  • Attentional Memory Reading: When a prediction is needed, the model uses the target item as a query to "read" the relevant information from the user's personalized memory. An attention mechanism determines which memory slots are most relevant for the current prediction.
  • Memory Covariance Regularization: To ensure that different memory slots capture diverse aspects of user interests, a regularization term is added to minimize the covariance between memory slots.

This approach contrasts with traditional methods that either aggregate all behaviors, focus only on recent ones, or use simpler memory structures without hierarchical or periodic updates.

Datasets

The authors evaluated their HPMN model on three large-scale, real-world datasets:

  • Amazon: E-commerce product browsing logs with reviews, spanning a very long time range (May 1999 - July 2014).
  • Taobao: User behaviors (click, purchase, add-to-cart, favorite) from a commercial platform, covering a shorter period but with high user activity (November 25 - December 3, 2017).
  • XLong: Click logs from Alibaba's e-commerce platform, specifically chosen for its relatively longer user behavior sequences (April - September 2018), making it a challenging benchmark for lifelong modeling.

The paper also notes that the XLong dataset is being made publicly available for further research.

Key Insights and Ideas

  • Lifelong history matters: The experiments demonstrate that incorporating the entire user behavior history, not just recent interactions, significantly improves prediction performance across most models, validating the core premise of LSM.
  • Hierarchical and periodic updates are crucial: The HPMN's ability to capture multi-scale patterns through hierarchical layers and prevent knowledge drift via periodic updates is key to its success, especially for long sequences.
  • Personalized memory is essential: Dedicated memory for each user allows for a more nuanced understanding of individual evolving tastes, which is critical for accurate prediction.
  • Not all memory networks are equal: The paper highlights that simply applying memory network architectures from NLP to user behavior prediction might not be optimal, suggesting that domain-specific adaptations are necessary.

Key Results

HPMN achieved state-of-the-art performance across all three datasets, significantly outperforming various baselines, including aggregation-based models, short-term sequential models (GRU4Rec, DIEN, RUM), and long-term sequential models (LSTM, SHAN).

  • AUC Improvement: HPMN achieved the highest AUC scores on Amazon, Taobao, and XLong datasets, with notable gains over the next best models. For instance, on XLong, HPMN reached an AUC of 0.8929, compared to SHAN's 0.8369.
  • Log-loss Reduction: Similarly, HPMN achieved the lowest Log-loss values, indicating better overall prediction accuracy. On Taobao, HPMN achieved a Log-loss of 0.3487, significantly lower than the next best (LSTM at 0.4603).
  • Efficiency: The memory-based approach of HPMN is more efficient for online inference compared to models that require loading the entire user history.
  • Learning Curves: HPMN demonstrated quick convergence, reaching stable performance within approximately one epoch on all datasets.

Limitations and Future Work

  • Memory Slot Selection: While the paper explores the impact of the number of memory slots, the optimal number still requires tuning and might depend on the dataset's characteristics. The authors suggest that for sequences shorter than 5 memory slots, performance rises sharply, but beyond 5, gains diminish, indicating a capacity limit.
  • Dynamic Update Periods: The current HPMN uses fixed, exponentially increasing update periods for its layers. Future work could explore learning dynamic update periods for each layer to capture more flexible user behavior patterns.
  • Multi-Task Learning: The authors plan to extend their lifelong sequential modeling approach to multi-task learning scenarios, such as jointly predicting user clicks and conversions.

Summary updated

BibTeX
@inproceedings{ren2019lifelong,
  author = {Kan Ren and Jiarui Qin and Yuchen Fang and Weinan Zhang and Lei Zheng and Weijie Bian and Guorui Zhou and Jian Xu and Yong Yu and Xiaoqiang Zhu and Kun Gai},
  title = {{Lifelong Sequential Modeling with Personalized Memorization for User Response Prediction}},
  booktitle = {International ACM SIGIR Conference on Research and Development in Information Retrieval},
  year = {2019},
  doi = {10.1145/3331184.3331230},
}
Figure