Graph Isomorphism Network (GIN)
Provably maximal GNN expressiveness: injective sum aggregation matching the Weisfeiler-Lehman test.
About
GIN answered a theoretical question the field had been avoiding: how powerful can a message-passing GNN actually be? Xu and colleagues proved that a GNN can be at most as discriminative as the Weisfeiler-Lehman graph isomorphism test, and that reaching that ceiling requires injective neighborhood aggregation. Mean and max pooling fail the injectivity condition, so GCN and GraphSAGE provably cannot distinguish certain simple graph structures. GIN's fix is deliberately simple: sum the neighbor features and pass them through a multi-layer perceptron, which the universal approximation theorem makes injective. A learnable epsilon weights the central node.\n\nThe ICLR 2019 paper shows GIN fitting training data almost perfectly where weaker variants underfit, and reaching state of the art on multiple TU graph-classification benchmarks. It later became the default OGB molecular baseline: GIN with a virtual node scores 77.07% test ROC-AUC on ogbg-molhiv. GIN reframed how the field thinks about architecture design, and its WL-equivalence argument is now standard textbook material.
Specs
Context window
Pricing
Free quota
API access
Weights
Released
Benchmarks
Paper-reported: state of the art on multiple TU graph-classification benchmarks (Xu et al., ICLR 2019). Independent OGB baselines: GIN + virtual node reaches 77.07% test ROC-AUC on ogbg-molhiv (Hu et al., 2020).
Provider-reported unless a source says otherwise. Benchmarks are marketing-adjacent by nature — treat them as directional.
Use cases
Trust score — 9/10
Scored 9/10 (verified tier, metrics-v1). Evidence: ICLR 2019 paper, heavily cited; the WL-equivalence proof is now textbook material; GIN is the default baseline on OGB molecular benchmarks with independently reported 77.07% ROC-AUC on ogbg-molhiv. Strengths: rare combination of clean theory and strong empirical results, simple architecture anyone can implement. Docked for: (1) no official pretrained checkpoints; (2) WL-equivalence is about distinguishing structure, not a guarantee of downstream generalization. License: open-source code release; check the repo license before commercial use.
How the trust score is built
Full methodology →- Adoption · stars/downloads, log-scaled vs peers
- 10.0/10
- Maintenance · recency, releases, issue load
- 6.0/10
- Openness · license + docs
- 9.0/10
- Manual review · sanity read + red-flag check
- 9.0/10
- · ICLR 2019; WL-equivalence proof now textbook material
- · SOTA on multiple TU graph-classification benchmarks
- · 77.07% test ROC-AUC on ogbg-molhiv (independent OGB baseline)
- · GINConv ships in PyTorch Geometric and DGL