Code Monkey home page Code Monkey logo

fgwmixup's Introduction

FGWMixup: Fused Gromov-Wasserstein Graph Mixup for Graph-level Classifications

This is the code for the paper: Fused Gromov-Wasserstein Graph Mixup for Graph-level Classifications, published in NeurIPS'23.

Paper link 🔗:

arXiv: https://arxiv.org/abs/2306.15963

OpenReview: https://openreview.net/forum?id=uqkUguNu40&noteId=0qcp06CFB6

Thanks for your interest in our work! If our work helps, please don't forget to cite us!🌟

@inproceedings{ma2023fused,
 author = {Ma, Xinyu and Chu, Xu and Wang, Yasha and Lin, Yang and Zhao, Junfeng and Ma, Liantao and Zhu, Wenwu},
 booktitle = {Advances in Neural Information Processing Systems},
 pages = {15252--15276},
 title = {Fused Gromov-Wasserstein Graph Mixup for Graph-level Classifications},
 url = {https://proceedings.neurips.cc/paper_files/paper/2023/file/3173c427cb4ed2d5eaab029c17f221ae-Paper-Conference.pdf},
 volume = {36},
 year = {2023}
}

File Structure

  • ./src/: source codes

    gmixup_dgl.py: Main python file to run FGWMixup

    gromov_mixup.py: Conducting mixup of two samples

    FGW_barycenter.py: Calculating FGW barycenter and its accelerated version

    models_dgl.py: GNN architectures

    utils_dgl.py: Some utilities

  • run_gmixup.sh: sh command to run FGWMixup

Requirements

Suggested Enviornments:

  • Python 3.9
  • PyTorch 1.11.0
  • DGL 1.0.2
  • POT 0.8.2

fgwmixup's People

Contributors

arthurleom avatar

Stargazers

Simon Forbat avatar  avatar Rémi avatar duynhm avatar Fengjiao_Gong avatar  avatar Lei Li avatar

Watchers

Kostas Georgiou avatar  avatar

fgwmixup's Issues

Computation of Degree as Node Weights

Hi,

I do not understand why the parameters a and b are used in the computation of the normalized degrees. Especially when using the given defaults for these parameters, in particular b = 0, one obtains the same values for all nodes and the degree option is equivalent to the uniform option.

I'd be very grateful if you could shed some light on this.

deg_0 = np.power((deg_0 + a), b)

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.