Sequential Recommenders Lab
Markov chains, RNN/GRU/LSTM and self-attention: predicting the next item of a session.
- 6Experiments
- 2Lessons
Lessons
Markov chains and recurrent networks for sessions
Order matters: the next item depends on what the user just did. Markov chains count transitions, recurrent nets keep a state summarising history.
Read the lessonSelf-attention for sequences: SASRec and BERT4Rec
Instead of compressing history into one state, the model learns which earlier items matter most for the next one.
Read the lessonAlgorithms in this lab
| Algorithm | Lab | Runs in | Note |
|---|---|---|---|
| Markov chain | Sequential Recommenders Lab | Browser | Item-to-item transition probabilities with smoothing. |
| RNN / GRU / LSTM | Sequential Recommenders Lab | Browser | Real BPTT training on sessions (idea from Hidasi 2016). |
| Self-attention | Sequential Recommenders Lab | Browser | A small attention block in the style of SASRec/BERT4Rec. |
