-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
43 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,43 @@ | ||
# MEA-GNN | ||
# MEA-GNN | ||
|
||
## Enviroments Requires | ||
|
||
* Pytorch | ||
* Dgl | ||
|
||
## Usage | ||
|
||
### Parameters | ||
|
||
* attack types | ||
|
||
Please specify the attack you propose to run. They are list as the following table: | ||
| Attack Types | Node Attribute | Graph Structure | Shadow Dataset | | ||
| ---------- | ------------ | --------------- | -------------- | | ||
| Attack-0 | Partially Known | Partially Known | Unknown | | ||
| Attack-1 | Partially Known | Unknown | Unknown | | ||
| Attack-2 | Unknown | Known | Unknown | | ||
| Attack-3 | Unknown | Unknown | Known | | ||
| Attack-4 | Partially Known | Partially Known | Known | | ||
| Attack-5 | Partially Known | Unknown | Known | | ||
| Attack-6 | Unknown | Known | Known | | ||
|
||
* target model dataset | ||
|
||
Please specify the dataset among Cora, Citeseer, Pubmed for your target model training. | ||
|
||
* attack node number | ||
|
||
Please specify the proportion of the nodes obtained by the adversary. | ||
|
||
* shadow dataset size (required for attack3/4/5/6) | ||
|
||
For attacks with knowledge about the shadow dataset, please specify the size of shadow dataset comparing with training dataset as ratios. | ||
For example, for shadow dataset with half size as the target dataset, please use 0.5. | ||
|
||
### Example | ||
|
||
For runing the attack-0 in Cora with 5% attack nodes obtained by the adversary, you can run the comment as: | ||
|
||
`` python main.py --attack 0 --`` | ||
|