🥍

How Powerful Are Graph Neural Networks (GIN)

Read the paper

Key Points

Building Powerful GNNs

Diagram showing the WL-test iterative relabeling process for graph isomorphism detection.
Illustration of how different neighborhood structures must map to different embeddings in a maximally powerful GNN.

GIN (Graph Isomorphism Network)

UPDATE step:

GIN update rule: $h_v^{(k)} = \text{MLP}^{(k)}\left((1+\epsilon^{(k)}) \cdot h_v^{(k-1)} + \sum_{u \in N(v)} h_u^{(k-1)}\right)$

Analysis of Different Aggregators

Comparison of sum, mean, and max aggregators: sum captures the full multiset, mean captures the proportion/distribution of elements, and max ignores multiplicities.
Venn diagram showing the hierarchy of distinguishing power: sum > mean > max for multiset discrimination.

Hence the GIN is maximally powerful when it can distinguish multisets, using "SUM" as the READOUT step in the previous equation.