Giter Club home page Giter Club logo

ktn's Introduction

Zero-shot Transfer Learning within a Heterogeneous Graph via Knowledge Transfer Networks (KTN)

KTN transfers knowledges from label-abundant node types to zero-labeled node types within a sing heterogeneous graph. More specifically, KTN transfers Heterogeneous Graph Neural Networks (HGNN) that are trained on a source node type to a target node type without using any target labels.

You can see our NeurIPS 2022 paper for more details.

Overview

Data/ directory contains all files to preprocess OAG-CS raw datasets and extract OAG-ML and OAG-CN subgraphs. Model/ directory contains how to train HGNN and KTN models on the preprocessed heterogeneous datasets.

Setup

This implementation is based on python==3.7. To run the code, you need the dependencies listed in requirement.txt

OAG DataSet

Our current experiments are conducted on Open Academic Graph on Computer Science field (OAG-CS). More information to how to download and preprocess OAG-CS dataset can be found in Data/ directory.

Usage

Execute cd MODEL; sh run_oag.sh to run 8 different zero-shot transfer learning tasks on the OAG-CS graph using KTN. The details of other optional hyperparameters can be found in args.py.

Citation

Please consider citing the following paper when using our code for your application.

@article{yoon2022zero,
  title={Zero-shot Domain Adaptation of Heterogeneous Graphs via Knowledge Transfer Networks},
  author={Yoon, Minji and Palowitch, John and Zelle, Dustin and Hu, Ziniu and Salakhutdinov, Ruslan and Perozzi, Bryan},
  journal={arXiv preprint arXiv:2203.02018},
  year={2022}
}

ktn's People

Contributors

minjiyoon avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

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.