HeteroJumpingKnowledge
Per-node-type jumping knowledge: each node type gets its own layer aggregator over GNN layer outputs.
Graphs and geometry · 24 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
- Task
- Graphs and geometry
- Parameters
- 16.2K
- Operations
- 24
- Framework
- PyTorch
- Recurrent
- No
- Published
- ICML 2018
- Cited by
- 1,293 (as of 18 October 2026)
- Authors
- Keyulu Xu, Chengtai Li, Yonglong Tian and others
- Source
- torch_geometric 2.6.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
- m1345
- Graph hash
- efbc128f77e825e1aa08e4c0ec7e31617eaf89c55edffeeb67e96dac2d4a58ae
- Skeleton hash
- 4267cbec2dbd7d61c2066df895d03cd11c686aa621d4336fddc808a8dbb00309
- Architecture hash
- 97716a8c39d87957226f7e410bef2f3f3c59973d7b8ae11b76981935a7a42b75
- Diagram SHA-256
- 642913657afe91f9f9a686713f2c585b8cade64df784a9444b54d387e3e6dc52
- 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
HeteroJumpingKnowledge is a heterogeneous version of the JumpingKnowledge module. Its input is a dictionary holding a list of layer-wise representations for each node type. The JumpingKnowledge layer itself comes from the paper Representation Learning on Graphs with Jumping Knowledge Networks.
The paper's starting observation is that the range of neighboring nodes a node's representation draws from depends strongly on graph structure, much like the spread of a random walk. Jumping knowledge networks answer this by letting each node flexibly draw on different neighborhood ranges for a better structure-aware representation. Mechanically, the intermediate representations jump to the last layer, where they are selectively combined. The member traced here uses the LSTM-attention mode, which is node adaptive because the attention scores differ for each node. The paper warns this aggregator may overfit on small graphs with fewer training nodes because of its higher complexity.
In the paper's experiments, combining the JK framework with Graph Convolutional Networks, GraphSAGE and Graph Attention Networks consistently improved those models. On the protein-protein interaction data, JK-LSTM outperformed GraphSAGE by 0.128 in micro-F1 score after 30 epochs of training.
Key idea. Jumping knowledge networks let each node flexibly leverage different neighborhood ranges by jumping intermediate representations to the last layer and aggregating them adaptively.
- HeteroJumpingKnowledge
- Jumping Knowledge
- JumpingKnowledge
- JK-Net
- JK networks
- jumping knowledge networks
- heterogeneous graph
- layer aggregation
- PyTorch Geometric
- PyG
- Representation Learning on Graphs with Jumping Knowledge Networks
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{xu2018representationlearninggraphsjumping,
title={Representation Learning on Graphs with Jumping Knowledge Networks},
author={Keyulu Xu and Chengtao Li and Yonglong Tian and Tomohiro Sonobe and Ken-ichi Kawarabayashi and Stefanie Jegelka},
year={2018},
eprint={1806.03536},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/1806.03536},
}