Transformers4Rec: Bridging the Gap between NLP and Sequential / Session-Based Recommendation

被引:111
作者
Pereira Moreira, Gabriel de Souza [1 ]
Rabhi, Sara [2 ]
Lee, Jeong Min [3 ,4 ]
Ak, Ronay [4 ]
Oldridge, Even [5 ]
机构
[1] NVIDIA, Sao Paulo, Brazil
[2] NVIDIA, Toronto, ON, Canada
[3] Facebook AI, Menlo Pk, CA USA
[4] NVIDIA, Orlando, FL USA
[5] NVIDIA, Vancouver, BC, Canada
来源
15TH ACM CONFERENCE ON RECOMMENDER SYSTEMS (RECSYS 2021) | 2021年
关键词
D O I
10.1145/3460231.3474255
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Much of the recent progress in sequential and session-based recommendation has been driven by improvements in model architecture and pretraining techniques originating in the field of Natural Language Processing. Transformer architectures in particular have facilitated building higher-capacity models and provided data augmentation and training techniques which demonstrably improve the effectiveness of sequential recommendation. But with a thousandfold more research going on in NLP, the application of transformers for recommendation understandably lags behind. To remedy this we introduce Transformers4Rec, an open-source library built upon HuggingFace's Transformers library with a similar goal of opening up the advances of NLP based Transformers to the recommender system community and making these advancements immediately accessible for the tasks of sequential and session-based recommendation. Like its core dependency, Transformers4Rec is designed to be extensible by researchers, simple for practitioners, and fast and robust in industrial deployments. In order to demonstrate the usefulness of the library and the applicability of Transformer architectures in next-click prediction for user sessions, where sequence lengths are much shorter than those commonly found in NLP, we have leveraged Transformers4Rec to win two recent session-based recommendation competitions. In addition, we present in this paper the first comprehensive empirical analysis comparing many Transformer architectures and training approaches for the task of session-based recommendation. We demonstrate that the best Transformer architectures have superior performance across two e-commerce datasets while performing similarly to the baselines on two news datasets. We further evaluate in isolation the effectiveness of the different training techniques used in causal language modeling, masked language modeling, permutation language modeling and replacement token detection for a single Transformer architecture, XLNet. We establish that training XLNet with replacement token detection performs well across all datasets. Finally, we explore techniques to include side information such as item and user context features in order to establish best practices and show that the inclusion of side information uniformly improves recommendation performance.
引用
收藏
页码:143 / 153
页数:11
相关论文
共 67 条
[31]   Performance Comparison of Neural and Non-Neural Approaches to Session-based Recommendation [J].
Ludewig, Malte ;
Mauro, Noemi ;
Latifi, Sara ;
Jannach, Dietmar .
RECSYS 2019: 13TH ACM CONFERENCE ON RECOMMENDER SYSTEMS, 2019, :462-466
[32]   Evaluation of session-based recommendation algorithms [J].
Ludewig, Malte ;
Jannach, Dietmar .
USER MODELING AND USER-ADAPTED INTERACTION, 2018, 28 (4-5) :331-390
[33]  
Luo Anjing, COLLABORATIVE SELF A
[34]   SDM: Sequential Deep Matching Model for Online Large-scale Recommender System [J].
Lv, Fuyu ;
Jin, Taiwei ;
Yu, Changlong ;
Sun, Fei ;
Lin, Quan ;
Yang, Keping ;
Ng, Wilfred .
PROCEEDINGS OF THE 28TH ACM INTERNATIONAL CONFERENCE ON INFORMATION & KNOWLEDGE MANAGEMENT (CIKM '19), 2019, :2635-2643
[35]  
Mikolov T., 2013, 1 INT C LEARN REPR I, DOI DOI 10.48550/ARXIV.1301.3781
[36]  
Mikolov T., 2013, ARXIV13013781
[37]  
Mizrachi S., 2019, RecSys (Late-Breaking Results), P11
[38]   Contextual Hybrid Session-Based News Recommendation With Recurrent Neural Networks [J].
Moreira, Gabriel de Souza P. ;
Jannach, Dietmar ;
da Cunha, Adilson Marques .
IEEE ACCESS, 2019, 7 :169185-169203
[39]  
Moreira Gabriel de Souza P., 2021, P 5 SIGIR ECOMMERCE
[40]  
Moreira Gabriel de Souza Pereira, 2019, P 7 INT WORKSH NEWS