recbole.NextItNet
NextItNet stacks dilated causal 1D convolutions in residual blocks to predict the next item in a session.
Tabular and recommender · 174 operations Checked
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
- 361.5K
- Operations
- 174
- Framework
- PyTorch
- Recurrent
- No
- Published
- WSDM 2019
- Cited by
- 664 (as of 19 October 2026)
- Authors
- Fajie Yuan, Alexandros Karatzoglou, Ioannis Arapakis and others
- Source
- recbole 1.2.1
- License
- MIT
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m8655
- Graph hash
- 781c7032d58f5aa6cfa72141418ed6e35cd0a2e657a28901b6ec23b2d16c64d7
- Skeleton hash
- 7eec70d255612484f79dff9c50eb1ea7ff106b9e0e797e79003401bf741c3f25
- Architecture hash
- f07c0489854351e5e0f66ac463d9f91cf67e7f803885be965d6a6794022b65a6
- Diagram SHA-256
- 569498e18e48c22a3a39e9f5c6b1f95c14d83e7a706133ba37f0e8db7213bedd
- 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
NextItNet is a convolutional generative model for session-based top-N item recommendation, scoring which item a user will interact with next. The paper examines the typical session-based CNN recommender and shows that both its generative model and network architecture are suboptimal when modeling long-range dependencies.
Rather than predicting only the final item, its probability estimator models the distribution of all individual items in the sequence at once, each conditioned on the items before it. The network is a stack of 1D dilated convolutional layers whose receptive field grows with depth, so the pooling layer can be removed. Like Wavenet, it employs dilated convolution to build the generative model. Convolutional layers are wrapped in residual blocks, which the paper describes as the first work adopting residual learning for the recommendation task. A masking trick keeps the dilated filters from seeing future items when predicting the next one. The RecBole implementation stacks residual block (b), noting that it has more parameters than block (a) but performs better.
Among the neural models, the paper reports that NextItNet largely outperforms Caser and GRURec. NextItNet also trained faster than Caser, which the paper attributes to using the complete sequential information during training and converging in fewer epochs.
Key idea. NextItNet forms a stack of holed (dilated) convolutional layers that enlarge the receptive field without pooling, plus residual blocks for deeper networks.
- nextitnet
- next item recommendation
- session-based recommendation
- dilated convolution recommender
- convolutional generative network
- sequential recommendation
- temporal convolution
- recbole
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{yuan2018simpleconvolutionalgenerativenetwork,
title={A Simple Convolutional Generative Network for Next Item Recommendation},
author={Fajie Yuan and Alexandros Karatzoglou and Ioannis Arapakis and Joemon M Jose and Xiangnan He},
year={2018},
eprint={1808.05163},
archivePrefix={arXiv},
primaryClass={cs.IR},
url={https://arxiv.org/abs/1808.05163},
}