Sequential recommendation has become increasingly prominent in both academia and industry, particularly in e-commerce. The primary goal is to extract user preferences from historical interaction sequences and predict items a user is likely to engage with next. Recent advances have leveraged contrastive learning and graph neural networks to learn more expressive representations from interaction histories -- graphs capture relational structure between nodes, while ID-based representations encode item-specific information. However, few studies have explored multi-view contrastive learning between ID and graph perspectives to jointly improve user and item representations, especially in settings where only interaction data is available without auxiliary information. To address this gap, we propose Multi-View Contrastive learning for sequential recommendation (MVCrec), a framework that integrates complementary signals from both sequential (ID-based) and graph-based views. MVCrec incorporates three contrastive objectives: within the sequential view, within the graph view, and across views. To effectively fuse the learned representations, we introduce a multi-view attention fusion module that combines global and local attention mechanisms to estimate the likelihood of a target user purchasing a target item. Comprehensive experiments on five real-world benchmark datasets demonstrate that MVCrec consistently outperforms 11 state-of-the-art baselines, achieving improvements of up to 14.44% in NDCG@10 and 9.22% in HitRatio@10 over the strongest baseline. Our code and datasets are available at https://github.com/sword-Lz/MMCrec.
Figures & tables
Fig. 1 : Our proposed framework, MVCrec, consists of multi-view contrastive learning and multi-view attention fusion module.
Dataset
#users
#items
#interactions
avg.length
sparsity
Sports
33.6K
18.3K
296.3K
8.3
99.95%
Beauty
22.3K
12.1K
198.5K
8.8
99.93%
Yelp
30.4K
20.0K
316.3K
10.4
99.95%
Home & Kitchen
66.5K
28.2K
551.6K
8.3
99.97%
Reddit
14.5K
15.4K
28.9K
20.95
99.99%
TABLE I : The statistics of datasets.
Dataset
Metric
BPRMF
LightGCN
GRU4rec
Caser
SASRec
BERT4Rec
SRGNN
CL4rec
MCLrec
MCLSR
DCrec
MVCrec
Improv.(%)
Sport
HR@5
0.0144
0.0171
0.0113
0.0060
0.0242
0.0222
0.0214
0.0258
0.0281
0.0186
0.0333
0.0352
5.71
NDCG@5
0.0092
0.0107
0.0073
0.0043
0.0158
0.0147
0.0144
0.0171
0.0191
0.0123
0.0231
0.0238
3.03
HR@10
0.0255
0.0289
0.0182
0.0092
0.0369
0.0351
0.0330
0.0403
0.0428
0.0287
0.0481
0.0523
8.73
NDCG@10
0.0127
0.0146
0.0095
0.0053
0.0199
0.0189
0.0181
0.0218
0.0239
0.0155
0.0278
0.0293
5.4
HR@20
0.0414
0.0471
0.0317
0.0138
0.0550
0.0527
0.0508
0.0607
0.0662
0.0444
0.0683
0.0760
11.27
NDCG@20
0.0168
0.0191
0.0129
0.0065
0.0245
0.0233
0.0226
0.0269
0.0297
0.0195
0.0329
0.0352
6.99
TABLE II : Overall coverage where bold means the best performance and underline means the second-best performance. The p-value for the result is less than 0.01.
Fig. 2 : Performance at different λ under NDCG@20.
Model
MVCrec
MVCrec(s)
MVCrec(g)
MVCrec(mlp)
Beauty
HR
0.1275
0.1068
0.1183
0.1017
NDCG
0.0637
0.0509
0.0559
0.0489
Sport
HR
0.0760
0.0607
0.0705
0.0590
NDCG
0.0352
0.0269
0.0319
0.0271
Yelp
HR
0.1107
0.0938
0.1020
0.0923
NDCG
0.0589
0.0466
0.0523
0.0449
TABLE III : Ablation study at HR@20 and NDCG@20.
Fig. 3 : Performance with different batch sizes under NDCG@20. The results from Reddit have been divided by 10 to ensure its line fits to the same figure with the other four datasets.
Fig. 4 : Performance with different embedding sizes under NDCG@20. The results from Reddit have been divided by 10 to ensure its line fits to the same figure with the other four datasets.
Transformer architectures, capable of capturing sequential dependencies in the history of user interactions, have become the dominant approach in sequential recommender systems. Despite their success, such models consider sequence elements in isolation, implicitly accounting for the complex relationships between them. Graph neural networks, in contrast, explicitly model these relationships through higher order interactions but are often unable to adequately capture their evolution over time, limiting their use for predicting the next interaction. To fill this gap, we present a new framework that combines transformers and graph neural networks and aligns different representations for solving next-item prediction task. Our solution simultaneously encodes structural dependencies in the interaction graph and tracks their dynamic change. Experimental results on a number of open datasets demonstrate that the proposed framework consistently outperforms both pure sequential and graph approaches in terms of recommendation quality, as well as recent methods that combine both types of signals.
Artur Gimranov, Viacheslav Yusupov, Elfat Sabitov +4
Attribute-aware sequential recommendation entails predicting the next item a user will interact with based on a chronologically ordered history of past interactions, enriched with item attributes. Existing methods typically leverage self-attention mechanisms to aggregate the entire sequence into a unified representation used for next-item prediction. While effective, these models often suffer from high computational complexity and memory consumption, limiting their ability to process long user histories. This constraint restricts the model's capacity to fully capture long-term user preferences. In some scenarios, modeling item interactions purely through attention may also not be the most effective approach to extract sequential patterns. In this work, we propose ConvRec, an alternative method with linear computational and memory complexity that employs convolutional layers in a hierarchical, down-scaled fashion to generate compact, yet expressive sequence representations. To further enhance the model's ability to capture diverse sequential patterns, each layer aggregates the neighboring items gradually to reach a comprehensive sequence representation. Extensive experiments on four real-world datasets demonstrate that our approach outperforms state-of-the-art sequential recommendation models, highlighting the potential of convolution-based architectures for efficient and effective sequence modeling in recommendation systems. Our implementation code and datasets are available here https://github.com/ismll-research/ConvRec.
Shereen Elsayed, Ngoc Son Le, Ahmed Rashed +1
Information Systems and Machine Learning Lab (ISMLL), University of Hildesheim, Germany · VWFS Data Analytics Research Center (VWFS DARC), University of Hildesheim, Germany · Volkswagen Financial Services AG, Germany
Sequential recommendation aims to predict users' next interaction with items by analyzing their historical behavior. However, the limited quality of item representations remains a critical bottleneck. While pre-trained large language models (LLMs) can provide rich semantic representations, existing approaches only rely on static encoding of fixed attributes, overlooking the crucial role of target audiences in defining item identity. Moreover, the semantic space struggles to reflect actual user behavior, resulting in a significant gap between semantic representations and behavioral patterns. To address these limitations, we propose GenAIR, a general framework that empowers sequential recommendation with Generative Archetype-grounded Item Representations. Specifically, we first leverage an LLM to analyze item metadata and infer textual description of the Archetype, which represents the conceptual profile of the item's ideal target audience. We then extract the corresponding embeddings in a single forward pass. Further, to ground these generative archetypes in real-world behavior, we introduce a behavioral calibration objective, which explicitly incorporates behavioral signals from actual interactions. This objective adjusts the structure of the embedding space to reflect empirical patterns. GenAIR enables seamless integration with most existing models while maintaining high efficiency. Comprehensive experiments conducted on three real-world datasets demonstrate that GenAIR significantly improves the performance of various sequential recommendation models and consistently outperforms state-of-the-art baseline approaches. Implementation codes are available at https://github.com/AI-Santiago/GenAIR.
Yifan Li, Jiahong Liu, Xinni Zhang +5
The Chinese University of Hong Kong Hong Kong SAR, China · McGill University Montreal, Canada · Tongji University Shanghai, China