Paper commentary
Open Graph Benchmark: Datasets for Machine Learning on Graphs
Open Graph Benchmark gives graph ML larger, realistic datasets with fixed splits
- Problem Graph ML gains are hard to trust because benchmarks are tiny, and papers pick their own random splits and metrics. Those random splits usually give overly optimistic scores for real use.
- Method OGB is a suite of large graphs, each with a split tied to its origin, plus a shared evaluator. Instead of a random split, each dataset uses rules such as time or species.
- Results OGB covers 15 datasets across node, link and graph tasks. Experiments show that its datasets pose real scalability and out-of-distribution challenges.
Why small benchmarks mislead
Graph ML papers often test on datasets that are tiny next to the graphs found in real applications. CORA, CITE SEER and PUBMED have only 2,700 to 20,000 nodes, and the TU graph classification collections hold 200 to 5,000 graphs. Models tuned on sets this small often fail to scale to larger graphs, so a gain on them may not carry over.
On these benchmarks GNNs often perform nearly identically, which makes it hard to rank methods. The CORA data is also weak, since 42% of its nodes leak information between features and labels, and 1% are duplicated. Papers also pick their own splits and metrics, so their numbers can't be compared directly. Random splits make this worse, because they usually give overly optimistic scores for real use.
OGB's design: scale, domains and tasks
The core idea is a suite of real graphs that differ in scale, domain and task, each with a split chosen for its application. Instead of a random split, each dataset follows rules tied to its origin, such as time, species, molecular structure or GitHub project. A score on one dataset therefore shows how a model handles that kind of distribution shift, not just how it fits random samples.
The graphs fall into three scales, and each step up asks for a different training approach. Small graphs exceed 100 thousand nodes or 1 million edges, yet they still fit in one GPU's memory. Medium graphs exceed 1 million nodes or 10 million edges, and large graphs reach around 100 million nodes or 1 billion edges. Sizes that large are why mini-batching and distributed training matter for these datasets.
Table 1 lists 15 datasets in total, with at least four for each of the node, link and graph tasks. Three datasets, ogbn-products, ogbg-molpcba and ogbg-molhiv, come from earlier work, and their splits were replaced. All other datasets were built in-house.
A loader downloads and processes each graph and splits it in a standard way. A model then goes through a dataset-specific evaluator, and results feed a public leaderboard. The design follows OpenML, so users can focus on their models rather than data handling.
Sales-rank split on ogbn-products
ogbn-products is an undirected Amazon co-purchasing graph, where edges join products bought together. It has 2,449,029 nodes, and the task is to predict one of 47 top-level product categories.
The original split put 90% of nodes in training and 10% in testing, with no validation set. OGB instead sorts products by sales rank and uses the top 8% for training, the next 2% for validation and the rest for testing. The rationale is that labels go first to important items, and models then predict the less important ones.
Full-batch GCN and GRAPH SAGE need a GPU with 33GB of memory. So the best mini-batch method edged out full-batch GRAPH SAGE on this split.
The gap is training minus test, and the authors attribute it to node distributions that differ across the splits. Their conclusion is that the realistic split is harder, and it gives a real target for out-of-distribution generalization.
The authors attribute the slight edge of mini-batch models to regularization from mini-batch noise and edge dropout. Mini-batch methods have been studied far less than full-batch ones, because small benchmarks rarely needed them. Open questions include which mini-batch method regularizes best and how to support large receptive fields.
Species split on ogbn-proteins
ogbn-proteins is a weighted, species-typed protein association graph whose edges come with 8-dimensional confidence features. The task is multi-label prediction of 112 protein functions, scored by the average ROC-AUC across those tasks. Nodes are split by species, so the test set probes generalization across species.
The graph has no node features, so the authors average the features of each node's incoming edges and use that as node input.
Only GRAPH SAGE beat the MLP, which the authors read as central node information carrying much of the signal.
On the species split, the same model had a training-minus-test gap of 10.18 percentage points. The authors call across-species generalization a distinct challenge for future work.
Ranking metrics for link prediction
For ogbl-ppa, each positive validation or test edge is ranked against 3,000,000 randomly sampled negative edges. Hits@100 counts the share of positive edges that land in the top 100. The split is biological: training edges come from high-throughput or computational sources, while validation and test edges are low-throughput lab measurements.
The authors attribute the GNNs' poor training fit to missing positional information, which per-node embeddings can express.
ogbl-collab is a dynamic multi-graph of author collaborations, with 128-dimensional features per author. Training edges run through 2017, validation edges come from 2018 and test edges from 2019. Each true collaboration is ranked against 100,000 sampled negatives, and Hits@50 is reported.
The authors suggest recent collaborations may predict future ones better than older ones.
ogbl-biokg is a biomedical knowledge graph evaluated with a random triplet split and MRR. COMPL EX scored 0.8095 test MRR, the highest of the four models, compared to 0.7452 for TRANS E. The authors say TRANS E's weaker result fits its inability to model symmetric relations, which are common in this graph.
Scaffold versus random molecule splits
ogbg-molhiv and ogbg-molpcba are molecular graphs in which atoms are nodes and chemical bonds are edges. The authors ablate those extra features and report that they improve generalization.
Molecules are split by scaffold, which groups them by two-dimensional structural frameworks so test molecules differ structurally from training ones. OGB uses the hardest version, where test molecules are as structurally diverse as possible. ogbg-molhiv is scored by ROC-AUC, and ogbg-molpcba by average precision, since only 1.4% of its labels are positive.
On random splits, the best GIN on ogbg-molhiv scored 82.73±2.02% ROC-AUC. That is 5.66 percentage points above its scaffold result, and the random-split AP on ogbg-molpcba is 7.37 percentage points above the scaffold value. The authors call the random split much easier, which makes the scaffold split a target for out-of-distribution work.
Limits of the reported evidence
The mini-batch GNN variants were tried only on datasets where full-batch GCN and GRAPH SAGE didn't fit in 11GB of GPU memory. On ogbn-proteins the baselines depend on averaged edge features, because the graph has no node features. ogbl-biokg uses only a random split, since the authors didn't have reliable dates for the experiments behind its triplets.
On ogbl-wikikg2 the test MRR uses 500 negative entities per triplet, far fewer than the around 15,000 used for FB15K.
Paper info
- Authors
- Weihua Hu, Matthias Fey, Marinka Zitnik, Yuxiao Dong, Hongyu Ren, Bowen Liu, Michele Catasta, Jure Leskovec
- Venue
- arXiv · Preprint
- First published
- 2020-5-2
- Added
- 2026-11-13
- Updated
- 2021-2-25
- Version
- v7
- arXiv
- 2005.00687
- Category
- cs.LG · cs.SI · stat.ML
- Original paper terms
- arXiv non-exclusive 1.0
- What we show
- Paper info and commentary
AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.
Quote from the paper
Weihua Hu, Matthias Fey, Marinka Zitnik, Yuxiao Dong, Hongyu Ren, Bowen Liu, Michele Catasta, Jure Leskovec (2020). Open Graph Benchmark: Datasets for Machine Learning on Graphs. arXiv:2005.00687v7. https://arxiv.org/abs/2005.00687v7
BibTeX
@misc{hu2020open,
title = {{Open Graph Benchmark: Datasets for Machine Learning on Graphs}},
author = {Weihua Hu and Matthias Fey and Marinka Zitnik and Yuxiao Dong and Hongyu Ren and Bowen Liu and Michele Catasta and Jure Leskovec},
year = {2020},
eprint = {2005.00687},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2005.00687v7}
}