How Powerful Are Graph Neural Networks (GIN)
Key Points
- Framework for analyzing expressiveness and discriminative power of GNNs.
- The Weisfeiler-Lehman (WL) Isomorphism test is NP-complete. We need to iteratively update a node's feature vector by aggregating the neighborhood's feature vectors.
- Set of node's neighborhood feature vectors: multiset with possibly repeating elements.
- GNNs proven to be at most as powerful as the WL-test in distinguishing graph structures.
- Conditions for the above established in the paper.
- GIN: Graph Isomorphism Network shows representative power is equal to the WL-test.
Building Powerful GNNs
- To study the representational power of a GNN, we analyze when a GNN maps two nodes to the same location in the embedding space.
- Intuitively, a maximally powerful GNN maps two nodes to the same location only if they have identical subtree structures with identical features on the corresponding nodes.
- A maximally powerful GNN would never map two different neighborhoods to the same representation!
GIN (Graph Isomorphism Network)
UPDATE step:
Analysis of Different Aggregators
- Notice sum captures the full multiset, mean captures the proportion/distribution of elements of a given type, and the max aggregator ignores multiplicities.
Hence the GIN is maximally powerful when it can distinguish multisets, using "SUM" as the READOUT step in the previous equation.