[Paper Review] Long Short-Term Preference Modeling for Continuous-Time Sequential Recommendation
This paper proposes LSTSR, a novel dynamic graph-based method for continuous-time sequential recommendation that explicitly models the evolution of user short-term preferences using a memory mechanism with Message, Aggregate, and Update operations. It outperforms state-of-the-art methods across five datasets, demonstrating significant gains—especially in Recall@10, which improves from 0.7232 to 0.8635 with the memory mechanism enabled.
Modeling the evolution of user preference is essential in recommender systems. Recently, dynamic graph-based methods have been studied and achieved SOTA for recommendation, majority of which focus on user's stable long-term preference. However, in real-world scenario, user's short-term preference evolves over time dynamically. Although there exists sequential methods that attempt to capture it, how to model the evolution of short-term preference with dynamic graph-based methods has not been well-addressed yet. In particular: 1) existing methods do not explicitly encode and capture the evolution of short-term preference as sequential methods do; 2) simply using last few interactions is not enough for modeling the changing trend. In this paper, we propose Long Short-Term Preference Modeling for Continuous-Time Sequential Recommendation (LSTSR) to capture the evolution of short-term preference under dynamic graph. Specifically, we explicitly encode short-term preference and optimize it via memory mechanism, which has three key operations: Message, Aggregate and Update. Our memory mechanism can not only store one-hop information, but also trigger with new interactions online. Extensive experiments conducted on five public datasets show that LSTSR consistently outperforms many state-of-the-art recommendation methods across various lines.
Motivation & Objective
- Address the gap in modeling dynamic short-term preference evolution within dynamic graph-based recommender systems.
- Overcome the limitation of existing dynamic graph methods that focus primarily on stable long-term preferences.
- Explicitly encode and optimize short-term preference evolution using a memory mechanism that captures temporal trends beyond just recent interactions.
- Integrate both long-term and short-term preference modeling effectively in a unified dynamic graph framework.
- Enable online adaptation of short-term embeddings through a triggerable memory mechanism that supports streaming inference.
Proposed method
- Construct a Continuous-Time Dynamic Graph (CTDG) from user interaction history to represent evolving user-item relationships with timestamps.
- Introduce a Long Short-Term Embedding Layer that encodes user and item embeddings with continuous-time representations and a memory mechanism.
- Design a memory mechanism with three operations: Message (generate context-aware messages using time-aware embeddings), Aggregate (aggregate neighbor messages to form preference representations), and Update (use RNNs like GRU/LSTM to update short-term embeddings over time).
- Apply Dynamic Collaborative Transformer with DSACF (Dynamic Self-Attention with Collaborative Filtering) to capture dynamic collaborative signals from the evolving graph.
- Use BPR loss for optimization and affinity scoring to predict next-item recommendations.
- Leverage dynamic neighbor sampling and last-time aggregation to improve inference efficiency, enabling near 5x and 10x speedup over TGSRec in training and inference, respectively.
Experimental results
Research questions
- RQ1Can dynamic graph-based methods effectively model the evolution of user short-term preferences, which are fast-changing and trend-driven?
- RQ2How does explicitly encoding short-term preference with a memory mechanism improve recommendation performance compared to relying only on recent interactions?
- RQ3What is the impact of continuous-time embeddings and dynamic collaborative signals (DSACF) on modeling preference dynamics?
- RQ4To what extent does the memory mechanism enhance performance and enable online adaptation in streaming recommendation scenarios?
- RQ5Is deeper architecture necessary for modeling long and short-term preferences, or can a shallow design suffice with effective memory mechanisms?
Key findings
- The full LSTSR model achieves the best performance across all metrics on five public datasets, outperforming multiple SOTA baselines.
- The memory mechanism alone boosts Recall@10 from 0.7232 to 0.8635 on the Wikipedia dataset, demonstrating its critical role in modeling short-term preference evolution.
- Continuous-time embeddings and DSACF are pivotal for capturing dynamic evolution and collaborative signals, with performance dropping significantly when removed.
- One layer is sufficient for LSTSR to capture long and short-term preferences effectively, as deeper architectures (e.g., LSTSR-2l) show only marginal gains.
- LSTSR achieves near 5x and 10x speedup over TGSRec in training and inference, respectively, due to efficient memory representation and dynamic neighbor sampling.
- Ablation studies confirm that the memory mechanism’s ability to store one-hop information and trigger on new interactions enables robust and efficient online inference.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.