Describing a Knowledge Base

Qingyun Wang, Xiaoman Pan, Lifu Huang, Boliang Zhang, Zhiying Jiang +2 more
9/6/2018
cs.CLcs.LG
transformer-attention

Official code: EagleW/Describing_a_Knowledge_Base (52 stars, Python, MIT, PyTorch, last commit 2021-05-31).

Abstract

We aim to automatically generate natural language descriptions about an input structured knowledge base (KB). We build our generation framework based on a pointer network which can copy facts from the input KB, and add two attention mechanisms: (i) slot-aware attention to capture the association between a slot type and its corresponding slot value; and (ii) a new \emph{table position self-attention} to capture the inter-dependencies among related slots.

Show full abstract

For evaluation, besides standard metrics including BLEU, METEOR, and ROUGE, we propose a KB reconstruction based metric by extracting a KB from the generation output and comparing it with the input KB. We also create a new data set which includes 106,216 pairs of structured KBs and their corresponding natural language descriptions for two distinct entity types. Experiments show that our approach significantly outperforms state-of-the-art methods. The reconstructed KB achieves 68.8% - 72.6% F-score.

View on arXivView PDF

Code Implementations(1)

PyTorchMIT

Code for Describing a Knowledge Base

5228PythonSep 11, 20185 years agoMIT
attention-mechanismdata-to-textdatasetsdeep-learningend-to-end-learning+6 more

Similar Papers

Cite this paper

@article{wang2018describing,
  title  = {Describing a Knowledge Base},
  author = {Qingyun Wang and Xiaoman Pan and Lifu Huang and Boliang Zhang and Zhiying Jiang and Heng Ji and Kevin Knight},
  year   = {2018},
  eprint = {1809.01797},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1809.01797}
}

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/1809.01797.svg)](https://codeofpaper.com/paper/1809.01797)

Discussion