Graph Machine Learning (ML) is a rapidly growing field, but its progress has historically been bottlenecked by poor benchmarking practices. For years, the community has relied on "toy" datasets like Cora, Citeseer, or the TU collection. These datasets are extremely small—often containing just a few thousand nodes—meaning modern, data-hungry Graph Neural Networks (GNNs) easily overfit, and performance differences between competing models are often statistically insignificant.
Furthermore, existing benchmarks typically use random data splits. In the real world, we rarely predict random missing nodes; instead, we predict future links based on past data, or the properties of newly discovered, structurally unique molecules. Random splits artificially inflate performance and fail to test how models generalize to new distributions. Finally, the lack of standardized evaluation protocols and data loaders makes comparing different papers a frustrating, apples-to-oranges endeavor.
The Open Graph Benchmark (OGB) introduces a comprehensive, large-scale suite of datasets designed to address these critical shortcomings. By providing realistic data splits, diverse domains, and an automated evaluation pipeline, OGB sets a new standard for rigorously testing the scalability and out-of-distribution generalization of GNNs.
The OGB Pipeline: Standardizing Graph ML
Rather than proposing a new ML algorithm, this paper proposes a foundational infrastructure for the community. The authors introduce the OGB Pipeline, an automated, end-to-end Python framework compatible with major libraries like PyTorch, PyTorch Geometric, and DGL.
Key features of the OGB approach include:
- Standardized Data Loaders: Automated downloading and processing of graph objects.
- Realistic Data Splits: Replacing random splits with application-specific splits (e.g., time-based, molecular scaffold-based, or popularity-based).
- Unified Evaluators: Standardized metric computation (e.g., ROC-AUC, Mean Reciprocal Rank) to ensure fair comparisons.
- Public Leaderboards: A centralized hub to track state-of-the-art, reproducible research.
To validate the benchmark, the authors also conducted extensive baseline experiments using standard models like MLPs, Node2Vec, GCN, GraphSAGE, GIN, and various Knowledge Graph (KG) embedding techniques.
A Diverse Suite of Datasets
OGB launches with 15 diverse datasets categorized into three core graph ML tasks: Node, Link, and Graph property prediction.
- Diverse Scales: Datasets are categorized as Small, Medium, and Large. The largest dataset (
ogbn-papers100M) contains over 111 million nodes and 1.6 billion edges. - Diverse Domains:
- Nature: Biological networks and molecular graphs (e.g.,
ogbg-molhiv,ogbg-molpcba).
- Nature: Biological networks and molecular graphs (e.g.,
- Society: Academic citations and e-commerce networks (e.g.,
ogbn-products,ogbn-arxiv). - Information: Knowledge graphs and source code ASTs (e.g.,
ogbl-wikikg,ogbg-code).
Key Insights and Results
Transitioning to OGB's rigorous framework reveals several critical insights about the current state of Graph ML:
- Realistic splits are brutal: Moving from random splits to application-specific splits reveals a massive, previously hidden out-of-distribution generalization gap. Models that look superhuman on random splits struggle significantly when forced to extrapolate to new timeframes or structural clusters. For example, on the
ogbg-molhivdataset, using the realistic "scaffold split" drops model performance by 5-8% compared to a naive random split, highlighting the difficulty of real-world drug discovery tasks. - Scalability is a major bottleneck: Full-batch training (loading the whole graph into GPU memory) is impossible on OGB's medium and large datasets. Mini-batch methods are absolutely necessary but present open questions about how to best capture long-range graph dependencies. On the
ogbn-productsdataset, mini-batch methods like GraphSAINT (79.08% test accuracy) slightly outperform full-batch methods, likely due to the regularization effects of batch sampling. - Generalization gaps remain large: Even top-performing models show signs of overfitting. On
ogbn-products, GraphSAGE achieves 78.50% test accuracy but 94.09% training accuracy—a massive ~15% generalization gap. - Graph structure diversity matters: The datasets vary wildly in density. Biological networks in OGB are much denser than social networks, fundamentally changing how message-passing algorithms behave. A model optimized for one domain won't automatically succeed in another.
Limitations and Future Work
The authors candidly note a potential negative impact: by establishing a de-facto standard, OGB might inadvertently narrow the community's focus only to the specific tasks and datasets included in the benchmark. To mitigate this, OGB is designed as a living, community-driven project that will regularly update and add new datasets.
For future work, the benchmark explicitly highlights two massive opportunities for researchers: (1) developing highly scalable mini-batch and distributed training methods for billion-edge graphs, and (2) inventing novel GNN architectures that improve out-of-distribution generalization under realistic data splits.
Summary updated