Coder Social home page Coder Social logo

otgnet's Introduction

OTGNet: Towards Open Temporal Graph Neural Networks (ICLR 2023)

Open Temporal Graph OTGNet

Introduction

This repository contains the code for paper: Towards Open Temporal Graph Neural Netwroks. This paper is accepted as ICLR 2023 notable-top-5% paper.

TL;DR: We propose a general and principled learning approach for open temporal graphs where the class set for nodes is open.

Setup

Clone the repo and build the environment

git clone https://github.com/tulerfeng/OTGNet.git
conda env create -f environment.yml
conda activate OTGNet

Dataset

Download raw data of three datasets and use the code in ./process_raw_data folder to process the raw data with GloVe

We also provide the processed datasets for direct use which could be downloaded at here.

Put the processed datasets in ./data folder

Training

Train model on the Reddit dataset

python run.py reddit

Train model on the Yelp dataset

python run.py yelp

Train model on the Taobao dataset

python run.py taobao

Acknowledgement

This implementation is based on code from several repositories.

Citation

If you find our repo, dataset or paper useful, please cite us as

@inproceedings{fengtowards,
  title={Towards Open Temporal Graph Neural Networks},
  author={Feng, Kaituo and Li, Changsheng and Zhang, Xiaolu and ZHOU, JUN},
  booktitle={International Conference on Learning Representations}
}

License

All code within this repository is under Apache License 2.0.

otgnet's People

Contributors

tulerfeng avatar

Stargazers

bingreeky avatar  avatar  avatar WYZ avatar  avatar FHhui avatar  avatar wangz3066 avatar  avatar Gong Zheng avatar Wang Rong avatar  avatar Liane WANG avatar Afrouz Sheikholeslami avatar  avatar  avatar Junfei Wu avatar Heloísa Oss Boll avatar Daniel avatar Ming | Gary Ang avatar shawn_dm avatar Chaoxi Niu avatar LOU Chaoli avatar Haotian Mi avatar  avatar  avatar  avatar Fried Chicken avatar  avatar Enlightment avatar  avatar zzm avatar  avatar

Watchers

Kostas Georgiou avatar  avatar

otgnet's Issues

Request for Baseline Code or Data Processing Method Due to Divergent Training Data Format

Dear Feng,

I've noticed your repository's training data format uniquely diverges from the common ['u', 'i', 'ts', 'label', 'idx'] structure used in temporal graph benchmarks, particularly with distinct labels for src and dst nodes. Could you share insights or provide baseline code on adapting this format for standard methods? Your guidance would greatly enhance our ability to align our research with your innovative framework.

Thank you for considering my request. I look forward to your response.

Best regards,

Liane

Can not reproduce you result, the seed is just a lier? (75%AP on Yelp dataset)

Open dynamic graph is an exciting job, and I appreciate your contributions. However, the code is hard to follow, and the most concerning issue is the irreproducibility of results. The author claims to have achieved 83.78% AP and 4.98% AF on the Yelp dataset, but despite many attempts with different random seeds, I could not reproduce these results. In most cases, I could not achieve even 75% AP, with AF greater than 10.

I have two concerns for the author:

  1. Please disclose the seed used for the experiments. Despite reading the entire article, I could not find any information about the seed. If the seed has such a significant impact on the experimental results, it is crucial for the author to disclose the seed.

  2. I set the seed value to 1 to test whether consistent results could be obtained under the same seed. Unfortunately, the results varied by up to 10 percentage points under the same seed. I hope the author can explain whether the seed set in the code is reliable, or it just a lier?

This work was published in ICLR and I hold the author in high regard, as this work is supposed to be solid. However, if the author cannot address the issues I have raised, I will be concerned.

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.