UniGNN
Hypergraph neural network that passes messages in two stages, from vertices to hyperedges and back.
Graphs and geometry · 48 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
- 92.2K
- Operations
- 48
- Framework
- PyTorch
- Recurrent
- No
- Published
- IJCAI 2021
- Cited by
- 215 (as of 28 October 2026)
- Authors
- Jing Huang, Jie Yang
- Source
- GitHub: OneForward/UniGNN
- 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
- m21189
- Graph hash
- d3bfced1f026028c079a43355bda78785c51efaf7f440e26396658077ca53530
- Skeleton hash
- f98e09d165b07b0cdbfd4e2eca77cf417456a01af20b38ca344d93405e6e59ef
- Architecture hash
- 0b830a20688c39f71008d7291b40f3794c8ceadeb0f87ccdd96cf2e686cea2c8
- Diagram SHA-256
- b9318027990c6bed9527cd3bacabf45f53e7cacb736ee241a3935b1a9279d8f0
- 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
UniGNN is a unified framework for interpreting the message passing process in graph and hypergraph neural networks, which lets general GNN models be carried over to hypergraphs. A hypergraph extends a graph by allowing an edge to join any number of vertices.
In the first stage of message passing, the features of all vertices within each hyperedge are aggregated. In the second stage, each vertex is updated with its incident hyperedges. The authors use the framework to generalize GCN, GAT, GIN and GraphSAGE into hypergraphs, under the names UniGCN, UniGAT, UniGIN and UniSAGE. UniSAGE follows a variant of GraphSAGE in which the combining process is sum instead of concatenation. The paper's experiments employ four two-layer variants, with the mean function as the first-stage aggregation. UniSAGE uses the SUM function for the second-stage aggregation.
The paper also presents UniGCNII, a deep hypergraph neural network inspired by GCNII. For the DBLP dataset it reports raising accuracy on semi-supervised hypernode classification from 77.4% to 88.8%. The authors further prove that the message-passing based UniGNN models are at most as powerful as the 1-dimensional Generalized Weisfeiler-Leman (1-GWL) algorithm at distinguishing non-isomorphic hypergraphs.
Key idea. UniGNN is a unified message passing framework for graph and hypergraph neural networks that generalizes GNN models such as GCN, GAT, GIN and GraphSAGE into hypergraphs.
- UniGNN
- UniSAGE
- UniGCN
- UniGAT
- UniGIN
- UniGCNII
- hypergraph neural network
- hypergraph learning
- hypernode classification
- hypergraph message passing
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{huang2021unignnunifiedframeworkgraph,
title={UniGNN: a Unified Framework for Graph and Hypergraph Neural Networks},
author={Jing Huang and Jie Yang},
year={2021},
eprint={2105.00956},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/2105.00956},
}