recbole.KTUP
KTUP jointly learns item recommendation and knowledge graph completion with translation-based embeddings.
Tabular and recommender · 49 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
- 1.5M
- Operations
- 49
- Framework
- PyTorch
- Recurrent
- No
- Published
- WWW 2019
- Cited by
- 665 (as of 22 October 2026)
- Authors
- Yixin Cao, Xiang Wang, Xiangnan He and others
- Source
- GitHub: RUCAIBox/RecBole
- 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
- m8634
- Graph hash
- 6f8bc36231f7bbbc418a1fde3276d808cbd01a7531e44bb9d34591a4d7c30f91
- Skeleton hash
- a787d1a81bdb7bb0363e9692aee19ac97f8bc7ee693ed995142b730b19644edd
- Architecture hash
- e83c4e0c880c0b08d68aef857c37ea783262952947de3161ca8c8324dfaea77b
- Diagram SHA-256
- d0fc085778e0bd8f978d8109bb81c344439475cb9f2766fe4bd2866be85b85a7
- 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
KTUP is a recommender that learns to recommend items and to complete a knowledge graph (KG) at the same time. The paper's motivation is that a practical KG can hardly be complete and commonly has missing facts, relations and entities.
Its recommendation part, TUP, treats a preference as a translation between user and item and learns embeddings of preference p, user u and item i satisfying u + p ≈ i. For each user-item pair a preference is induced, either by a hard choice of one preference or by a soft combination of all preferences with attention. The hard strategy samples the preference with Straight-Through Gumbel SoftMax. Each preference is also given a hyperplane, an idea the authors take from TransH, to deal with the variety of preferences.
KTUP adds the knowledge graph: relation and entity embeddings learned from the KG are transferred to TUP while the KG completion and recommendation tasks are trained together. TransH serves as the KG completion component. The authors' code uses two datasets, movielens-1m and dbbook2014.
Key idea. The paper contributes a translation-based recommendation model that accounts for various user preferences and trains it jointly with a knowledge graph completion model.
- KTUP
- jTransUP
- Knowledge-enhanced TUP
- TUP
- knowledge graph recommendation
- knowledge-aware recommender
- item recommendation
- knowledge graph completion
- translation-based recommendation
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{cao2019unifyingknowledgegraphlearning,
title={Unifying Knowledge Graph Learning and Recommendation: Towards a Better Understanding of User Preferences},
author={Yixin Cao and Xiang Wang and Xiangnan He and Zikun hu and Tat-Seng Chua},
year={2019},
eprint={1902.06236},
archivePrefix={arXiv},
primaryClass={cs.IR},
doi={https://doi.org/10.1145/3308558.3313705},
url={https://arxiv.org/abs/1902.06236},
}