Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/edisonleeeee/guard
[CIKM 2023] GUARD: Graph Universal Adversarial Defense
https://github.com/edisonleeeee/guard
adversarial-defense dgl graph-adversarial-learning graph-neural-networks
Last synced: about 1 month ago
JSON representation
[CIKM 2023] GUARD: Graph Universal Adversarial Defense
- Host: GitHub
- URL: https://github.com/edisonleeeee/guard
- Owner: EdisonLeeeee
- Created: 2022-04-20T21:32:26.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-02-27T06:36:42.000Z (10 months ago)
- Last Synced: 2024-02-27T07:59:37.215Z (10 months ago)
- Topics: adversarial-defense, dgl, graph-adversarial-learning, graph-neural-networks
- Language: Python
- Homepage:
- Size: 7.1 MB
- Stars: 7
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GUARD: Graph Universal Adversarial Defense
PyTorch implementation of the CIKM 2023 paper: "GUARD: Graph Universal Adversarial Defense" [[arXiv]](https://arxiv.org/abs/2204.09803).
Fig. 1. An illustrative example of graph universal defense. The universal patch p can be applied to an arbitrary node (here v1) to protect it from adversarial targeted attacks by removing adversarial edges (if exist).
# Requirements
+ torch==1.9
+ dgl==0.7.0# Datasets
+ Cora (available in `data/`)
+ Pubmed (available in `data/`)
+ ogbn-arxiv from OGB
+ Reddit from http://snap.stanford.edu/graphsage/Install graphattack:
```bash
cd GraphAttack
pip install -e .
```# Quick Start
See `demo.ipynb`# Reproduce results in the paper
run
```pythonpython evaluate_guard.py
```# Cite
if you find this repo helpful, please cite our work:
```bixtex
@inproceedings{li2022guard,
author = {Jintang Li and
Jie Liao and
Ruofan Wu and
Liang Chen and
Zibin Zheng and
Jiawang Dan and
Changhua Meng and
Weiqiang Wang},
title = {{GUARD:} Graph Universal Adversarial Defense},
booktitle = {{CIKM}},
pages = {1198--1207},
publisher = {{ACM}},
year = {2023}
}
```