Giter Club home page Giter Club logo

latgcn's Introduction

LATGCN

This is the implementation of Latent Adversarial Training of Graph Convolutional Networks LATGCN by Hongwei Jin and Xinhua Zhang.

Motivation

  • maximize the perturbation on the latent layer
  • perturbation applied to all the nodes, due to the transductive learning property
  • improve the accuracy
  • reduce the success rate from adversarial attacks

Usage

Instal the required packages

pip install -r requirements.txt

Run the demo of nettack with vanilla GCN

python demo.py

run the demo of nettack with LATGCN

python demo.py

demo.py has a set of parameter to specify

--dataset:      choose from 
                'citeseer', 'cora', 'cora_ml', 'pubmed', 'polblogs', 'dblp'
--train_share:  specify the size for training
--reg:          a flag to toggle the LATGCN
--eta:          the norm constraint of noise applied to each node embedding
--gamma:        regularizer factor

Note that without specify the reg flag, it is simply the vanilla GCN.

Primary Result

Performance with perturbation on cora dataset:
image

Success rate with perturbation on cora dataset:
image

Reference

The Nettack model is implemented by Daniel Zügner
The original GCN model is implemented by Thomas N Kipf

Contact

Feel free to create issue in the repo, I will try to answer as soon as I can.

Citation

@article{jin2019latent,
  title={Latent Adversarial Training of Graph Convolutional Networks},
  author={Jin, Hongwei and Zhang, Xinhua},
  journal={ICML workshop - Learning and Reasoning with Graph-Structured Representations},
  year={2019}
}

Copyright

The work is under MIT license.

latgcn's People

Contributors

cshjin avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

0kuang

latgcn's Issues

Where is the requirements.txt

Hey, thanks for sharing the code. However, I can't find the requirements.txt mentioned in the Readme.md. May you please update it?

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.