Abstract
Session-based recommendation systems typically focus on discovering new items for users based on their recent interactions. However, in domains like e-commerce and music, users frequently re-interact with items within the same session—a phenomenon known as "repeat consumption." We present RepeatNet, a novel architecture that explicitly models this behavior through a dual-decoder structure and a "repeat-explore" switch. By dynamically choosing between recommending a previously seen item or exploring new ones, RepeatNet significantly improves recommendation accuracy, achieving state-of-the-art results on industry-standard benchmarks.
Introduction
Most session-based recommendation systems treat every prediction as a discovery problem, assuming users are always looking for something new. In reality, human behavior is often habitual. Existing neural models like GRU4REC or NARM capture sequential patterns effectively but lack a dedicated mechanism to handle these "repeats." The authors identify a critical gap: a recommender must not only predict what an item is but also decide whether the user is currently in a "repeat" mood or an "exploration" mood.
Methods
RepeatNet is an encoder-decoder framework that treats recommendation as a hybrid process of memory and discovery.
- Session Encoder: A Gated Recurrent Unit (GRU) transforms the sequence of items in a session into latent mathematical representations.
- Repeat-Explore Mechanism: A binary classifier calculates the probability that the next item will be a repeat ($P_{repeat}$) versus a new discovery ($P_{explore}$).
- Dual Decoders:
- Repeat Decoder: Inspired by "pointer" networks in NLP, this decoder uses an attention mechanism to select an item specifically from the user’s current session history.
- Explore Decoder: A standard decoder that predicts the likelihood of items the user has not yet seen in the current session.
- Hybrid Output: The final recommendation score is a weighted combination of the scores from both decoders, scaled by the repeat-explore switch probability.
Datasets
The model was evaluated on three industry-standard benchmarks with significant repeat ratios:
- YOOCHOOSE: E-commerce dataset (Repeat ratio: ~26%).
- DIGINETICA: E-commerce dataset (Repeat ratio: ~20%).
- LASTFM: Music artist recommendation dataset (Repeat ratio: ~21%).
Key Results and Insights
RepeatNet achieved state-of-the-art results across all tested datasets, outperforming strong neural baselines like NARM and Improved-GRU4REC. A key finding is that explicitly modeling the intent to repeat is as important as the recommendation itself.
- Accuracy Gains: On the YOOCHOOSE dataset, RepeatNet achieved an MRR@20 of 31.03%, compared to NARM’s 29.23%.
- Repeat Session Performance: In sessions where a repeat actually occurred, RepeatNet’s performance was dominant. For example, on the DIGINETICA dataset, the inclusion of the repeat mechanism led to a massive performance jump on repeat sessions compared to a version of the model without it.
Conclusion and Future Work
RepeatNet demonstrates that incorporating "copy" mechanisms from NLP into recommendation systems can effectively capture habitual user behavior. While the model is highly effective, the authors note that it can sometimes become overly inclined toward repeats. Future work will explore integrating item metadata (e.g., brand or category) and long-term user profiles to better predict repeat behavior across multiple sessions over longer timeframes.
Summary updated