-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit c5722a4
Showing
157 changed files
with
5,604 additions
and
0 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# **Bi-Directional Multi-Scale Graph Dataset Condensation via Information Bottleneck(BiMSGC)** | ||
|
||
|
||
|
||
This is the official code for AAAI 2025 Bi-Directional Multi-Scale Graph Dataset Condensation via Information Bottleneck | ||
|
||
### Requirements | ||
``` | ||
deeprobust==0.2.9 | ||
gdown==4.7.3 | ||
networkx==3.2.1 | ||
numpy==1.26.3 | ||
ogb==1.3.6 | ||
pandas==2.1.4 | ||
scikit-learn==1.3.2 | ||
scipy==1.11.4 | ||
torch==2.1.2 | ||
torch_geometric==2.4.0 | ||
torch-sparse==0.6.18 | ||
``` | ||
|
||
## Download Datasets | ||
For Citeseer Pubmed and Squirrel, the code will directly download them. | ||
For Reddit, Flickr, and Ogbn-arXiv, we use the datasets provided by [GraphSAINT](https://github.com/GraphSAINT/GraphSAINT). They are available on [Google Drive link](https://drive.google.com/open?id=1zycmmDES39zVlbVCYs88JTJ1Wm5FbfLz) (the links are provided by GraphSAINT team). | ||
Download the files and unzip them to `data` at the root directory. | ||
|
||
## Instructions | ||
|
||
(1) Run preprocess.py to preprocess the dataset and conduct the spectral decomposition. | ||
|
||
(2) Initialize node features of the synthetic graph by running feat_init.py. | ||
|
||
(3) Distill the synthetic graph by running distill.py. | ||
|
||
## Cite | ||
Welcome to kindly cite our work! |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.