All models

recbole.CKE

A recommender that combines collaborative filtering with item embeddings learned from a knowledge base.

Tabular and recommender · 6 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 (10 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
533K
Operations
6
Framework
PyTorch
Recurrent
No
Published
KDD 2016
Cited by
1,819 (as of 22 October 2026)
Authors
Fuzheng Zhang, Nicholas Jing Yuan, Defu Lian 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
m8593
Graph hash
88a43e995db212edc977d0f7b3aed9066d57ec465256b7d9568be0270d34b2e8
Skeleton hash
cbba123ccc4f6f41a1df544246fcb79d57e068e4b5b42ba881f1101eceeabd60
Architecture hash
87e346c574021c553adc82b7a9eadde43531ce4c73dad2e7b1259ace2d3a2454
Diagram SHA-256
5576357bcdc6b2fac4ae007b38b28b30acb4ca10ff78122006a57538f7022028
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

CKE (Collaborative Knowledge Base Embedding) is a recommendation model that learns collaborative filtering jointly with item representations drawn from a knowledge base. The motivation is that collaborative filtering usually performs poorly when user-item interactions are sparse.

In the paper, each item gets three representations from the knowledge base: a structural one from TransR, a heterogeneous network embedding method, a textual one from stacked denoising auto-encoders and a visual one from stacked convolutional auto-encoders. TransR, as the paper describes it, represents entities and relations in distinct semantic spaces bridged by relation-specific matrices. The item's final latent vector integrates the three embedding vectors with a latent offset vector, and user and item vectors are learned by optimizing a pair-wise ranking between items. The paper evaluates on two datasets, MovieLens-1M for movies and IntentBooks for books.

This model is the RecBole implementation, which uses only the structural knowledge and leaves out the textual and visual parts. Its score for a user and an item is the dot product of the user embedding with the sum of the item's embedding and its knowledge base entity embedding.

Key idea. The paper proposes CKE, which jointly learns collaborative filtering latent vectors and item representations from a knowledge base's structural, textual and visual content.

  • CKE
  • Collaborative Knowledge Base Embedding
  • knowledge-aware recommendation
  • knowledge graph recommendation
  • knowledge base embedding
  • collaborative filtering
  • recommender system
  • hybrid recommender
  • RecBole CKE

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

Cite the paper

@inproceedings{Zhang_2016, series={KDD ’16}, title={Collaborative Knowledge Base Embedding for Recommender Systems}, url={http://dx.doi.org/10.1145/2939672.2939673}, DOI={10.1145/2939672.2939673}, booktitle={Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining}, publisher={ACM}, author={Zhang, Fuzheng and Yuan, Nicholas Jing and Lian, Defu and Xie, Xing and Ma, Wei-Ying}, year={2016}, month=Aug, pages={353–362}, collection={KDD ’16} }