Context-Aware Negative Sampling for Sequential Recommendation
Recommender systems have become essential in large-scale e-commerce and content platforms. While user preferences are crucial in generating recommendations, the context in which recommendations are made—such as time, location, and occasion—also plays a significant role. Over the past decades, context-aware models have been developed to address this. However, the use of context information in negative sampling remains less expored, despite the well-known impact of sampling strategies on recommendation performance. In this study, we first quantitatively demonstrate that item distributions vary significantly across different contexts. Based on this observation, we propose two novel negative sampling methods: <italic xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">context-aware hard negative item sampling</i> and <italic xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">negative context sampling</i>. These methods enhance recommendation diversity by more accurately reflecting context-dependent item distributions during training. To validate the effectiveness of the proposed methods, we apply them to a sequential recommendation model leveraging temporal context, where time information plays a critical role. The proposed methods are designed to be easily integrated into any sampling-based sequential recommendation model in a plug-and-play manner, and extensive experimental results on 10 real-world datasets demonstrate that the proposed methods significantly improve recommendation diversity, with an average increase of 20.65%, while incurring only a minor accuracy loss of 1.89%.
Authors
- Jaesik Choi (ORCID: https://orcid.org/0000-0002-4663-3263)
- Jinseok Seol (ORCID: https://orcid.org/0000-0002-7394-6871)
Institutions
- Korea Advanced Institute of Science and Technology (KR)
Publication Details
- Journal
- IEEE Access
- Published
- 2025-01-01
- DOI
- https://doi.org/10.1109/access.2025.3576124
- Citations
- 1
- Primary Topic
- Recommender Systems and Techniques
- Type
- article
- Field-Weighted Citation Impact
- 3.25
Funders
- National Research Foundation of Korea