Coder Social home page Coder Social logo

Comments (9)

danielzuegner avatar danielzuegner commented on June 4, 2024

Not yet. It'd be interesting to see for sure!

from nettack.

hongxin001 avatar hongxin001 commented on June 4, 2024

I have finished the experiment and it shows that nettack can also work on GAT.

from nettack.

hongxin001 avatar hongxin001 commented on June 4, 2024

image

from nettack.

danielzuegner avatar danielzuegner commented on June 4, 2024

That's very interesting. Thank you very much for running these experiments! In order to draw conclusions we'd have to repeat this for different datasets and nodes but this is a good proof of concept.

from nettack.

hongxin001 avatar hongxin001 commented on June 4, 2024

Yeah, That's just a beginning. Could you share the code to evaluate on multi-nodes?(how to choose nodes and evaluate more efficiently.), That will help me a lot.

from nettack.

danielzuegner avatar danielzuegner commented on June 4, 2024

Hi, I'm not sure I understand your question fully but I'll try my best to answer.

First, set n_influencers to the desired number, e.g. 5.

Then there are two scenarios when we attack with n attacker nodes:

  • the target node has degree dā‰„n: select the n neighbors of the target that would lead to the lowest value of logit(correct_class) - max{logit(other_classes)} as attackers
  • the target node has degree d < n: first connect to the n-d nodes that are most beneficial to the adversary, and then we have our n attacker nodes.

Then you can use the script to perform and evaluate the attacks.

Does this answer your question?

from nettack.

hongxin001 avatar hongxin001 commented on June 4, 2024

Thanks for your answer, but it's not really what I want to understand more. In fact, I have written the code for evaluating 10+10+20 nodes as described in your paper. Do we need to retrain model 5 times for attacking each node(just as your demo)?

from nettack.

danielzuegner avatar danielzuegner commented on June 4, 2024

Hi,

Yes, in order to mitigate the effect of the random initialization we retrain each model five separate times per attack. We also repeat our experiments on five different splits into train/test nodes, i.e. for each of these splits we get (possibly different) 10+10+20 nodes.

Let me know in case something else is unclear.

from nettack.

hongxin001 avatar hongxin001 commented on June 4, 2024

That really helps me! Thank you! If I meet other problems, I will contact you by email.

from nettack.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. šŸ“ŠšŸ“ˆšŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.