Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 2.23 KB

How Powerful Are Graph Neural Networks (GIN).md

File metadata and controls

32 lines (23 loc) · 2.23 KB

Key points

  • Framework for analyzing expresiveness and discriminative power of GNNs
  • Weisfeiler-Lehman Isomorphism test is NP-complete. We need to iteratively update 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 WL-test in distinguishing graph structures
  • Conditions for the above established in the paper\
  • GIN: Graph Isomorphism Network shows representative power is equal to WL-test

Building powerful GNNs

Screenshot 2022-05-27 at 17 39 51

  • 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!

Screenshot 2022-05-27 at 17 57 57

GIN (Graph Isomorphism Network)

  • UPDATE step:

  • Screenshot 2022-05-27 at 18 04 45
  • Analysis of different aggregators:

Screenshot 2022-05-27 at 18 06 11

  • Notice sum captures the full multiset, mean captures the proportion/distribution of elements of a given type, and the max aggregator ignores multiplicities

  • Screenshot 2022-05-27 at 18 07 33
  • Hence the GIN is maximally powerful when it can distinguish multisets, using "SUM" as the READOUT step in the previous equation.