Giter Club home page Giter Club logo

metagc's Introduction

Robust Graph Clustering via Meta Learning for Noisy Graphs

MetaGC is a GNN-based graph clustering method that is robust against noise edges. MetaGC consists of a GNN-based clustering model, and a meta model that adaptively adjusts the weights of node pairs. MetaGC uses a modularity-based loss function with theoretical justification. In our experiments, we demonstrate that MetaGC learns weights effectively and thus outperforms the state-of-the-art GNN-based competitors, even when they are equipped with separate denoising schemes, on five real-world graphs under varying levels of noise.

Environments

  • python 3.7.11
  • numpy==1.21.2
  • torch==1.10.0 (with CUDA 11.3)
  • sklearn==1.0.2
  • scipy==1.7.3

important argments

  • noise_level: noise level, [1, 2, 3] (1 --> 30%, 2 --> 60%, 3 --> 90%)
  • batch_size: set the batch sizes (i.e., the numbers of nodes in a batch)
  • nuim_hiddens: number of hidden units in the GCN variant
  • num_epochs: minimum epochs
  • max_epochs: maximum epochs
  • num_pateince: number of epochs with no improvement of modulairty after which training will be stopped
  • c_lr: learning rate of the clustering model
  • m_lr: learning rate of the meta model

Running MetaGC with Cora graph with noise level I

python3 main.py --graph_name cora --noise_level 1 --batch_size 128 --num_hiddens 64 --num_epochs 200 --max_epochs 1500 --num_patience 50 --c_lr 0.001 --m_lr 0.005

metagc's People

Contributors

hyeonsoojo avatar

Stargazers

B.M.R. Heijligers avatar  avatar Mohammad Reza Taesiri avatar Soo Yong Lee avatar Jinhong Jung avatar BU Fanchen 卜凡辰 avatar Kijung Shin avatar

Watchers

 avatar

Forkers

eltociear

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.