Share your thoughts, 1 month free Claude Pro on usSee more
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.168
130
Sequential RecommendationBeauty
HR@108.45
58
Sequential RecommendationBeauty
Hit Rate @ 2012.79
43
Sequential RecommendationSports
Recall@50.0326
43
Sequential RecommendationMovieLens 1M (test)
Hit@1023.86
42
Sequential RecommendationSports
HR@53.9
39
Sequential RecommendationBeauty (test)
NDCG@53.37
36
Sequential RecommendationYelp
HR@52.68
31
Sequential RecommendationFourSquare
HR@200.0286
28
Sequential RecommendationSports (test)
HR@53.32
26
Showing 10 of 34 rows

Other info

Follow for update