All models

HypergraphConv

Graph convolution generalized to hypergraphs, where one edge can join many nodes, with an optional attention module.

Graphs and geometry · 50 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 (13 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
544
Operations
50
Framework
PyTorch
Recurrent
No
Published
Pattern Recognition (arXiv 2019)
Cited by
814 (as of 18 October 2026)
Authors
Song Bai, Feihu Zhang, Philip H.S. Torr
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
m1400
Graph hash
d905f7c32d41346b9492808cc00504db492b5a130f320de49303c5845a5d0e30
Skeleton hash
21eb7b7f94ca6bfd9a2c04b9bba0a5baa09be0eef937436cb375b0c9070964a4
Architecture hash
b27ca24d9c607ff8eaf8c2d506f1f23adea1d8ea87f9953a6deb740dac354152
Diagram SHA-256
49c718beba00739b02cc75e9bb7ced0b003aa3897cd909ff17dabec0facc07eb
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

Hypergraph convolution is a graph neural network operator for data whose relationships are not pairwise, so that a single edge can join several objects at once. The paper introduces two end-to-end trainable operators, hypergraph convolution and hypergraph attention, as additions to the family of graph neural networks. A hypergraph with N vertices and M hyperedges is represented by an N by M incidence matrix H rather than by an adjacency matrix.

One step of convolution propagates vertex features along shared hyperedges, with more propagation between vertices that share a hyperedge and more trust in hyperedges with larger weights. Because the raw propagation matrix has no constrained spectral radius, stacking layers could change the feature scale, so the final form applies a symmetric normalization by vertex and hyperedge degrees. The authors prove that ordinary graph convolution is a special case of hypergraph convolution when every relationship degenerates to a pairwise one.

Hypergraph attention goes further and learns a dynamic incidence matrix, replacing fixed 0 or 1 connections with real-valued degrees of connectivity. That only works when vertices and hyperedges live in the same homogeneous domain, so that their similarities are directly comparable. In the experiments, hypergraphs were built by letting each vertex collect its k-nearest neighbors to form a hyperedge. The evaluation is semi-supervised node classification, which the authors use to demonstrate the effectiveness of both operators.

Key idea. Hypergraph convolution defines a degree-normalized propagation over an incidence matrix so a GNN can learn on higher-order relations, with graph convolution falling out as the pairwise special case.

  • hypergraph convolution
  • hypergraph attention
  • HypergraphConv
  • hypergraph neural network
  • hyperedge
  • incidence matrix
  • higher-order relations
  • PyTorch Geometric
  • Bai Zhang Torr

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

Cite the paper

@misc{bai2020hypergraphconvolutionhypergraphattention,
      title={Hypergraph Convolution and Hypergraph Attention}, 
      author={Song Bai and Feihu Zhang and Philip H. S. Torr},
      year={2020},
      eprint={1901.08150},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/1901.08150}, 
}