arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2207.07483cs.IRcs.AIcs.LG
收藏

BERT4Rec序贯推荐系统评价及可重复性研究

A Systematic Review and Replicability Study of BERT4Rec for Sequential Recommendation

University of Glasgow(格拉斯哥大学)

Aleksandr Petrov, Craig Macdonald

摘要:

BERT4Rec是基于Transformer体系结构的一种有效的顺序推荐模型。在最初的出版物中,BERT4Rec声称优于其他可用的顺序推荐方法(例如SASRec),现在它经常被用作顺序推荐的最新基线。然而,并不是所有后续的出版物都证实了这一结果,并提出了其他模型,这些模型在有效性上优于BERT4Rec。在本文中,我们系统地回顾了将BERT4Rec与另一种流行的基于transformer的模型SASRec进行比较的所有出版物,并表明BERT4Rec的结果在这些出版物中并不一致。为了理解这种不一致背后的原因,我们分析了BERT4Rec的可用实现,并表明当使用其默认配置参数时,我们无法重现原始BERT4Rec发布的结果。但是,如果与默认配置相比,训练时间更长(高达30倍),我们可以使用原始代码复制报告的结果。我们还提出了基于Hugging Face Transformers库的BERT4Rec实现,我们证明了它在4个数据集中的3个数据集上复制了最初报告的结果,同时收敛所需的训练时间减少了95%。总的来说,从我们的系统回顾和详细的实验中,我们得出结论,BERT4Rec确实表现出了最先进的顺序推荐效果,但只有在经过足够长时间的训练时才能做到。此外,我们表明,我们的实现可以进一步受益于适应其他Transformer架构,可在拥抱面Transformers库(例如,使用分离的注意力,由DeBERTA提供,或更大的隐藏层大小cf. ALBERT)。

英文摘要:

BERT4Rec is an effective model for sequential recommendation based on the Transformer architecture. In the original publication, BERT4Rec claimed superiority over other available sequential recommendation approaches (e.g. SASRec), and it is now frequently being used as a state-of-the art baseline for sequential recommendations. However, not all subsequent publications confirmed this result and proposed other models that were shown to outperform BERT4Rec in effectiveness. In this paper we systematically review all publications that compare BERT4Rec with another popular Transformer-based model, namely SASRec, and show that BERT4Rec results are not consistent within these publications. To understand the reasons behind this inconsistency, we analyse the available implementations of BERT4Rec and show that we fail to reproduce results of the original BERT4Rec publication when using their default configuration parameters. However, we are able to replicate the reported results with the original code if training for a much longer amount of time (up to 30x) compared to the default configuration. We also propose our own implementation of BERT4Rec based on the Hugging Face Transformers library, which we demonstrate replicates the originally reported results on 3 out 4 datasets, while requiring up to 95% less training time to converge. Overall, from our systematic review and detailed experiments, we conclude that BERT4Rec does indeed exhibit state-of-the-art effectiveness for sequential recommendation, but only when trained for a sufficient amount of time. Additionally, we show that our implementation can further benefit from adapting other Transformer architectures that are available in the Hugging Face Transformers library (e.g. using disentangled attention, as provided by DeBERTa, or larger hidden layer size cf. ALBERT).

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