An open and unified pipeline for Deep Hypergraph Learning (DHGL)
Project description
Overview of the Benchmark • Installation • Quick Start • Algorithm References • Citation
DHG-Bench
DHG-Bench is an open and unified pipline for Deep Hypergraph Learning (DHGL) based on PyTorch and PyTorch Geometric. We embark on 17 state-of-the-art hypergraph neural network (HNN) algorithms in node-level, edge-level, and graph-level tasks and analyze their performance in 22 distinct hypergraph datasets.
📔 Overview of the Benchmark
Figure 1: Pipeline of the DHG-Bench.
DHG-Bench provides a fair and comprehensive platform to evaluate existing HNN algorithms and facilitate future DHGL research. Our main contributions are summarized as follows:
-
DHG-Bench enables a fair and unified comparison among 17 state-of-the-art HNN algorithms and 22 diverse hypergraph datasets covering node-level, edge-level, and graph-level tasks. To the best of our knowledge, this is the first comprehensive benchmark for deep hypergraph learning.
-
We conduct a systematic analysis of HNN methods from various dimensions, including effec- tiveness, efficiency, robustness, and fairness. Through extensive experiments, we reveal both the strengths and limitations of existing algorithms, offering valuable insights to inform and inspire future research in this field.
-
We release DHG-Bench, an easy-to-use open-source benchmark library to support future DHGL research. Besides, with our toolkit, users can readily evaluate their algorithms or datasets with less effort.
📦 Installation
Follow the steps below to install and configure DHG-Bench properly for your local environment.
Installation for Local Development:
git clone https://github.com/Coco-Hut/DHG-Bench.git
cd DHG-Bench
Download Datasets
We include all benchmark datasets in the data.zip archive. Users can simply extract the archive with
unzip data.zip
to obtain the data directory. The project structure should look like the following:
DHG-Bench
├── data
│ ├── fair_data
│ ├── hete_data
| ├── hgcls_data
│ ├── trad_data
| └── ...
└── dhgbench
└── main.py
└── parameter_parser.py
Required Dependencies:
DHG-Bench needs the following requirements to be satisfied beforehand:
- Python>=3.9.21
- Pytorch>=2.2.2
- torch_geometric>=2.6.1
- torch-cluster>=1.6.3
- torch-scatter>=2.1.2
- torch-sparse>=0.6.18
- torch-spline-conv>=1.2.2
- deeprobust==0.2.11
- ipdb==0.13.13
- numpy==1.24.3
🚀 Quick Start
The following commands show how to quickly run an existing HNN algorithm across different hypergraph tasks.
For example, to run the HGNN method on the Cora dataset for a node classification task, use the following command:
python main.py --dname=cora --task_type=node_cls --method=HGNN --is_default=True
For example, to run the EDHNN method on the Pubmed dataset for a hyperedge prediction task, use the following command:
python main.py --dname=pubmed --task_type=edge_pred --method=EDHNN --is_default=True
For example, to run the TFHNN method on the stream_player dataset for a hypergraph classification task, use the following command:
python main.py --dname=stream_player --task_type=hg_cls --method=TFHNN --is_default=True
Note that The is_default parameter indicates whether to use the model’s default configuration. If set to False, the model will instead load parameter settings specific to the given dataset. All model parameter files are provided in the lib_yamls directory.
🧩 Algorithm References
📖 Citation
Our paper on this benchmark has be released at: http://arxiv.org/abs/2508.12244
If you use our benchmark in your works, we would appreciate citations to the paper:
@article{li2025dhg,
title={DHG-Bench: A Comprehensive Benchmark for Deep Hypergraph Learning},
author={Li, Fan and Wang, Xiaoyang and Zhang, Wenjie and Zhang, Ying and Lin, Xuemin},
journal={arXiv preprint arXiv:2508.12244},
year={2025}
}
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 dhg_bench-0.1.0.tar.gz.
File metadata
- Download URL: dhg_bench-0.1.0.tar.gz
- Upload date:
- Size: 87.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3022e06d058473d87842959a2feb08a58db01fc3b7298ec6b66c3368e9fc19b1
|
|
| MD5 |
e871fc598a534048263a6f8c9ee169e4
|
|
| BLAKE2b-256 |
d852e3439e177c484091cdaba966dc14894c359862190370b34fb648df08b270
|
File details
Details for the file dhg_bench-0.1.0-py3-none-any.whl.
File metadata
- Download URL: dhg_bench-0.1.0-py3-none-any.whl
- Upload date:
- Size: 127.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
92f20917d09863c67d62c51cce24c2a92511ae9e8910393fe04a3913f4d43247
|
|
| MD5 |
61726be44f0405be697a382caf0e1211
|
|
| BLAKE2b-256 |
ed5f59385ad623f330ed066955dc89d2b96bdb9e69d375c5d97638515a37a756
|