跳到主要导航 跳到搜索 跳到主要内容

Ranking-based contrastive loss for recommendation systems

  • Xi'an Jiaotong University
  • China Unicom Shaanxi Branch

科研成果: 期刊稿件 › 文章 › 同行评审

25 引用 (Scopus)

摘要

The recommendation system is fundamental technology of the internet industry intended to solve the information overload problem in the big data era. Top-k recommendation is an important task in this field. It generally functions through the comparison of positive pairs and negative pairs based on Bayesian personalized ranking (BPR) loss. We find that the contrastive loss (CL) function used in contrastive learning is well-suited for top-k recommendation. However, there are two problems in the existing loss functions. First, all samples are treated the same, and hard samples are not considered. Second, all nonpositive samples are considered negative samples, which ignores the fact that they are unlabelled data containing items that users may like. Moreover, in our experiments, we find that when items are sorted by their similarities to the user, many negative items (or samples) appear before the positive items. We regard these negative items as hard samples and those at the top as potentially positive samples due to their high level of similarities with users. Therefore, we propose a ranking-based contrastive loss (RCL) function to exploit both hard samples and potentially positive samples. Experimental results demonstrate the effectiveness, broad applicability, and high training efficiency of the proposed RCL function. The code and data are available at https://github.com/haotangxjtu/RCL.

源语言英语
期刊论文编号110180
期刊Knowledge-Based Systems
卷261
DOI
出版状态已出版 - 15 2月 2023

学术指纹

探究 'Ranking-based contrastive loss for recommendation systems' 的科研主题。它们共同构成独一无二的学术指纹。

引用此