# pytorch-gnn-meta-attack **Repository Path**: lexton123/pytorch-gnn-meta-attack ## Basic Information - **Project Name**: pytorch-gnn-meta-attack - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-04-01 - **Last Updated**: 2022-04-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 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](https://openreview.net/pdf?id=Bylnx209YX) Tensorflow implementation can be found [here](https://github.com/danielzuegner/gnn-meta-attack) **This method is included in [DeepRobust](https://github.com/DSE-MSU/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 :-------------------------:|:-------------------------:|:-------------------------: ![](results/results_on_cora.png) | ![](results/results_on_citeseer.png)|![](results/results_on_polblogs.png)