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}
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file graphbench_lib-0.1.1.tar.gz.
File metadata
- Download URL: graphbench_lib-0.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c6c5708a68c7bd834564d0a9cbddf2115797389b77caf6275c9e067f6d57c11b
|
|
| MD5 |
dac5f3cad22b597c8eccf2aaa1db7619
|
|
| BLAKE2b-256 |
c2606de666c2143a7b69f29b4d321269b1d8e2b001e2e7323931d22b13028728
|
Provenance
The following attestation bundles were made for graphbench_lib-0.1.1.tar.gz:
Publisher:
publish.yml on graphbench/package
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
graphbench_lib-0.1.1.tar.gz -
Subject digest:
c6c5708a68c7bd834564d0a9cbddf2115797389b77caf6275c9e067f6d57c11b - Sigstore transparency entry: 747139514
- Sigstore integration time:
-
Permalink:
graphbench/package@c4ac119d734cbe4ba6906bb5705ed0d475e8d19e -
Branch / Tag:
refs/heads/main - Owner: https://github.com/graphbench
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@c4ac119d734cbe4ba6906bb5705ed0d475e8d19e -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file graphbench_lib-0.1.1-py3-none-any.whl.
File metadata
- Download URL: graphbench_lib-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ece6f8e6eccd54fa7d9be2d64628d23da63efdcf1c9c699746b8a30a7eea5a28
|
|
| MD5 |
cf0113855e203c288c840f4dacf826c4
|
|
| BLAKE2b-256 |
0d0170c811da72a5ef578080e25852f5a4cc4133b3ae5af7e28ea965af96fa20
|
Provenance
The following attestation bundles were made for graphbench_lib-0.1.1-py3-none-any.whl:
Publisher:
publish.yml on graphbench/package
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
graphbench_lib-0.1.1-py3-none-any.whl -
Subject digest:
ece6f8e6eccd54fa7d9be2d64628d23da63efdcf1c9c699746b8a30a7eea5a28 - Sigstore transparency entry: 747139516
- Sigstore integration time:
-
Permalink:
graphbench/package@c4ac119d734cbe4ba6906bb5705ed0d475e8d19e -
Branch / Tag:
refs/heads/main - Owner: https://github.com/graphbench
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@c4ac119d734cbe4ba6906bb5705ed0d475e8d19e -
Trigger Event:
workflow_dispatch
-
Statement type: