GIN (Graph Isomorphism Network) is a graph neural network that stacks layers which scale a node's own features by , add its neighbors' features without normalization, and pass the result through an MLP. Xu, Hu, Leskovec, and Jegelka proposed it in 2018, and it was presented at ICLR 2019.
Graph neural networks such as GCN and GraphSAGE repeatedly "gather features from neighboring nodes and update each node's own features." They worked well in experiments, but it was not well understood theoretically which differences between graphs they can distinguish and which they cannot.
The GIN paper answered this question.
- Networks that gather from neighbors and update cannot be more powerful than the Weisfeiler-Lehman (WL) procedure used for graph isomorphism testing.
- If the function that aggregates neighbor features "always maps different neighborhoods to different values" (is injective), the network is as powerful as the WL procedure.
- Aggregating with the mean (GCN) or the max (GraphSAGE pooling) does not satisfy this condition and can fail to distinguish even simple graphs.
GIN was designed as a simple architecture that satisfies this condition. As the paper's title, "How Powerful are Graph Neural Networks?", suggests, its main contribution is less the method itself than the theory of expressive power it established for graph neural networks.
GIN is especially effective on tasks where differences in the shape of the whole graph determine the answer, such as predicting molecular properties. The paper's experiments also focus on classifying whole graphs rather than nodes.

