All models

recbole.RepeatNet

A GRU-based session recommender that switches between repeating past items and exploring new ones.

Tabular and recommender · 77 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (26 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
373.1K
Operations
77
Framework
PyTorch
Recurrent
No
Published
AAAI 2019
Cited by
274 (as of 22 October 2026)
Authors
Pengjie Ren, Zhumin Chen, Jing Li and others
License
MIT
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m8661
Graph hash
b2ba7a1a8a0b9b9b03550adee8f371d05fe1839a7455c06fd73804c57a15880f
Skeleton hash
de74fa1fc3c62427da35a7d50c11af6ab78382a93da44ad08105a757d88ecfe9
Architecture hash
a245bb482fbe9f4eb6013ca35782cbdc1a69b7a1317485bd4a15cdefbf933204
Diagram SHA-256
321e38dd7469a70d8afb668bf59442166aa2a4596c82bfd85baa737ac69453bd
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

RepeatNet is a neural model for session-based recommendation, which predicts the next item from the items a user has interacted with in the current session. Its subject is repeat consumption, where the same item is consumed again and again over time, as happens in e-commerce, music and TV program recommendation. The paper states that no earlier study had emphasized repeat consumption with neural networks.

The model has four main components: a session encoder, a repeat-explore mechanism, a repeat recommendation decoder and an explore recommendation decoder. A GRU encodes the session. The repeat-explore mechanism works as a binary classifier that predicts which mode to recommend in. In repeat mode the model recommends an old item from the user's history, and in explore mode it recommends a new item. The repeat decoder is a modified attention model inspired by CopyNet. The final score of an item combines the mode probabilities with the item's probability under each mode.

The paper reports experiments on three datasets, YOOCHOOSE, DIGINETICA and LASTFM. On all three it reports that RepeatNet scored higher than the baselines it was compared with in MRR and Recall. The authors also name a limitation: the model seems inclined to repeat recommendations too much when it learns the mode probabilities entirely from data.

Key idea. RepeatNet adds a repeat-explore mechanism to a neural session-based recommender, with two decoders that score items already in the session and items that are new.

  • RepeatNet
  • session-based recommendation
  • repeat consumption
  • repeat recommendation
  • sequential recommendation
  • next-item recommendation
  • repeat-explore mechanism
  • RecBole RepeatNet

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{ren2018repeatnetrepeatawareneural,
      title={RepeatNet: A Repeat Aware Neural Recommendation Machine for Session-based Recommendation}, 
      author={Pengjie Ren and Zhumin Chen and Jing Li and Zhaochun Ren and Jun Ma and Maarten de Rijke},
      year={2018},
      eprint={1812.02646},
      archivePrefix={arXiv},
      primaryClass={cs.IR},
      url={https://arxiv.org/abs/1812.02646}, 
}