Recommender Systems Lab

Eight interactive recommender-systems labs: collaborative filtering, content, hybrid, matrix factorization, deep learning, sequential, knowledge-based and evaluation, plus a project Builder for your own data, with real computation in the browser.

44interactive experiments

Recommender Systems Lab

Sequential Recommenders Lab

Markov chains, RNN/GRU/LSTM and self-attention: predicting the next item of a session.

  • 6Experiments
  • 2Lessons

The data bundled in this lab is synthetic (fictional titles, ratings from a seeded generator) and small, and the algorithms are genuinely computed in your browser. Results are educational and not comparable with a system on large real data; upload your own data to try them on it.

Lessons

Concept

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 lesson
Concept

Self-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 lesson

Algorithms in this lab

AlgorithmLabRuns inNote
Markov chainSequential Recommenders LabBrowserItem-to-item transition probabilities with smoothing.
RNN / GRU / LSTMSequential Recommenders LabBrowserReal BPTT training on sessions (idea from Hidasi 2016).
Self-attentionSequential Recommenders LabBrowserA small attention block in the style of SASRec/BERT4Rec.

Experiments

Try the challenges · My saved experiments