Home

Awesome

<h1 align="center">RWL-GNN: Robustifying Graph Neural Networks via Weighted Laplacian </h1> <p align="center"> <a href="https://bharat-runwal.github.io/" target="_blank id="website">Bharat Runwal</a><sup>1</sup>, Vivek<sup>2</sup>, <a href="https://sites.google.com/view/sandeepkr/home" target="_blank id="website">Sandeep Kumar</a><sup>1</sup></p> <p align="center"><sup>1</sup> IIT Delhi,<sup>2</sup> Samsung Research Bangalore</p> <p align="center"> <a href="https://arxiv.org/pdf/2208.01853.pdf" alt="ArXiv"> <img src="https://img.shields.io/badge/Preprint-arXiv-blue.svg" /></a> <a href="https://colab.research.google.com/github/Bharat-Runwal/RWL-GNN/blob/main/Demo_RWL_GNN.ipynb" alt="Demo"> <img src="https://colab.research.google.com/assets/colab-badge.svg" /></a> <a href="https://docs.google.com/presentation/d/1qDS09BlPXeO1VtDIVmji1r8ZzpUY4NmujLRa6Aw9QiQ/edit?usp=sharing" alt="Slides"> <img src="https://img.shields.io/badge/Slides-SPCOM-yellow.svg" /></a> </p> <p align="center"> <img src ="joint.png" width="1000"/> </p>

A PyTorch implementation of "Robustifying Graph Neural Networks via Weighted Laplacian" Accepted at SPCOM 2022 (Best Student Paper Award).

<!-- [![][colab]][RWL-GNN] <div align=center><img src="joint.png" width="700"/></div> -->

Abstract

Requirements

See that in https://github.com/DSE-MSU/DeepRobust/blob/master/requirements.txt

Installation

To run the code, first you need to install DeepRobust:

pip install deeprobust

Or you can clone it and install from source code:

git clone https://github.com/DSE-MSU/DeepRobust.git
cd DeepRobust
python setup.py install

Run the code

After installation, you can clone this repository or you can use the demo notebook here COLAB

git clone https://github.com/Bharat-Runwal/RWL-GNN.git
cd RWL-GNN
python train.py --two_stage y --seed 10  --dataset cora --attack no --ptb_rate 0 --epochs 200  --epochs_pre 400 --alpha 1.0  --gamma 1.0 --beta 0.10 --lr_optim 1e-2 --lr 1e-3 
<!-- [colab]: <https://colab.research.google.com/assets/colab-badge.svg> [RWL-GNN]: <https://colab.research.google.com/github/Bharat-Runwal/RWL-GNN/blob/main/Demo_RWL_GNN.ipynb> -->

Acknowledgements

The code is based on :

Cite:

@article{runwal2022robust,
  title={Robust Graph Neural Networks using Weighted Graph Laplacian},
  author={Runwal, Bharat and Kumar, Sandeep and others},
  journal={arXiv preprint arXiv:2208.01853},
  year={2022}
}