Command Palette
Search for a command to run...
GAP: A Graph-aware Language Model Framework for Knowledge Graph-to-Text Generation
Anthony Colas; Mehrdad Alvandipour; Daisy Zhe Wang

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. 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.
Code Repositories
Benchmarks
| Benchmark | Methodology | Metrics |
|---|---|---|
| kg-to-text-generation-on-eventnarrative | GAP - Me,r+γ | BLEU: 35.08 BertScore: 93.38 METEOR: 27.5 ROUGE: 64.28 |
| kg-to-text-generation-on-eventnarrative | T5 | BLEU: 12.8 BertScore: 89.59 METEOR: 22.77 ROUGE: 52.06 |
| kg-to-text-generation-on-eventnarrative | GAP - Me,re | BLEU: 34.02 METEOR: 26.93 ROUGE: 62.9 |
| kg-to-text-generation-on-eventnarrative | JointGT | BLEU: 31.19 BertScore: 93.68 METEOR: 26.58 ROUGE: 64.91 |
| kg-to-text-generation-on-eventnarrative | BART | BLEU: 31.38 BertScore: 93.12 METEOR: 26.68 ROUGE: 62.65 |
| kg-to-text-generation-on-webnlg-2-0 | KGPT w/o pretrain | BLEU: 62.3 METEOR: 44.33 ROUGE: 73 |
| kg-to-text-generation-on-webnlg-2-0 | JointGT (BART) - w/ JointGTPretrain | BLEU: 65.92 METEOR: 47.15 ROUGE: 76.1 |
| kg-to-text-generation-on-webnlg-2-0 | JointGT (BART) - w/ BARTPretrain | BLEU: 64.6 METEOR: 46.77 ROUGE: 75.74 |
| kg-to-text-generation-on-webnlg-2-0 | GAP - Me,re | ROUGE: 76.22 |
| kg-to-text-generation-on-webnlg-2-0 | GAP - Me,r+γ | BLEU: 66.2 ROUGE: 76.36 |
| kg-to-text-generation-on-webnlg-2-0 | GCN | BLEU: 60.8 METEOR: 42.76 ROUGE: 71.13 |
Build AI with AI
From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.