Look into the Future: Deep Contextualized Sequential Recommendation
Lei Zheng, Ning Li, Yanhuan Huang, Ruiwen Xu, Weinan Zhang, Yong Yu
TL;DR
The paper tackles the challenge of modeling evolving user interests in sequential recommendation by leveraging future information without causing data leakage. It proposes LIFT, a retrieval-based framework that constructs rich interaction contexts from past and future behaviors of retrieved similar users, combined with a masked-behavior pretraining objective to learn strong contextual representations. The model comprises a decoder-only Transformer encoder, a BM25-based retriever, and a key-based attention predictor that fuses target, history, and retrieved context to predict user responses, achieving consistent gains over strong baselines on CTR and top-N tasks. This approach demonstrates the value of global-context retrieval and self-supervised context learning for more accurate and robust sequential recommendations, with practical implications for deploying context-aware recommenders at scale.
Abstract
Sequential recommendation aims to estimate how a user's interests evolve over time via uncovering valuable patterns from user behavior history. Many previous sequential models have solely relied on users' historical information to model the evolution of their interests, neglecting the crucial role that future information plays in accurately capturing these dynamics. However, effectively incorporating future information in sequential modeling is non-trivial since it is impossible to make the current-step prediction for any target user by leveraging his future data. In this paper, we propose a novel framework of sequential recommendation called Look into the Future (LIFT), which builds and leverages the contexts of sequential recommendation. In LIFT, the context of a target user's interaction is represented based on i) his own past behaviors and ii) the past and future behaviors of the retrieved similar interactions from other users. As such, the learned context will be more informative and effective in predicting the target user's behaviors in sequential recommendation without temporal data leakage. Furthermore, in order to exploit the intrinsic information embedded within the context itself, we introduce an innovative pretraining methodology incorporating behavior masking. In our extensive experiments on five real-world datasets, LIFT achieves significant performance improvement on click-through rate prediction and rating prediction tasks in sequential recommendation over strong baselines, demonstrating that retrieving and leveraging relevant contexts from the global user pool greatly benefits sequential recommendation. The experiment code is provided at https://anonymous.4open.science/r/LIFT-277C/Readme.md.
