Coder Social home page Coder Social logo

tea-gnn's Introduction

Enviroment

Anaconda>=4.3.30 Python>=3.5 Keras>=2.2.4 Tensorflow>=1.13.1 Scipy Numpy

Datasets

Datasets include ICEWS05-15, YAGO-WIKI20K, YAGO-WIKI50K.

ent_ids_1: ids for entities in source KG;
ent_ids_2: ids for entities in target KG;
ref_ent_ids: entity links encoded by ids;
triples_1: relation triples encoded by ids in source KG;
triples_2: relation triples encoded by ids in target KG;
rel_ids_1: ids for entities in source KG;
rel_ids_2: ids for entities in target KG;
sup_pairs + ref_pairs: entity alignments

Usage:

To reproduce the reported results of our models, use the following command:

python main.py --data ICEWS05-15 --seed 200 --gamma 3 --dim 100

'seed' denotes the number of pre-aligned entity pairs 'gamma' denotes the margin used in the loss function 'dim' denotes the embedding dimension

Please refer to the hyperparamters listed in the paper for reproducing the reported results. Since TEA-GNN significantly outperforms other baseline models, it is acceptable that the results fluctuate a little bit (±1%) when running code repeatedly due to the instability of embedding-based methods.

License

TEA-GNN is CC-BY-NC licensed, as found in the LICENSE file.

Acknowledgement

We refer to the code of RREA. Thanks for their great contributions!

Citation

If you use the codes, please cite the following paper:

    @inproceedings{TEAGNN,
        title = "Time-aware Graph Neural Network for Entity Alignment between Temporal Knowledge Graphs",
        author = "Xu, Chengjin  and
          Su, Fenglong  and
          Lehmann, Jens",
        booktitle = "Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing",
        month = nov,
        year = "2021",
        address = "Online and Punta Cana, Dominican Republic",
        publisher = "Association for Computational Linguistics",
        url = "https://aclanthology.org/2021.emnlp-main.709",
        doi = "10.18653/v1/2021.emnlp-main.709",
        pages = "8999--9010",
    }

tea-gnn's People

Contributors

soledad921 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.