Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chandlerbang/autossl
[ICLR 2022] Implementation of paper "Automated Self-Supervised Learning for Graphs"
https://github.com/chandlerbang/autossl
Last synced: 7 days ago
JSON representation
[ICLR 2022] Implementation of paper "Automated Self-Supervised Learning for Graphs"
- Host: GitHub
- URL: https://github.com/chandlerbang/autossl
- Owner: ChandlerBang
- Created: 2021-06-11T00:14:30.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-07-25T02:18:00.000Z (over 2 years ago)
- Last Synced: 2023-03-04T17:22:45.517Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 24.4 KB
- Stars: 35
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AutoSSL
[ICLR 2022] A PyTorch implementation of paper ["Automated Self-Supervised Learning for Graphs"](https://openreview.net/pdf?id=rFbR4Fv-D6-).## Abstract
We observe that different pretext tasks affect downstream tasks differently cross datasets, which suggests that searching pretext tasks is crucial for graph self-supervised learning. Different from existing works focusing on designing single pretext tasks, this work aims to investigate how to automatically leverage multiple pretext tasks effectively. Nevertheless, evaluating representations derived from multiple pretext tasks without direct access to ground truth labels makes this problem challenging. To address this obstacle, we make use of a key principle of many real-world graphs, i.e., homophily, as the guidance to effectively search various self-supervised pretext tasks. We provide theoretical understanding and empirical evidence to justify the flexibility of homophily in this search task. Then we propose the AutoSSL framework which can automatically search over combinations of various self-supervised tasks.## Requirements
All experiments are performed under `python=3.8.8`For the versions of python packages, please see `requirements.txt`.
## Run the code
For AutoSSL-ES, run
```
python train_es.py --dataset citeseer
```
For AutoSSL-DS, run
```
python train_meta.py --dataset citeseer
```To reproduce the performance of AutoSSL-DS, please run
```
bash run.sh 0 2
```
where 0 is the random seed and 2 is the ID of GPU being used.If you prefer not to use the script, you can use the following command:
```
python -W ignore train_meta.py --gpu_id=0 --dataset wiki --lr 1e-3 --seed 0 --lr_lambda 0.05
```## Cite
For more information, you can take a look at the [paper](https://openreview.net/pdf?id=rFbR4Fv-D6-)If you find this repo to be useful, please cite our paper. Thank you.
```
@inproceedings{
jin2022automated,
title={Automated Self-Supervised Learning for Graphs},
author={Wei Jin and Xiaorui Liu and Xiangyu Zhao and Yao Ma and Neil Shah and Jiliang Tang},
booktitle={International Conference on Learning Representations},
year={2022},
url={https://openreview.net/forum?id=rFbR4Fv-D6-}
}
```