Skip to content
/ ITR Public

IJCAI 2022-Initializing Then Refining: A Simple Graph Attribute Imputation Network

License

Notifications You must be signed in to change notification settings

WxTu/ITR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Paper

Made with Python GitHub stars GitHub forks visitors

Source code for the paper "Initializing Then Refining: A Simple Graph Attribute Imputation Network"

W. Tu, S. Zhou, X. Liu, Y. Liu, Z. Cai, E. Zhu, C. Zhang, and J. Cheng.

Accepted by IJCAI 2022. [Paper]

Installation

Clone this repo.

git clone https://github.com/WxTu/ITR.git
  • Python 3.7.11
  • Pytorch (1.9.0)
  • Numpy 1.25.1
  • Sklearn 1.0.2
  • Torchvision 0.10.0
  • Matplotlib 3.5.1

Preparation

We adopt four datasets in total, including Cora, Citeseer, Amazon Computer, and Amazon Photo. To train ITR on these datasets, please download them from Baidu Cloud (access code: 1234).

Code Structure & Usage

Here we provide an implementation of Initializing Then Refining (ITR) in PyTorch, along with an execution example on Cora (or Citeseer) dataset (due to file size limit). The repository is organised as follows:

  • ITR.py: defines the architecture of the whole network.
  • utils.py: defines some functions about data processing, evaluation metrics, and others.
  • main.py: the entry point for training and testing.
  • test_X.py and test_AX.py: about downstream tasks.

Finally, main.py puts all of the above together and may be used to execute a full training run on Cora (or Citeseer).

Architecture

Contact

wenxuantu@163.com

Any discussions or concerns are welcomed!

Citation & License

If you use this code for your research, please cite our paper.

@inproceedings{2022ITR,
  title={Initializing Then Refining: A Simple Graph Attribute Imputation Network},
  author={Wenxuan Tu and Sihang Zhou and Xinwang Liu and Yue Liu and Zhiping Cai and En Zhu and Changwang Zhang and Jieren Cheng},
  booktitle={Proceedings of The Thirty-First International Joint Conference on Artificial Intelligence},
  pages={3494-3500},
  year={2022}
}

All rights reserved. Licensed under the Apache License 2.0.

The code is released for academic research use only. For commercial use, please contact [wenxuantu@163.com].

Acknowledgement

X. Chen, S. Chen, J. Yao, et al. Learning on Attribute-Missing Graphs. IEEE TPAMI, 2022.
--https://github.com/xuChenSJTU/SAT-master-online

About

IJCAI 2022-Initializing Then Refining: A Simple Graph Attribute Imputation Network

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages