Temporal Graph Contrastive Learning for Sequential Recommendation

Authors

  • Shengzhe Zhang University of Science and Technology of China
  • Liyi Chen University of Science and Technology of China
  • Chao Wang HKUST Fok Ying Tung Research Institute
  • Shuangli Li University of Science and Technology of China
  • Hui Xiong Hong Kong University of Science and Tech

DOI:

https://doi.org/10.1609/aaai.v38i8.28789

Keywords:

DMKM: Recommender Systems, DMKM: Graph Mining, Social Network Analysis & Community, DMKM: Mining of Spatial, Temporal or Spatio-Temporal Data

Abstract

Sequential recommendation is a crucial task in understanding users' evolving interests and predicting their future behaviors. While existing approaches on sequence or graph modeling to learn interaction sequences of users have shown promising performance, how to effectively exploit temporal information and deal with the uncertainty noise in evolving user behaviors is still quite challenging. To this end, in this paper, we propose a Temporal Graph Contrastive Learning method for Sequential Recommendation (TGCL4SR) which leverages not only local interaction sequences but also global temporal graphs to comprehend item correlations and analyze user behaviors from a temporal perspective. Specifically, we first devise a Temporal Item Transition Graph (TITG) to fully leverage global interactions to understand item correlations, and augment this graph by dual transformations based on neighbor sampling and time disturbance. Accordingly, we design a Temporal item Transition graph Convolutional network (TiTConv) to capture temporal item transition patterns in TITG. Then, a novel Temporal Graph Contrastive Learning (TGCL) mechanism is designed to enhance the uniformity of representations between augmented graphs from identical sequences. For local interaction sequences, we design a temporal sequence encoder to incorporate time interval embeddings into the architecture of Transformer. At the training stage, we take maximum mean discrepancy and TGCL losses as auxiliary objectives. Extensive experiments on several real-world datasets show the effectiveness of TGCL4SR against state-of-the-art baselines of sequential recommendation.

Published

2024-03-24

How to Cite

Zhang, S., Chen, L., Wang, C., Li, S., & Xiong, H. (2024). Temporal Graph Contrastive Learning for Sequential Recommendation. Proceedings of the AAAI Conference on Artificial Intelligence, 38(8), 9359-9367. https://doi.org/10.1609/aaai.v38i8.28789

Issue

Section

AAAI Technical Track on Data Mining & Knowledge Management