Contextual Graph Attention for Answering Logical Queries over Incomplete Knowledge Graphs

Gengchen Mai, Krzysztof Janowicz, Bo Yan, Rui Zhu, Ling Cai +1 more
9/30/2019
20 citations
cs.LGcs.AIcs.CL
transformer-attention

Official code: gengchenmai/Attention_GraphQA (0 stars, last commit 2020-07-01).

Abstract

Recently, several studies have explored methods for using KG embedding to answer logical queries. These approaches either treat embedding learning and query answering as two separated learning tasks, or fail to deal with the variability of contributions from different query paths.

Show full abstract

We proposed to leverage a graph attention mechanism to handle the unequal contribution of different query paths. However, commonly used graph attention assumes that the center node embedding is provided, which is unavailable in this task since the center node is to be predicted. To solve this problem we propose a multi-head attention-based end-to-end logical query answering model, called Contextual Graph Attention model(CGA), which uses an initial neighborhood aggregation layer to generate the center embedding, and the whole model is trained jointly on the original KG structure as well as the sampled query-answer pairs. We also introduce two new datasets, DB18 and WikiGeo19, which are rather large in size compared to the existing datasets and contain many more relation types, and use them to evaluate the performance of the proposed model. Our result shows that the proposed CGA with fewer learnable parameters consistently outperforms the baseline models on both datasets as well as Bio dataset.

View on arXivView PDF

Code Implementations(1)

Gengchen Mai, Krzysztof Janowicz, Bo Yan, Rui Zhu, Ling Cai, Ni Lao. Contextual Graph Attention forAnswering Logical Queries over Incomplete Knowledge Graphs, In:Proceedings of K-CAP 2019, Nov. 19 - 21,2019, Marina del Rey, CA, USA. https://dl.acm.org/doi/10.1145/3360901.3364432

00Sep 27, 20196 years ago

Similar Papers

Cite this paper

@article{mai2019contextual,
  title  = {Contextual Graph Attention for Answering Logical Queries over Incomplete Knowledge Graphs},
  author = {Gengchen Mai and Krzysztof Janowicz and Bo Yan and Rui Zhu and Ling Cai and Ni Lao},
  year   = {2019},
  eprint = {1910.00084},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1910.00084}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1910.00084.svg)](https://codeofpaper.com/paper/1910.00084)

Discussion