Git Product home page Git Product logo

pa-gnn's Introduction

Transferring Robustness for Graph Neural Network Against Poisoning Attacks

Implementation of paper "Transferring Robustness for Graph Neural Network Against Poisoning Attacks"

by Xianfeng Tang, Yandong Li, Yiwei Sun, Huaxiu Yao, Prasenjit Mitra, Suhang Wang
Published at WSDM 2020, Houston, Texas, USA

Please cite our paper if the model or the paper help:

@inproceedings{tang2020transferring,
	title = {Transferring Robustness for Graph Neural Network Against Poisoning Attacks},
	author={Tang, Xianfeng and Li, Yandong and Sun, Yiwei and Yao, Huaxiu and Mitra, Prasenjit and Wang, Suhang},
	booktitle={ACM Internatioal Conference on Web Search and Data Mining (WSDM)},
	year = {2020}
}

Requirements

  • Python 3.7 or newer
  • numpy
  • tensorflow
  • scipy

Before running

Please download data.zip and extract all contents to data/.

Run the code

Please run with python main.py.

Contact

Please contact tangxianfeng at outlook.com for any questions.

References

Dataset

Pubmed

We acquire the processed graph from https://github.com/tkipf/gcn/tree/master/gcn/data and put them in data/gcn_data (must be unzip from data.zip to find it). The original datasets can be found here: http://linqs.cs.umd.edu/projects/projects/lbc/.

Reddit

The original Reddit graph can be found here: http://snap.stanford.edu/graphsage/.

Yelp small & large

We use Yelp Dataset to compile these two datasets.

Code & model design

Meta-learning

The design and implenmentation of meta-learning part is inspired by MAML-TensorFlow and maml.

Graph neural networks

The design of neural networks is inspired by gcn and metattack.

Graph adversarial attacks

We adopt nettack and metattack.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.