GAP: A Graph-aware Language Model Framework for Knowledge Graph-to-Text Generation

Anthony Colas, Mehrdad Alvandipour, Daisy Zhe Wang
4/13/2022
cs.CL

Official code: acolas1/GAP_COLING2022 (18 stars, Python, last commit 2023-04-28).

Abstract

Recent improvements in KG-to-text generation are due to additional auxiliary pre-training tasks designed to give the fine-tune task a boost in performance. These tasks require extensive computational resources while only suggesting marginal improvements.

Show full abstract

Here, we demonstrate that by fusing graph-aware elements into existing pre-trained language models, we are able to outperform state-of-the-art models and close the gap imposed by additional pre-training tasks. We do so by proposing a mask structure to capture neighborhood information and a novel type encoder that adds a bias to the graph-attention weights depending on the connection type. Experiments on two KG-to-text benchmark datasets show our models are competitive while involving fewer parameters and no additional pre-training tasks. By formulating the problem as a framework, we can interchange the various proposed components and begin interpreting KG-to-text generative models based on the topological and type information found in a graph.

View on arXivView PDF

Code Implementations(1)

181Python, ShellDec 6, 20223 years ago

Similar Papers

Cite this paper

@article{colas2022gap,
  title  = {GAP: A Graph-aware Language Model Framework for Knowledge Graph-to-Text Generation},
  author = {Anthony Colas and Mehrdad Alvandipour and Daisy Zhe Wang},
  year   = {2022},
  eprint = {2204.06674},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2204.06674}
}

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

Discussion