Most session-based recommender systems (SBRSs) focus on extracting information from the observed items in the current session of a user to predict a next item, ignoring the causes outside the session (called outer-session causes, OSCs) that influence the user's selection of items. However, these causes widely exist in the real world, and few studies have investigated their role in SBRSs. In this work, we analyze the causalities and correlations of the OSCs in SBRSs from the perspective of causal inference. We find that the OSCs are essentially the confounders in SBRSs, which leads to spurious correlations in the data used to train SBRS models. To address this problem, we propose a novel SBRS framework named COCO-SBRS (COunterfactual COllaborative Session-Based Recommender Systems) to learn the causality between OSCs and user-item interactions in SBRSs. COCO-SBRS first adopts a self-supervised approach to pre-train a recommendation model by designing pseudo-labels of causes for each user's selection of the item in data to guide the training process. Next, COCO-SBRS adopts counterfactual inference to recommend items based on the outputs of the pre-trained recommendation model considering the causalities to alleviate the data sparsity problem. As a result, COCO-SBRS can learn the causalities in data, preventing the model from learning spurious correlations. The experimental results of our extensive experiments conducted on three real-world datasets demonstrate the superiority of our proposed framework over ten representative SBRSs.
翻译:大多数基于会话的推荐系统(SBRSs)主要关注从用户当前会话中的已观测项目中提取信息以预测下一个项目,而忽略了用户选择项目时会话外的原因(称为外部会话原因,OSCs)。然而,这些原因在现实世界中广泛存在,但很少有研究探讨它们在SBRSs中的作用。在本工作中,我们从因果推断的角度分析了OSCs在SBRSs中的因果关系与相关性。我们发现OSCs本质上是SBRSs中的混杂因素,会导致用于训练SBRS模型的数据出现虚假相关性。为解决这一问题,我们提出了一种名为COCO-SBRS(反事实协同会话推荐系统)的新型SBRS框架,以学习SBRSs中OSCs与用户-项目交互之间的因果关系。COCO-SBRS首先采用自监督方法,通过为数据中每个用户选择项目的原因设计伪标签来预训练推荐模型,以指导训练过程。随后,COCO-SBRS利用反事实推断,基于预训练推荐模型的输出(考虑因果关系)推荐项目,以缓解数据稀疏性问题。因此,COCO-SBRS能够学习数据中的因果关系,防止模型学习虚假相关性。我们在三个真实数据集上进行的广泛实验结果表明,所提出的框架优于十个具有代表性的SBRSs。