All models

LRURec

Sequential recommender built on linear recurrent units, with rapid incremental inference.

Tabular and recommender · 274 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 (18 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
322.8K
Operations
274
Framework
PyTorch
Recurrent
No
Published
WSDM 2024
Cited by
96 (as of 30 October 2026)
Authors
Zhenrui Yue, Yueqi Wang, Zhankui He and others
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
m17815
Graph hash
ea939066bb6e1ea1c5edfbbdae153f158533ed1d9324b191d00937a2042edfa0
Skeleton hash
e494a63066990824d3afa88402c03eef25222e863db7dc4ede2a3888d4b7c7c3
Architecture hash
9f1b604a88a9c6edaca8647345c7dbb202717cefa996936dfd66ccab6a8415d3
Diagram SHA-256
25b1d769e88aa49938404f486d392bb3fb9ca229d1de95c1748426a4f3083efd
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

LRURec is a sequential recommender built on linear recurrent units. The paper is motivated by the cost of self-attention recommenders, which it describes as computationally expensive, often too slow for real-time recommendation, and hard to run incrementally because attention works at the sequence level. Like a recurrent neural network, LRURec offers rapid inference and can update incrementally on sequential inputs.

Decomposing the linear recurrence operation and parallelizing it recursively gives a smaller model and training that can run in parallel. The authors also modify the architecture to address the lack of non-linearity and to improve training dynamics.

On multiple real-world datasets the paper reports that LRURec consistently outperforms its baselines. The released code selects among six datasets: ml-1m (MovieLens-1M), beauty, video, sports, steam and xlong.

Key idea. LRURec applies linear recurrent units to sequential recommendation, giving rapid incremental inference while recursive parallelization keeps training parallelizable.

  • LRURec
  • Linear Recurrent Units for Sequential Recommendation
  • linear recurrent units
  • sequential recommendation
  • recommender system
  • incremental inference
  • MovieLens-1M

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

Cite the paper

@misc{yue2023linearrecurrentunitssequential,
      title={Linear Recurrent Units for Sequential Recommendation}, 
      author={Zhenrui Yue and Yueqi Wang and Zhankui He and Huimin Zeng and Julian McAuley and Dong Wang},
      year={2023},
      eprint={2310.02367},
      archivePrefix={arXiv},
      primaryClass={cs.IR},
      url={https://arxiv.org/abs/2310.02367}, 
}