-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implementation of PRBCD
and GRBCD
attacks
#9
base: master
Are you sure you want to change the base?
Conversation
# Attacking (PRBCDAttack) # | ||
# ================================================================== # | ||
attacker = PRBCDAttack(data, device=device) | ||
attacker.setup_surrogate( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I find it confusing to call it surrogate
. Rather call it victim
, target
, or similar. I think it should not be the default to use surrogates, but rather the exception. See our paper "Are Defenses for GNNs robust?"
logs = trainer_before.evaluate(attacker.data(), splits.test_nodes) | ||
print(f"After evasion attack\n {logs}") | ||
# ================================================================== # | ||
# After poisoning Attack # |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would make clear that these poisoning attacks are heuristic in the sense that you are transferring the evasion attack.
Ref: