recbole.RippleNet
A recommender that spreads a user's click history outward through a knowledge graph to score a candidate item.
Tabular and recommender · 45 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
- 78.9K
- Operations
- 45
- Framework
- PyTorch
- Recurrent
- No
- Published
- CIKM 2018
- Cited by
- 123 (as of 22 October 2026)
- Authors
- Hongwei Wang, Fuzheng Zhang, Jialin Wang 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
- m8662
- Graph hash
- 4306f41e016e024ee5d45cb94e45fb587a71df97cd58be8b6c222d78890cd907
- Skeleton hash
- b9242c9233f9334b363dea0c4571db22d34d94c2ccfa87be93341d4c398ac47e
- Architecture hash
- 15fa076d2b7c8b5fdeade791a2506bd272b5803d066d77b832acc35a17547a59
- Diagram SHA-256
- fd8f31e5fa0bc30998f259d683dcb13c7678badd394c11643c38364be04cbc79
- 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
RippleNet is a recommender model for click-through rate (CTR) prediction: it takes a user-item pair as input and outputs the probability that the user will engage with the item. It uses a knowledge graph as side information, an approach the paper presents as a response to the sparsity and cold start problem of collaborative filtering.
The key idea is preference propagation: a user's historical interests are treated as a seed set in the knowledge graph and extended iteratively along its links. This produces ripple sets, where the k-hop ripple set holds the knowledge triples that are k hops away from the seeds. At each hop, every triple is assigned a relevance probability by comparing the candidate item with the triple's head and relation, and the tails are summed with those probabilities as weights. The responses of all hops are combined into a user embedding, which is combined with the item embedding to output the predicted clicking probability.
The paper reports AUC gains of 2.0% to 40.6%, 2.5% to 17.4%, and 2.6% to 22.4% in movie, book, and news recommendation, respectively, compared with its baselines. To limit the size of ripple sets, the model can sample a fixed-size set of neighbors instead of using a full ripple set.
Key idea. RippleNet propagates a user's preferences along knowledge graph links from their clicked items, combining embedding-based and path-based approaches to knowledge-graph-aware recommendation in one end-to-end model.
- ripplenet
- ripple network
- knowledge graph recommendation
- recommender system
- click-through rate prediction
- ctr prediction
- preference propagation
- knowledge-aware recommender
- recbole
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{wang2018ripplenetpropagatinguserpreferences,
title={RippleNet: Propagating User Preferences on the Knowledge Graph for Recommender Systems},
author={Hongwei Wang and Fuzheng Zhang and Jialin Wang and Miao Zhao and Wenjie Li and Xing Xie and Minyi Guo},
year={2018},
eprint={1803.03467},
archivePrefix={arXiv},
primaryClass={cs.IR},
doi={https://doi.org/10.1145/3269206.3271739},
url={https://arxiv.org/abs/1803.03467},
}