
MixHopConv-net
Graphs and geometry45 ops3.3K params
A graph convolution layer that mixes neighbor features from several hop distances at once.
Graphs and geometry · 52 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.
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.
How this diagram was made
torch_geometric.nn.conv.mixhop_conv.MixHopConv(in_channels=1433, out_channels=20, powers=[0, 1, 2])
MixHop is a graph convolution layer that lets a node combine features from neighbors at several distances at once, instead of only averaging its immediate neighbors. The paper's starting point is a proof that the ordinary graph convolutional network cannot represent a two-hop delta operator, the difference between one-hop and two-hop neighborhood features. Such difference operators matter most on graphs with low homophily, where a node's neighbors often carry labels different from its own.
Each layer holds one weight matrix per adjacency power in a set P, applies each power to the input and concatenates the results. The paper's main configuration uses the powers 0, 1 and 2: the node itself, one hop and two hops. Setting P to just the first power recovers the ordinary GCN layer. Because the powers are applied as repeated sparse products, the layer costs no more compute than a vanilla GCN.
To decide how much width each power deserves, the authors train a wide network with lasso regularization on the weight columns, prune and retrain. The learned architectures differ per dataset; on Cora the second layer gives no capacity at all to the zeroth power. On the citation splits with 20 labeled nodes per class, the paper reports test accuracies of 71.4% on Citeseer, 81.9% on Cora and 80.8% on Pubmed.
Key idea. MixHop mixes several powers of the adjacency matrix in one graph convolution layer, letting it learn neighborhood difference operators that a vanilla GCN provably cannot.
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
@misc{abuelhaija2019mixhophigherordergraphconvolutional,
title={MixHop: Higher-Order Graph Convolutional Architectures via Sparsified Neighborhood Mixing},
author={Sami Abu-El-Haija and Bryan Perozzi and Amol Kapoor and Nazanin Alipourfard and Kristina Lerman and Hrayr Harutyunyan and Greg Ver Steeg and Aram Galstyan},
year={2019},
eprint={1905.00067},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/1905.00067},
}