Git Product home page Git Product logo

htgn's Introduction

1. Overview

PyTorch Implementation for "Discrete-time Temporal Network Embedding via Implicit Hierarchical Learning in Hyperbolic Space (KDD2021)"

Authors: Menglin Yang; Min Zhou; Marcus Kalander; Zengfeng Huang; Irwin King

Paper: https://arxiv.org/pdf/2107.03767.pdf

Code: https://github.com/marlin-codes/HTGN

Framework of HTGN

2. Setup

2.1 Environment

pip install -r requirements.txt

2.2 Datasets

The data is cached in ./data/input/cached. The raw datasets are in the folder ./data/input/raw

Note:

3. Examples

3.0 Go to the script at first

cd ./script

3.1 To quickly run the code:

python main.py --model=HTGN --dataset=enron10

3.2 To run more examples about HTGN, static method, run the following

bash example/run_htgn.sh
bash example/run_static.sh
bash example/run_grugcn.sh

3.3 To run DySAT, please refer to DySAT;

3.4 To run EvolveGCN, please refer to EvolveGCN or run the file bash example/run_evolvegcn.sh;

3.5 To run VGRNN, please refer to VGRNN;

Note: for a unified comparison, we use inner product as decoder for the baseline models.

4. Some of the code was forked from the following repositories

5. Reference

[1] Discrete-time Temporal Network Embedding via Implicit Hierarchical Learning in Hyperbolic Space.

[2] Evolvegcn: Evolving graph convolutional networks for dynamic graphs.

[3] Variational graph recurrent neural networks.

[4] DySAT: Deep neural representation learning on dynamic graphs via self-attention networks

6. Citation

If you find this code useful, please cite the following paper:

@inproceedings{yang2021discrete,
  title={Discrete-time Temporal Network Embedding via Implicit Hierarchical Learning in Hyperbolic Space},
  author={Yang, Menglin and Zhou, Min and Kalander, Marcus and Huang, Zengfeng and King, Irwin},
  booktitle={Proceedings of the 27th ACM SIGKDD Conference on Knowledge Discovery \& Data Mining},
  pages={1975--1985},
  year={2021}
}

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.