Skip to content
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

Question about edge pruning #5

Open
Chenhui1016 opened this issue Jul 29, 2021 · 2 comments
Open

Question about edge pruning #5

Chenhui1016 opened this issue Jul 29, 2021 · 2 comments

Comments

@Chenhui1016
Copy link

Hi,

Thanks for the great work! I have a question for the code

sim[sim<0.1] = 0
, where it drops the edge based on the similarity score in Equation 3 of the paper. However, the paper only mentions that dropping the edge is based on the Equation 5, not Equation 3. Could you kindly explain why do we add this line in the code? Or something I'm missing?

Thanks!

@yzfxmu
Copy link

yzfxmu commented Oct 31, 2022

Hi,

Thanks for the great work! I have a question for the code

sim[sim<0.1] = 0

, where it drops the edge based on the similarity score in Equation 3 of the paper. However, the paper only mentions that dropping the edge is based on the Equation 5, not Equation 3. Could you kindly explain why do we add this line in the code? Or something I'm missing?
Thanks!

I have the same question.

@Jieerbobo
Copy link

Hi,

Thanks for the great work! I have a question for the code

sim[sim<0.1] = 0

, where it drops the edge based on the similarity score in Equation 3 of the paper. However, the paper only mentions that dropping the edge is based on the Equation 5, not Equation 3. Could you kindly explain why do we add this line in the code? Or something I'm missing?
Thanks!

As indicated in "Are Defenses for Graph Neural Networks Robust?", It is vital to do this adjustment to remove edges with too dissimilar node embeddings (which would, as experiments show, substantially hinder attacking).
Paper link: https://www.cs.cit.tum.de/daml/are-gnn-defenses-robust/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants