arXiv(opens in a new tab)Computer ScienceMay 2020Cited by 12 papers on PaperVantage

Manuscript Offprint

arXiv:2005.00687

Open Graph Benchmark: Datasets for Machine Learning on Graphs

Weihua Hu, Matthias Fey, M. Zitnik, Yuxiao Dong, Hongyu Ren, Bowen Liu, Michele Catasta, J. Leskovec

Abstract

We present the Open Graph Benchmark (OGB), a diverse set of challenging and realistic benchmark datasets to facilitate scalable, robust, and reproducible graph machine learning (ML) research. OGB datasets are large-scale, encompass multiple important graph ML tasks, and cover a diverse range of domains, ranging from social and information networks to biological networks, molecular graphs, source code ASTs, and knowledge graphs. For each dataset, we provide a unified evaluation protocol using meaningful application-specific data splits and evaluation metrics. In addition to building the datasets, we also perform extensive benchmark experiments for each dataset. Our experiments suggest that OGB datasets present significant challenges of scalability to large-scale graphs and out-of-distribution generalization under realistic data splits, indicating fruitful opportunities for future research. Finally, OGB provides an automated end-to-end graph ML pipeline that simplifies and standardizes the process of graph data loading, experimental setup, and model evaluation. OGB will be regularly updated and welcomes inputs from the community. OGB datasets as well as data loaders, evaluation scripts, baseline code, and leaderboards are publicly available at https://ogb.stanford.edu.

Contents

1 Introduction

Graphs are widely used for abstracting complex systems of interacting objects, such as social networks (Easley et al., 2010), knowledge graphs (Nickel et al., 2015), molecular graphs (Wu et al., 2018), and biological networks (Barabasi & Oltvai, 2004), as well as for modeling 3D objects (Simonovsky & Komodakis, 2017), manifolds (Bronstein et al., 2017), and source code (Allamanis et al., 2017). Machine learning (ML), especially deep learning, on graphs is an emerging field (Hamilton et al., 2017b; Bronstein et al., 2017). Recently, significant methodological advances have been made in graph ML (Grover & Leskovec, 2016; Kipf & Welling, 2017; Ying et al., 2018b; Veličković et al., 2019; Xu et al., 2019), which have produced promising results in applications from diverse domains (Ying et al., 2018a; Zitnik et al., 2018; Stokes et al., 2020).

How can we further advance research in graph ML? Historically, high-quality and large-scale datasets have played significant roles in advancing research, as exemplified by ImageNet (Deng et al., 2009) and MS COCO (Lin et al., 2014) in computer vision, GLUE Benchmark (Wang et al., 2018) and SQuAD (Rajpurkar et al., 2016) in natural language processing, and LibriSpeech (Panayotov et al., 2015) and CHiME (Barker et al., 2015) in speech processing. However, in graph ML research, commonly-used datasets and evaluation procedures present issues that may negatively impact future progress.

Figure

Figure 1: OGB provides datasets that are diverse in scale, domains, and task categories.

Issues with current benchmarks. Most of the frequently-used graph datasets are extremely small compared to graphs found in real applications (with more than 1 million nodes or 100 thousand graphs) (Wang et al., 2020; Ying et al., 2018a; Wu et al., 2018; Husain et al., 2019; Bhatia et al., 2016; Vrandečić & Krötzsch, 2014). For example, the widely-used node classification datasets, Cora, CiteSeer, and Pubmed (Yang et al., 2016), only have 2,700 to 20,000 nodes, the popular graph classification datasets from the TU collection (Yanardag & Vishwanathan, 2015; Kersting et al., 2020) only contain 200 to 5,000 graphs, and the commonly-used knowledge graph completion datasets, FB15k and WN18 (Bordes et al., 2013), only have 15,000 to 40,000 entities. As models are extensively developed on these small datasets, the majority of them turn out to be not scalable to larger graphs (Kipf & Welling, 2017; Velickovic et al., 2018; Bordes et al., 2013; Trouillon et al., 2016). The small datasets also make it hard to rigorously evaluate data-hungry models, such as Graph Neural Networks (GNNs) (Li et al., 2016; Duvenaud et al., 2015; Gilmer et al., 2017; Xu et al., 2019). In fact, the performance of GNNs on these datasets is often unstable and nearly statistically identical to each other, due to the small number of samples the models are trained and evaluated on (Dwivedi et al., 2020; Hu et al., 2020a).

Furthermore, there is no unified and commonly-followed experimental protocol. Different studies adopt their own dataset splits, evaluation metrics, and cross-validation protocols, making it challenging to compare performance reported across various studies (Shchur et al., 2018; Errica et al., 2019; Dwivedi et al., 2020). In addition, many studies follow the convention of using random splits to generate training/test sets (Kipf & Welling, 2017; Xu et al., 2019; Bordes et al., 2013), which is not realistic or useful for real-world applications and generally leads to overly optimistic performance results (Lohr, 2009).

Thus, there is an urgent need for a comprehensive suite of real-world benchmarks that combine a diverse set of datasets of various sizes coming from different domains. Data splits as well as evaluation metrics are important so that progress can be measured in a consistent and reproducible way. Last but not least, benchmarks also need to provide different types of tasks, such as node classification, link prediction, and graph classification.

