Modeling user's long-term and short-term interests is crucial for accurate recommendation. However, since there is no manually annotated label for user interests, existing approaches always follow the paradigm of entangling these two aspects, which may lead to inferior recommendation accuracy and interpretability. In this paper, to address it, we propose a Contrastive learning framework to disentangle Long and Short-term interests for Recommendation (CLSR) with self-supervision. Specifically, we first propose two separate encoders to independently capture user interests of different time scales. We then extract long-term and short-term interests proxies from the interaction sequences, which serve as pseudo labels for user interests. Then pairwise contrastive tasks are designed to supervise the similarity between interest representations and their corresponding interest proxies. Finally, since the importance of long-term and short-term interests is dynamically changing, we propose to adaptively aggregate them through an attention-based network for prediction. We conduct experiments on two large-scale real-world datasets for e-commerce and short-video recommendation. Empirical results show that our CLSR consistently outperforms all state-of-the-art models with significant improvements: GAUC is improved by over 0.01, and NDCG is improved by over 4%. Further counterfactual evaluations demonstrate that stronger disentanglement of long and short-term interests is successfully achieved by CLSR. The code and data are available at https://github.com/tsinghua-fib-lab/CLSR.
翻译:模拟用户的长期和短期利益对于准确的建议至关重要。然而,由于用户利益没有手工加注的标签,现有办法总是遵循将这两个方面拼凑起来的模式,这可能导致建议准确性和解释性低劣。为解决这一问题,我们提议了一个对比学习框架,以将长期和短期利益与自我监督的视野脱钩。具体地说,我们首先提议两个单独的编码器,独立地捕捉不同时间尺度的用户利益。我们然后从互动序列中提取长期和短期利益代号,作为用户利益的假标签。然后,配对式的对比任务旨在监督利益代表与其相应利益代表之间的相似性。最后,由于长期和短期利益的重要性正在动态变化,我们提议通过基于关注的预测网络来调整这些利益。我们为电子商业和短期视频建议进行两个大规模真实数据集的实验。Empricalcalal结果显示,我们的CLSR长期利益代表及其相应利益代表之间的相似性。由于不断改进的GAB-G-CRM-CS-S-B-SB-CR-B-CR-C-CU-CRest-B-B-CRis-C-CRestal-CReval-B-C-LA-C-B-C-C-B-B-CRis-CRisleval-C-C-C-C-C-C-B-S-S-C-C-C-C-C-C-C-C-C-C-C-CF_B-B-C-CF-B-C-C-C-C-B-C-C-C-B-C-C-C-C-C-C-C-C-C-C-C-C-C-C-C-C-C-C-C-C-C-C-C-C-C-C-C-C-C-C-C-C-C-C-C-C-C-CF-C-C-C-C-C-C-C-C-C-C-C-C-C-C-C-C-C-C-C-C-C-C-C-C-C-C-C-C-C-C-C-C-C-C-C-