Skip to main content

Next-generation graph learning benchmarking.

Project description

GraphBench: Next generation graph learning benchmarking

This is the package associated with the paper GraphBench: Next generation graph learning benchmarking.

It contains the code and tools necessary to load the datasets associated with the benchmark. GraphBench is a collection of benchmarking datasets across domains and tasks obtained from real world and synthetic applications.

Features

GraphBench comes as a Python package with the following features:

Data Loading Efficiently loads graph datasets for benchmarking and experimentation across all domains and tasks.
Metric Evaluation Supports a wide range of evaluation metrics for graph learning tasks.
Automated Model Tuning Integrates SMAC3 for automatic hyperparameter optimization of user models.

Installation

GraphBench can be easily installed using the python package manager pip: pip install graphbench-lib

Please make sure to update the installation of GraphBench before running the benchmark for best results. Alternatively one can also install from source:

git clone https://github.com/graphbench/package
cd package
pip install -e . 

Usage

The package can be easily used to get selected datasets from the GraphBench tasks:

import graphbench-lib as graphbench
Loader = graphbench.loader.Loader(root, dataset_name)
datasets = Loader.load()

Furthermore, standardized evaluation metrics can be obtained using the following methods:

Evaluator = graphbench.evaluator.Evaluator(metric_name)
metric_results = Evaluator.evaluate()

For a full list of the datasets, see the accompanying website (https://graphbench.io) or the datasets.csv file.

Citing GraphBench:

If you use GraphBench or GraphBench datasets in your work please cite our paper:

@article{GraphBench,
title={GraphBench: Next-generation graph learning benchmarking}, 
author={Timo Stoll and Chendi Qian and Ben Finkelshtein and Ali Parviz and Darius Weber and Fabrizio Frasca and Hadar Shavit and Antoine Siraudin and Arman Mielke and Marie Anastacio and Erik Müller and Maya Bechler-Speicher and Michael Bronstein and Mikhail Galkin and Holger Hoos and Mathias Niepert and Bryan Perozzi and Jan Tönshoff and Christopher Morris},
year={2025},
journal={arXiv preprint arXiv:2512.04475}
}

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

graphbench_lib-0.1.1.1.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

graphbench_lib-0.1.1.1-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file graphbench_lib-0.1.1.1.tar.gz.

File metadata

  • Download URL: graphbench_lib-0.1.1.1.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for graphbench_lib-0.1.1.1.tar.gz
Algorithm Hash digest
SHA256 3fa10976cf55bf02d50fc8e454d3b80bcc2d5d499245aa19bca5f01ec2bc3f8d
MD5 486bcd23b7ba9baff6904854878305f5
BLAKE2b-256 9a806cdc2c8e58c88e4d1507d6c80d5e6bb4d9fc7ccc1bc1050066e01ac8fcb5

See more details on using hashes here.

Provenance

The following attestation bundles were made for graphbench_lib-0.1.1.1.tar.gz:

Publisher: publish.yml on graphbench/package

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file graphbench_lib-0.1.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for graphbench_lib-0.1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 89489c4f852d8aca57887bf89fbaa2f921b175d81b553655fb599e61ce7e2848
MD5 c24c1f73a3082791310b0e0a74678c3d
BLAKE2b-256 0c9715ebd37b51e5cf266e27652fadb2c1ea023715ae79fbaf06b662713e5951

See more details on using hashes here.

Provenance

The following attestation bundles were made for graphbench_lib-0.1.1.1-py3-none-any.whl:

Publisher: publish.yml on graphbench/package

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page