All Projects → nadgeri14 → KGPool

nadgeri14 / KGPool

Licence: MIT license
[ACL 2021] KGPool: Dynamic Knowledge Graph Context Selection for Relation Extraction

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to KGPool

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 (+75.76%)
Mutual labels:  knowledge-graph, relation-extraction
Casrel
A Novel Cascade Binary Tagging Framework for Relational Triple Extraction. Accepted by ACL 2020.
Stars: ✭ 329 (+896.97%)
Mutual labels:  knowledge-graph, relation-extraction
PathCon
Combining relational context and relational paths for knowledge graph completion
Stars: ✭ 29 (-12.12%)
Mutual labels:  knowledge-graph, graph-neural-networks
PathCon
Combining relational context and relational paths for knowledge graph completion
Stars: ✭ 94 (+184.85%)
Mutual labels:  knowledge-graph, graph-neural-networks
NBFNet
Official implementation of Neural Bellman-Ford Networks (NeurIPS 2021)
Stars: ✭ 106 (+221.21%)
Mutual labels:  knowledge-graph, graph-neural-networks
NMN
Source code and datasets for ACL 2020 paper: Neighborhood Matching Network for Entity Alignment.
Stars: ✭ 55 (+66.67%)
Mutual labels:  knowledge-graph, graph-neural-networks
Shukongdashi
使用知识图谱,自然语言处理,卷积神经网络等技术,基于python语言,设计了一个数控领域故障诊断专家系统
Stars: ✭ 109 (+230.3%)
Mutual labels:  knowledge-graph, relation-extraction
Knowledge Graph Learning
A curated list of awesome knowledge graph tutorials, projects and communities.
Stars: ✭ 516 (+1463.64%)
Mutual labels:  knowledge-graph, relation-extraction
Knowledge Graphs
A collection of research on knowledge graphs
Stars: ✭ 845 (+2460.61%)
Mutual labels:  knowledge-graph, relation-extraction
Deepke
基于深度学习的开源中文关系抽取框架
Stars: ✭ 525 (+1490.91%)
Mutual labels:  knowledge-graph, relation-extraction
Bert Attributeextraction
USING BERT FOR Attribute Extraction in KnowledgeGraph. fine-tuning and feature extraction. 使用基于bert的微调和特征提取方法来进行知识图谱百度百科人物词条属性抽取。
Stars: ✭ 224 (+578.79%)
Mutual labels:  knowledge-graph, relation-extraction
Bbw
Semantic annotator: Matching CSV to a Wikibase instance (e.g., Wikidata) via Meta-lookup
Stars: ✭ 42 (+27.27%)
Mutual labels:  knowledge-graph, relation-extraction
Agriculture knowledgegraph
农业知识图谱(AgriKG):农业领域的信息检索,命名实体识别,关系抽取,智能问答,辅助决策
Stars: ✭ 2,957 (+8860.61%)
Mutual labels:  knowledge-graph, relation-extraction
CoLAKE
COLING'2020: CoLAKE: Contextualized Language and Knowledge Embedding
Stars: ✭ 86 (+160.61%)
Mutual labels:  knowledge-graph
typedb
TypeDB: a strongly-typed database
Stars: ✭ 3,152 (+9451.52%)
Mutual labels:  knowledge-graph
graphchem
Graph-based machine learning for chemical property prediction
Stars: ✭ 21 (-36.36%)
Mutual labels:  graph-neural-networks
Representation Learning on Graphs with Jumping Knowledge Networks
Representation Learning on Graphs with Jumping Knowledge Networks
Stars: ✭ 31 (-6.06%)
Mutual labels:  graph-neural-networks
eeg-gcnn
Resources for the paper titled "EEG-GCNN: Augmenting Electroencephalogram-based Neurological Disease Diagnosis using a Domain-guided Graph Convolutional Neural Network". Accepted for publication (with an oral spotlight!) at ML4H Workshop, NeurIPS 2020.
Stars: ✭ 50 (+51.52%)
Mutual labels:  graph-neural-networks
gnn-lspe
Source code for GNN-LSPE (Graph Neural Networks with Learnable Structural and Positional Representations), ICLR 2022
Stars: ✭ 165 (+400%)
Mutual labels:  graph-neural-networks
GGNN Reasoning
PyTorch implementation for Graph Gated Neural Network (for Knowledge Graphs)
Stars: ✭ 34 (+3.03%)
Mutual labels:  knowledge-graph

KGPool: Dynamic Knowledge Graph Context Selection for Relation Extraction

This is an implementation of the paper KGPool: Dynamic Knowledge Graph Context Selection for Relation Extraction, ACL Findings 2021.

PWC

PWC

@inproceedings{nadgeri-etal-2021-kgpool,
    title = "{KGP}ool: Dynamic Knowledge Graph Context Selection for Relation Extraction",
    author = "Nadgeri, Abhishek  and
      Bastos, Anson  and
      Singh, Kuldeep  and
      Mulang{'}, Isaiah Onando  and
      Hoffart, Johannes  and
      Shekarpour, Saeedeh  and
      Saraswat, Vijay",
    booktitle = "Findings of the Association for Computational Linguistics: ACL-IJCNLP 2021",
    month = aug,
    year = "2021",
    address = "Online",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2021.findings-acl.48",
    doi = "10.18653/v1/2021.findings-acl.48",
    pages = "535--548",
}

alt tag

Acknowledgment

The Code base is built upon the following work -

Requirements

  • Python 3
  • torch>=1.8
  • torch-geometric>=1.8

Data

We use the same dataset and the entity attributes as used by the previous baseline RECON

Usage

First, download the datasets.

Train and evaluate the model:
(make sure Glove embeddings are ready before training)

wget http://nlp.stanford.edu/data/glove.6B.zip
unzip glove.6B.zip

Train

python Context-Aggregator/train.py

Testing

python Context-Aggregator/test.py

Directory structure

Context-Aggregator/: The same folder strucutre as that of GPGNN

KGPool/data_loader.py: Data pre-processing and gathering step.

KGPool/networks.py: Set the graph architecture.

KGPool/layers.py: Perform dynamic pooling on nodes.

Hyper Parameters

  • For Context-Aggregator we use the same hyper-parameters used by the baseline.
  • For KGPool we use the defualt params in Context-Aggregator/train.py.
  • No systematic hyper-parameter tunning was performed.
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].