SASRec

Neural models that treat a user’s interaction history as a sequence and predict the next item(s) using self-attention or bidirectional Transformers, capturing sequential patterns and long-range dependencies.

Method

Embed the item history with positional information, apply causally masked self-attention, and train next-item prediction.

Applications

Next-item recommendation, session-based recommendation, news and media ranking, any recommender where order of interactions matters.

Advantages

Captures sequential dynamics; strong empirical results.

Limitations

Cold-start users/items; long sequences need truncation or hierarchical modeling; popularity bias; evaluation with realistic negatives is important; less strong for pure collaborative signals without sequences.

Alternatives

Markov chains, RNN-based recommenders (GRU4Rec), graph neural recommenders, classical item-item CF, multi-interest models.

Editorial clarification

SASRec is causal next-item modeling; BERT4Rec uses bidirectional masked-item training and is a distinct alternative.

Sources

Educational reference only, not professional advice.

All algorithms