All models

Hypercomplex Graph Neural Network (HGCN/PHM-GNN)

Graph neural network whose PHM layers learn a hypercomplex multiplication rule to share weights across graph layers.

Graphs and geometry · 368 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 (40 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
111.1K
Operations
368
Framework
PyTorch
Recurrent
No
Published
ICANN 2021
Cited by
34 (as of 3 November 2026)
Authors
Tuan Le, Marco Bertolini, Frank Noé, Djork-Arné Clevert
License
GPL-3.0
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
m17438
Graph hash
beb26d28ed4a360f0da534b5f75410585dcc74517a31a5e29689207154de845a
Skeleton hash
bc5d17dd057455b4f0b32c683a8271c559fb661a1641de484dcb30f5ea5c0aad
Architecture hash
44a570b7ae3dd36221718b389c079c2b6560c5bd0c4dda4f358cee3de94d5070
Diagram SHA-256
c37307b638cbf74344c4ba5749c0be5f2b596c1676a906577382e6a85c03266b
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

PHC-GNN, short for Parameterized Hypercomplex Graph Neural Network, is a graph classification model that combines message passing on graphs with hypercomplex algebras. Complex numbers and quaternions are the familiar examples of such hypercomplex number systems. Their appeal is weight sharing: in the quaternion case the paper counts 4kd weights for a layer instead of the 16kd of an ordinary matrix product.

Instead of fixing the algebra in advance, this model infers its multiplication rule from the data during training. Each linear transformation is a parameterized hypercomplex multiplication (PHM) layer whose weight matrix is a sum of n Kronecker products. The paper notes this gives a parameter saving factor of up to n compared to a standard fully connected layer. The message passing layer is a generalization of the GIN module that uses these PHM layers. Node embeddings from the last layer are soft-averaged with attention weights into one graph-level representation.

The models were benchmarked on graph property prediction tasks from OGB and Benchmarking-GNNs. On the ogbg-molhiv and ogbg-molpcba molecular datasets, the paper reports that every model trained with PHM layers except PHC-5 beat the real-valued baseline PHC-1. The abstract reports a much lower memory footprint with 70% fewer parameters.

Key idea. PHC-GNN made the hypercomplex multiplication rule of a graph neural network learnable from data, rather than fixed as in quaternion-based models.

  • PHC-GNN
  • PHM-GNN
  • hypercomplex graph neural network
  • parameterized hypercomplex multiplication
  • quaternion graph neural network
  • graph classification
  • molecular property prediction
  • ogbg-molhiv

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

Cite the paper

@misc{le2021parameterizedhypercomplexgraphneural,
      title={Parameterized Hypercomplex Graph Neural Networks for Graph Classification}, 
      author={Tuan Le and Marco Bertolini and Frank Noé and Djork-Arné Clevert},
      year={2021},
      eprint={2103.16584},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      doi={https://doi.org/10.1007/978-3-030-86365-4},
      url={https://arxiv.org/abs/2103.16584}, 
}