BERT4Rec: Sequential Recommendation with Bidirectional Encoder Representations from Transformer

04/14/2019
by   Fei Sun, et al.
0

Modeling users' dynamic and evolving preferences from their historical behaviors is challenging and crucial for recommendation systems. Previous methods employ sequential neural networks (e.g., Recurrent Neural Network) to encode users' historical interactions from left to right into hidden representations for making recommendations. Although these methods achieve satisfactory results, they often assume a rigidly ordered sequence which is not always practical. We argue that such left-to-right unidirectional architectures restrict the power of the historical sequence representations. For this purpose, we introduce a Bidirectional Encoder Representations from Transformers for sequential Recommendation (BERT4Rec). However, jointly conditioning on both left and right context in deep bidirectional model would make the training become trivial since each item can indirectly "see the target item". To address this problem, we train the bidirectional model using the Cloze task, predicting the masked items in the sequence by jointly conditioning on their left and right context. Comparing with predicting the next item at each position in a sequence, the Cloze task can produce more samples to train a more powerful bidirectional model. Extensive experiments on four benchmark datasets show that our model outperforms various state-of-the-art sequential models consistently.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
08/02/2022

BERT4Loc: BERT for Location – POI Recommender System

Recommending points of interest is a difficult problem that requires pre...
research
08/08/2022

Contrastive Learning with Bidirectional Transformers for Sequential Recommendation

Contrastive learning with Transformer-based sequence encoder has gained ...
research
01/20/2021

Towards the Right Direction in BiDirectional User Interfaces

Hundreds of millions of speakers of bidirectional (BiDi) languages rely ...
research
04/25/2020

Inter-sequence Enhanced Framework for Personalized Sequential Recommendation

Modeling the sequential correlation of users' historical interactions is...
research
01/22/2023

Debiasing the Cloze Task in Sequential Recommendation with Bidirectional Transformers

Bidirectional Transformer architectures are state-of-the-art sequential ...
research
10/30/2014

Training for Fast Sequential Prediction Using Dynamic Feature Selection

We present paired learning and inference algorithms for significantly re...
research
04/05/2022

ELECRec: Training Sequential Recommenders as Discriminators

Sequential recommendation is often considered as a generative task, i.e....

Please sign up or login with your details

Forgot password? Click here to reset