Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Contrastive Learning for Representation Degeneration Problem in Sequential Recommendation

About

Recent advancements of sequential deep learning models such as Transformer and BERT have significantly facilitated the sequential recommendation. However, according to our study, the distribution of item embeddings generated by these models tends to degenerate into an anisotropic shape, which may result in high semantic similarities among embeddings. In this paper, both empirical and theoretical investigations of this representation degeneration problem are first provided, based on which a novel recommender model DuoRec is proposed to improve the item embeddings distribution. Specifically, in light of the uniformity property of contrastive learning, a contrastive regularization is designed for DuoRec to reshape the distribution of sequence representations. Given the convention that the recommendation task is performed by measuring the similarity between sequence representations and item embeddings in the same space via dot product, the regularization can be implicitly applied to the item embedding distribution. Existing contrastive learning methods mainly rely on data level augmentation for user-item interaction sequences through item cropping, masking, or reordering and can hardly provide semantically consistent augmentation samples. In DuoRec, a model-level augmentation is proposed based on Dropout to enable better semantic preserving. Furthermore, a novel sampling strategy is developed, where sequences having the same target item are chosen hard positive samples. Extensive experiments conducted on five datasets demonstrate the superior performance of the proposed DuoRec model compared with baseline methods. Visualization results of the learned representations validate that DuoRec can largely alleviate the representation degeneration problem.

Ruihong Qiu, Zi Huang, Hongzhi Yin, Zijian Wang• 2021

Related benchmarks

TaskDatasetResultRank
Sequential RecommendationML 1M
NDCG@100.1608
49
Sequential RecommendationSports
Recall@50.0326
43
Sequential RecommendationBeauty
HR@108.45
30
Sequential RecommendationBeauty (test)
HR@55.41
21
Sequential RecommendationSports (test)
HR@53.15
13
Sequential RecommendationClothing (test)
HR@50.0191
13
T2TTL (test)
Accuracy53.26
10
T3TTL (test)
NDCG@102.39
10
T4App (test)
NDCG@103.11
10
T5App (test)
AUC80.03
10
Showing 10 of 22 rows

Other info

Follow for update