GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - LARS-research/PAS: The released code for the paper: Pooling Architecture Search for Graph Classification, in CIKM 2021.

BranchesTags
Open more actions menu

Latest commit

 

History

7 Commits
7 Commits

Folders and files

NameName
Last commit message
Last commit date
README.md
README.md
 
 
agg_zoo.py
agg_zoo.py
 
 
appendix.pdf
appendix.pdf
 
 
dataset.py
dataset.py
 
 
fine_tune.py
fine_tune.py
 
 
framework.jpg
framework.jpg
 
 
geniepath.py
geniepath.py
 
 
genotypes.py
genotypes.py
 
 
logging_util.py
logging_util.py
 
 
message_passing.py
message_passing.py
 
 
model.py
model.py
 
 
model_search.py
model_search.py
 
 
op_graph_classification.py
op_graph_classification.py
 
 
pooling_zoo.py
pooling_zoo.py
 
 
pyg_gnn_layer.py
pyg_gnn_layer.py
 
 
reproduce.py
reproduce.py
 
 
train4tune.py
train4tune.py
 
 
train_search.py
train_search.py
 
 
utils.py
utils.py
 
 

Repository files navigation

PAS -- Pooling Architecture Search for Graph Classification

This repository is the code for our CIKM 2021 paper: Pooling Architecture Search for Graph Classification

Overview

We propose a novel framework PAS to automatically learn data-specific pooling architectures for graph classification task. Firstly, a unified framework consisting of four essential modules is designed. Based on this framework, an effective search space is designed by incorporating popular operations from existing human-designed architectures. To enable efficient architecture search, we develop a coarsening strategy to continuously relax the search space, thus a differentiable search method can be adopted.

Requirements

Latest version of Pytorch-geometric(PyG) is required. More details can be found in here

torch-cluster==1.5.7  
torch-geometric==1.7.2
torch-scatter==2.0.6  
torch==1.6.0  
numpy==1.17.2  
hyperopt==0.2.5  
python==3.7.4

Instructions to run the experiment

Step 1. Run the search process, given different random seeds. (The 2-layer GNN on DD dataset is used as an example)

python train_search.py  --data DD   --num_layers 2  --epochs 100

The results are saved in the directory exp_res, e.g., exp_res/DD.txt.

Step 2. Fine tune the searched architectures. You need specify the arch_filename with the resulting filename from Step 1.

python fine_tune.py --data DD --num_layers 2 --ft_weight_decay  --ft_dropout  --ft_mode 10fold --hyper_epoch 30 --epochs 100    --arch_filename  ./exp_res/DD.txt 

Evaluation

The searched architectures and hyper-parameters are provided: (DD dataset for example)

python reproduce.py --data DD --gpu 0

Cite

Please kindly cite our paper if you use this code:

@inproceedings{wei2021pooling,
  title={Pooling Architecture Search for Graph Classification},
  author={Wei, Lanning and Zhao, Huan and Yao, Quanming and He, Zhiqiang},
  booktitle={CIKM},
  year={2021}
}

About

The released code for the paper: Pooling Architecture Search for Graph Classification, in CIKM 2021.

Topics

automlgraph-classificationgraph-neural-networkgraph-neural-networksneural-architecture-search

Resources

Readme
Activity
Custom properties

Stars

26 stars

Watchers

6 watching

Forks

3 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.