Skip to content

TrustworthyGNN/unfairness_link_stealing_attack

Repository files navigation

unfairness in link stealing attack

Step 1: Train Target Model

Train GCN and MLP for all datasets.

Train GCN:

python3 train.py --dataset cora --model gcn

Train MLP:

python3 train.py --dataset cora --model mlp

Step 2: Generate Partial Graph

Split train / test for all datasets.

Add partial_graph_with_id folder under data.

python3 partial_graph_generation.py --dataset cora

Step 3: Run Attacks

Note that all attacks rely on the partial graphs generated by Step 2.

Attack 0

python3 attack.py --dataset cora

Or

chmod 775 run_exp.sh then ./run_exp.sh dataset

This is a Pytorch implementation of Stealing links from Graph Neural Networks from github.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •