Home

Awesome

structack

Structack: Structure-based Adversarial Attacks on Graph Neural Networks [Paper]

This repository implements global black-box adversarial attacks on the node classification task with graph neural networks. The attacks have only access to the adjacency matrix and not the nodes feature vectors. These attacks select nodes with minimum centrality and connect pairs of nodes with minimum similarity.

Run

The main testing code is in the file evaluate_attacks.py. Please run python -u -m evaluate_attacks from the project root directory.

Dependencies

python >= 3.7

Please install PyTorch and PyG, then run pip install -r requirements.txt.

Citation

@inproceedings{10.1145/3465336.3475110,
author = {Hussain, Hussain and Duricic, Tomislav and Lex, Elisabeth and Helic, Denis and Strohmaier, Markus and Kern, Roman},
title = {Structack: Structure-Based Adversarial Attacks on Graph Neural Networks},
year = {2021},
isbn = {9781450385510},
publisher = {Association for Computing Machinery},
address = {New York, NY, USA},
url = {https://doi.org/10.1145/3465336.3475110},
doi = {10.1145/3465336.3475110},
booktitle = {Proceedings of the 32nd ACM Conference on Hypertext and Social Media},
pages = {111–120},
numpages = {10},
keywords = {network centrality, network similarity, adversarial attacks, graph neural networks},
location = {Virtual Event, USA},
series = {HT '21}
}