Present work: OGB. Here, we present the Open Graph Benchmark (OGB) with the goal of facilitating scalable, robust, and reproducible graph ML research. The premise of OGB is to develop a diverse set of challenging and realistic benchmark datasets that can empower the rigorous advancements in graph ML. As illustrated in Figure 1, the OGB datasets are designed to have the following three characteristics:

  1. Large scale. The OGB datasets are orders-of-magnitude larger than existing benchmarks and can be categorized into three different scales (small, medium, and large). Even the “small” OGB graphs have more than 100 thousand nodes or more than 1 million edges, but are small enough to fit into the memory of a single GPU, making them suitable for testing computationally intensive algorithms. Additionally, OGB introduces “medium” (more than 1 million nodes or more than 10 million edges) and “large” (on the order of 100 million nodes or 1 billion edges) datasets, which can facilitate the development of scalable models based on mini-batching and distributed training.
  2. Diverse domains. The OGB datasets aim to include graphs that are representative of a wide range of domains, as shown in Table 1. The broad coverage of domains in OGB empowers the development and demonstration of general-purpose models, and can be used to distinguish them from domain-specific techniques. Furthermore, for each dataset, OGB adopts domain-specific data splits (e.g., based on time, species, molecular structure, GitHub project, etc.) that are more realistic and meaningful than conventional random splits.
  3. Multiple task categories. Besides data diversity, OGB supports three categories of fundamental graph ML tasks, i.e., node, link, and graph property predictions, each of which requires the models to make predictions at different levels of graphs, i.e., at the level of a node, link, and entire graph, respectively.

OGB Graph Datasets OGB Data Loader Your ML Model OGB Evaluator OGB Leaderboards (a)(b)(c)(d)(e)

Figure 2: Overview of the OGB pipeline: (a) OGB provides realistic graph benchmark datasets that cover different prediction tasks (node, link, graph), are from diverse application domains, and are at different scales. (b) OGB fully automates dataset processing and splitting. That is, the OGB data loaders automatically download and process graphs, provide graph objects (compatible with PyTorch (Paszke et al., 2019) and its associated graph libraries, PyTorch Geometric (Fey & Lenssen, 2019) and Deep Graph Library (Wang et al., 2019a)), and further split the datasets in a standardized manner. (c) After an ML model is developed, (d) OGB evaluates the model in a dataset-dependent manner, and outputs the model performance appropriate for the task at hand. Finally, (e) OGB provides public leaderboards to keep track of recent advances.

Table 1: Overview of currently-available OGB datasets (denoted in green). Nature domain includes biological networks and molecular graphs, Society domain includes academic graphs and e-commerce networks, and Information domain includes knowledge graphs. More datasets will be added in the future to increase the coverage.

TaskNode property prediction
ogbn-
DomainNatureSocietyInformation
Smallarxiv
Mediumproteinsproductsmag
Largepapers100M
TaskLink property prediction
ogbl-
DomainNatureSocietyInformation
Smallddicollabbiokg
Mediumppacitation2wikikg2
Large
TaskGraph property prediction
ogbg-
DomainNatureSocietyInformation
Smallmolhiv
Mediummolpcba / ppacode2
Large

The currently-available OGB datasets are categorized in Table 1 according to their task categories, application domains, and scales. Currently, OGB includes 15 diverse graph datasets, with at least 4 datasets for each task category. All the datasets are constructed by ourselves, except for ogbn-products, ogbg-molpcba, and ogbg-molhiv, whose graphs and target labels are adopted from Chiang et al. (2019) and Wu et al. (2018). For these datasets, we resolve critical issues of the existing data splits by presenting more meaningful and standardized splits.

In addition to building the graph datasets, we also perform extensive benchmark experiments for each dataset. Through the experiments and ablation studies, we highlight research challenges and opportunities provided by each dataset, especially on (1) scaling models to large graphs, and (2) improving out-of-distribution generalization performance under the realistic data split scenarios.

Finally, as illustrated in Figure 2, OGB presents an automated end-to-end graph ML pipeline that simplifies and standardizes the process of graph data loading, experimental setup, and model evaluation, in the same spirit as OpenML (Vanschoren et al., 2013; Feurer et al., 2019). Specifically, given the OGB datasets (a), the end-users can focus on developing their graph ML models (c) by using the OGB data loaders (b) and evaluators (d), both of which are provided by our OGB Python package. OGB also hosts a public leaderboard (e) for publicizing state-of-the-art, reproducible graph ML research. As a starting point, for each dataset, we include results from a suite of well-known baselines, particularly GNN-based methods, together with code to reproduce our results.

OGB is an on-going open-source, community-driven initiative. Over time we plan to release new versions of the datasets and methods, and provide updates to the leaderboard. The OGB website (https://ogb.stanford.edu) provides the documentation, example scripts, and public leaderboard. We also welcome inputs from the community at ogb@cs.stanford.edu.

References (100)

Couldn't load all references. Reload the page to try again.