[IJCAI2025] Let's Group: A Plug-and-Play SubGraph Learning Method for Memory-Efficient Spatio-Temporal Graph Modeling
The SubGraph Learning method is located in the SGL module
folder.
We have integrated the SubGraph Learning method into the code frameworks of models such as DDGCRN-main
to ensure fair comparisons.
Please refer to the README
file in each model framework for instructions on setting up the environment and running the models.
We have embedded the parameters for the SGL method into the model's parameters:
- In
DDGCRN-main
、DGCNet-main
andGMAN
, the related parameter settings are in theconfig_file
. - In
STAEformer
, the related parameter settings are inmodel/STAEformer.yaml
. - In
STWave
, the related parameter settings are inbaselines/STWave/PEMS0X.py
. - In
DGCRN-main
, the settings are inmain.py
.
To disable the SGL method, set use_subgraph
to False
.
The parameters memory_node
and topk
control the number of subgraphs and the number of nodes in each subgraph, respectively.
The relevant datasets can be downloaded from Google Drive.
The files are already named according to the models. To use a dataset, simply place the corresponding files into the appropriate framework folder.
- For
DDGCRN
andDGCNet
, move thedata
folder insidedata_DDGCRN_DGCNet
to the root directory of both models. - For
GMAN
, move thedata
folder insidedata_GMAN
to the root directory ofGMAN
. - For
DGCRN
, move thedata
folder insidedata_DGCRN
to the root directory ofDGCRN-main
. - For
STAEformer
, move thedata
folder insidedata_STAEformer
to the root directory ofSTAEformer-main
. - For
STWave
, move thedatasets
folder insidedata_STWave
to the root directory ofSTWave
.