Git Product home page Git Product logo

grain's Introduction

Grain: Improving Data Efficiency of Graph Neural Networks via Diversified Influence Maximization.

This repository is the official implementation of GRAIN.

Requirements

To install requirements:

pip install -r requirements.txt

Training

To train the model(s) in the paper:

cd the “example” data

run the python file GRAIN(ball-D).py or GRAIN(NN-D).py

Results

  1. Accuracy comparison:

  1. Active learning comparison:

  1. Core-set selection comparison:

  1. Efficiency comparison on GPU:

  1. Efficiency comparison on CPU:

  1. Interpretability:

  1. Ablation study:

  1. Generalization:

Cite

If you use Grain in a scientific publication, we would appreciate citations to the following paper:

@article{zhang2021grain,
  title={GRAIN: improving data efficiency of gra ph neural networks via diversified in fluence maximization},
  author={Zhang, Wentao and Yang, Zhi and Wang, Yexin and Shen, Yu and Li, Yang and Wang, Liang and Cui, Bin},
  journal={Proceedings of the VLDB Endowment},
  volume={14},
  number={11},
  pages={2473--2482},
  year={2021},
  publisher={VLDB Endowment}
}

grain's People

Contributors

zwt233 avatar

Stargazers

Starlight avatar Krzysztof Daniell avatar  avatar Frank avatar Jun Zhang avatar Wenyue avatar Sig Lee avatar Alicia avatar  avatar MuhammadAnwar avatar

Watchers

James Cloos avatar  avatar

grain's Issues

cannot scale to the large-scale dataset Reddit

According to the example code, it needs to compute the distance between arbitrary node pairs, which is O(n^2) complexity and leads to OOM. How can it scale to the large-scale dataset on Reddit?

Thank you~

Cannot reproduce the test accuracy of GRAIN (ball-D)

Hi, I tried to run your code in ./examples/Test.ipynb. But I cannot reproduce the test accuracy of GRAIN (ball-D). The performance is about ~3% lower than that is shown in your paper. Could you check whether the parameters are correct in your file? I attached the figure showing my results.
Grain_1

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.