KDD2024_FedGTP

April 14, 2024 · View on GitHub

Official PyTorch implementation of "FedGTP: Exploiting Inter-Client Spatial Dependency in Federated Graph-based Traffic Prediction".

Setup

Environment

PyTorch 1.13.1 and conducted on Intel(R) Xeon(R) Gold 6230R CPU @ 2.10GHz and four NVIDIA A100-PCIE-40GB GPUs with CUDA 11.6.

conda create -n fedgtp "python=3.11"
conda activate fedgtp
bash install.sh

Run

bash run.sh

Default Hyperparameter Configuration

HyperparametersValues
hidden feature dimension FF64
number of hidden layers LL2
embedding dimension dd2
polynomial coefficient KK4
learning rate η\eta0.003
batch size64
number of global epochs RgR_g200
number of local epochs RlR_l2
validation ratio0.2
testing ratio0.2