All models

recbole.KGNNLS

A recommender that runs a graph neural network over a knowledge graph weighted for each user.

Tabular and recommender · 25 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 (31 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
403.1K
Operations
25
Framework
PyTorch
Recurrent
No
Published
KDD 2019
Cited by
685 (as of 23 October 2026)
Authors
Hongwei Wang, Fuzheng Zhang, Mengdi Zhang 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
m8632
Graph hash
d7839cede9074cf11987a277ff97f42f7b29c12017dfb8d0aead6e2f15518c21
Skeleton hash
c0a00d17d0042f2570edcf81394ef4bdfbbc44cbfcc88a09ee59988c2619e4d4
Architecture hash
67424ef31c8fb61f38a0ed85dca4ef89ed85423475a9674e0a0c3b01ff436502
Diagram SHA-256
2112fe3771b7e0cf3526572b3ede9a1344ed48d7305c187a47993b6552ff1e40
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

KGNN-LS, short for Knowledge-aware Graph Neural Networks with Label Smoothness regularization, is a recommender model that draws on a knowledge graph of items and related entities. The paper sets it against earlier knowledge graph approaches, which it describes as relying on manual feature engineering and not allowing end-to-end training.

The model first applies a trainable function that identifies which knowledge graph relationships are important for a given user. That turns the knowledge graph into a user-specific weighted graph, and a graph neural network over it computes personalized item embeddings. To regularize the learned edge weights, the paper adds a label smoothness assumption: adjacent items in the knowledge graph are likely to have similar relevance labels for a user. The authors prove that this regularization is equivalent to a label propagation scheme on a graph.

The experiments use four datasets: MovieLens-20M for movies, Book-Crossing for books, Last.FM for music and Dianping-Food for restaurants. The paper reports that the method outperforms its baselines on them, and that it also performs well in cold-start scenarios where user-item interactions are sparse.

Key idea. KGNN-LS turns a knowledge graph into a user-specific weighted graph for a graph neural network and regularizes the learned edge weights with label smoothness.

  • KGNN-LS
  • KGNNLS
  • knowledge-aware graph neural networks
  • label smoothness regularization
  • knowledge graph recommendation
  • recommender systems
  • label propagation
  • cold-start recommendation
  • RecBole KGNNLS

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

Cite the paper

@misc{wang2019knowledgeawaregraphneuralnetworks,
      title={Knowledge-aware Graph Neural Networks with Label Smoothness Regularization for Recommender Systems}, 
      author={Hongwei Wang and Fuzheng Zhang and Mengdi Zhang and Jure Leskovec and Miao Zhao and Wenjie Li and Zhongyuan Wang},
      year={2019},
      eprint={1905.04413},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/1905.04413}, 
}