gSASRec:降低采用负采样训练的序列推荐中的过度自信
gSASRec: Reducing Overconfidence in Sequential Recommendation Trained with Negative Sampling
AI总结:
针对负采样导致序列推荐模型过度自信的问题,本文提出 gBCE 损失与 gSASRec 模型,通过增加负样本缓解概率高估,并在三个数据集上以更低训练成本超越 BERT4Rec。
摘要:
庞大的商品目录规模是训练推荐模型的核心挑战之一:大量商品使得在训练期间为所有商品计算分数在内存和计算上都很低效,迫使这些模型采用负采样。然而,负采样会提高训练数据中正向交互的比例,因此采用负采样训练的模型往往会高估正向交互的概率——我们将这一现象称为过度自信。尽管预测分数或概率的绝对值对于检索推荐的排序并不重要,但过度自信的模型可能无法估计排名靠前商品之间的细微差异,从而导致性能下降。在本文中,我们表明过度自信解释了为什么流行的 SASRec 模型在与 BERT4Rec 比较时表现不佳。这与 BERT4Rec 作者提出的性能差异源于双向注意力机制的解释相反。为缓解过度自信,我们提出了一种新颖的广义二元交叉熵损失函数(gBCE),并从理论上证明它可以缓解过度自信。我们进一步提出了 gSASRec 模型,这是对 SASRec 的改进,采用了更多数量的负样本和 gBCE 损失。我们通过在三个数据集上的详细实验表明,gSASRec 不会出现过度自信问题。因此,gSASRec 的表现可以优于 BERT4Rec(例如在 MovieLens-1M 数据集上 NDCG 提升 9.47%),同时所需训练时间更少(例如在 MovieLens-1M 上训练时间减少 73%)。此外,与 BERT4Rec 不同,gSASRec 适用于包含超过 100 万个商品的大型数据集。
英文摘要:
A large catalogue size is one of the central challenges in training recommendation models: a large number of items makes them memory and computationally inefficient to compute scores for all items during training, forcing these models to deploy negative sampling. However, negative sampling increases the proportion of positive interactions in the training data, and therefore models trained with negative sampling tend to overestimate the probabilities of positive interactions a phenomenon we call overconfidence. While the absolute values of the predicted scores or probabilities are not important for the ranking of retrieved recommendations, overconfident models may fail to estimate nuanced differences in the top-ranked items, resulting in degraded performance. In this paper, we show that overconfidence explains why the popular SASRec model underperforms when compared to BERT4Rec. This is contrary to the BERT4Rec authors explanation that the difference in performance is due to the bi-directional attention mechanism. To mitigate overconfidence, we propose a novel Generalised Binary Cross-Entropy Loss function (gBCE) and theoretically prove that it can mitigate overconfidence. We further propose the gSASRec model, an improvement over SASRec that deploys an increased number of negatives and the gBCE loss. We show through detailed experiments on three datasets that gSASRec does not exhibit the overconfidence problem. As a result, gSASRec can outperform BERT4Rec (e.g. +9.47% NDCG on the MovieLens-1M dataset), while requiring less training time (e.g. -73% training time on MovieLens-1M). Moreover, in contrast to BERT4Rec, gSASRec is suitable for large datasets that contain more than 1 million items.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。