All Projects → StephanieWyt → NMN

StephanieWyt / NMN

Licence: other
Source code and datasets for ACL 2020 paper: Neighborhood Matching Network for Entity Alignment.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to NMN

HyperKA
Knowledge Association with Hyperbolic Knowledge Graph Embeddings, EMNLP 2020
Stars: ✭ 27 (-50.91%)
Mutual labels:  knowledge-graph, entity-alignment
KGPool
[ACL 2021] KGPool: Dynamic Knowledge Graph Context Selection for Relation Extraction
Stars: ✭ 33 (-40%)
Mutual labels:  knowledge-graph, graph-neural-networks
PathCon
Combining relational context and relational paths for knowledge graph completion
Stars: ✭ 94 (+70.91%)
Mutual labels:  knowledge-graph, graph-neural-networks
industry-eval-EA
An Industry Evaluation of Embedding-based Entity Alignment @ COLING'20
Stars: ✭ 19 (-65.45%)
Mutual labels:  knowledge-graph, entity-alignment
NBFNet
Official implementation of Neural Bellman-Ford Networks (NeurIPS 2021)
Stars: ✭ 106 (+92.73%)
Mutual labels:  knowledge-graph, graph-neural-networks
PathCon
Combining relational context and relational paths for knowledge graph completion
Stars: ✭ 29 (-47.27%)
Mutual labels:  knowledge-graph, graph-neural-networks
ke-dialogue
KE-Dialogue: Injecting knowledge graph into a fully end-to-end dialogue system.
Stars: ✭ 39 (-29.09%)
Mutual labels:  knowledge-graph
DIN-Group-Activity-Recognition-Benchmark
A new codebase for Group Activity Recognition. It contains codes for ICCV 2021 paper: Spatio-Temporal Dynamic Inference Network for Group Activity Recognition and some other methods.
Stars: ✭ 26 (-52.73%)
Mutual labels:  graph-neural-networks
PheKnowLator
PheKnowLator: Heterogeneous Biomedical Knowledge Graphs and Benchmarks Constructed Under Alternative Semantic Models
Stars: ✭ 74 (+34.55%)
Mutual labels:  knowledge-graph
Knowledge Graph based Intent Network
Learning Intents behind Interactions with Knowledge Graph for Recommendation, WWW2021
Stars: ✭ 116 (+110.91%)
Mutual labels:  knowledge-graph
LinkedDataHub
The Knowledge Graph notebook. Apache license.
Stars: ✭ 150 (+172.73%)
Mutual labels:  knowledge-graph
Interstellar
Interstellar: Searching Recurrent Architecture for Knowledge Graph Embedding. NeurIPS 2020.
Stars: ✭ 28 (-49.09%)
Mutual labels:  knowledge-graph
DiGCN
Implement of DiGCN, NeurIPS-2020
Stars: ✭ 25 (-54.55%)
Mutual labels:  graph-neural-networks
KNET
Neural Entity Typing with Knowledge Attention
Stars: ✭ 65 (+18.18%)
Mutual labels:  knowledge-graph
sage
An Open Source Knowledge Graph written in Rust
Stars: ✭ 12 (-78.18%)
Mutual labels:  knowledge-graph
bangle-io
A web only WYSIWYG note taking app that saves notes locally in markdown format.
Stars: ✭ 626 (+1038.18%)
Mutual labels:  knowledge-graph
knowledge-graph-nlp-in-action
从模型训练到部署,实战知识图谱(Knowledge Graph)&自然语言处理(NLP)。涉及 Tensorflow, Bert+Bi-LSTM+CRF,Neo4j等 涵盖 Named Entity Recognition,Text Classify,Information Extraction,Relation Extraction 等任务。
Stars: ✭ 58 (+5.45%)
Mutual labels:  knowledge-graph
LME
Neural Entity Typing with Language Model Enhancement
Stars: ✭ 21 (-61.82%)
Mutual labels:  knowledge-graph
mtad-gat-pytorch
PyTorch implementation of MTAD-GAT (Multivariate Time-Series Anomaly Detection via Graph Attention Networks) by Zhao et. al (2020, https://arxiv.org/abs/2009.02040).
Stars: ✭ 85 (+54.55%)
Mutual labels:  graph-neural-networks
DataReused
Get Data Reused
Stars: ✭ 22 (-60%)
Mutual labels:  knowledge-graph

NMN

Source code and datasets for ACL 2020 paper: Neighborhood Matching Network for Entity Alignment.

Datasets

Please first download the datasets here and extract them into data/ directory.

Initial datasets DBP15K and DWY100K are from JAPE and BootEA.

Take the dataset DBP15K (ZH-EN) as an example, the folder "zh_en" contains:

  • 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 (DBP_ZH);
  • triples_1_s: remaining relation triples encoded by ids in source KG (S-DBP_ZH);
  • triples_2: relation triples encoded by ids in target KG (DBP_EN);
  • triples_2_s: remaining relation triples encoded by ids in target KG (S-DBP_EN);
  • vectorList.json: the input entity feature matrix initialized by word vectors;

Environment

  • Python>=3.5
  • Tensorflow>=1.8.0
  • Scipy
  • Numpy

Due to the limited graphics memory of GPU, we ran our codes using CPUs (40 Intel(R) Xeon(R) CPU E5-2640 v4 @ 2.40GHz).

Running

For example, to run NMN on DBP15K (ZH-EN), use the following script:

python3 main.py --dataset DBP15k --lang zh_en

Due to the instability of embedding-based methods, it is acceptable that the results fluctuate a little bit (±1%) when running code repeatedly.

If you have any difficulty or question in running code and reproducing expriment results, please email to [email protected].

Citation

If you use this model or code, please cite it as follows:

Yuting Wu, Xiao Liu, Yansong Feng, Zheng Wang and Dongyan Zhao. Neighborhood Matching Network for Entity Alignment. In: ACL 2020.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].