Skip to content

Pytorch implementation of gnn meta attack (mettack). Paper title: Adversarial Attacks on Graph Neural Networks via Meta Learning.

Notifications You must be signed in to change notification settings

ChandlerBang/pytorch-gnn-meta-attack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pytorch-gnn-meta-attack

pytorch implementation of gnn meta attack (mettack). This repository is the pytorch implementation of the graph attack paper: Adversarial Attacks on Graph Neural Networks via Meta Learning

Tensorflow implementation can be found here

This method is included in DeepRobust, a very easy-to-use PyTorch Attack/Defense Library.

Requirements

  • Python 3.6 or newer
  • numpy
  • scipy
  • scikit-learn
  • pytorch 1.0 or newer
  • matplotlib (for plotting the results)
  • seaborn (for plotting the results)

Usage

To test the model, use the following command

python test_metattack.py

You can also add some additional configs

python test_metattack.py --dataset cora --ptb_rate 0.05 --model Meta-Self

The results on three datasets:

Cora Citeseer Polblogs

About

Pytorch implementation of gnn meta attack (mettack). Paper title: Adversarial Attacks on Graph Neural Networks via Meta Learning.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages