HyperAIHyperAI

Command Palette

Search for a command to run...

5 months ago

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

Anthony Colas; Mehrdad Alvandipour; Daisy Zhe Wang

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

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

acolas1/GAP_COLING2022
Official
pytorch

Benchmarks

BenchmarkMethodologyMetrics
kg-to-text-generation-on-eventnarrativeGAP - Me,r+γ
BLEU: 35.08
BertScore: 93.38
METEOR: 27.5
ROUGE: 64.28
kg-to-text-generation-on-eventnarrativeT5
BLEU: 12.8
BertScore: 89.59
METEOR: 22.77
ROUGE: 52.06
kg-to-text-generation-on-eventnarrativeGAP - Me,re
BLEU: 34.02
METEOR: 26.93
ROUGE: 62.9
kg-to-text-generation-on-eventnarrativeJointGT
BLEU: 31.19
BertScore: 93.68
METEOR: 26.58
ROUGE: 64.91
kg-to-text-generation-on-eventnarrativeBART
BLEU: 31.38
BertScore: 93.12
METEOR: 26.68
ROUGE: 62.65
kg-to-text-generation-on-webnlg-2-0KGPT w/o pretrain
BLEU: 62.3
METEOR: 44.33
ROUGE: 73
kg-to-text-generation-on-webnlg-2-0JointGT (BART) - w/ JointGTPretrain
BLEU: 65.92
METEOR: 47.15
ROUGE: 76.1
kg-to-text-generation-on-webnlg-2-0JointGT (BART) - w/ BARTPretrain
BLEU: 64.6
METEOR: 46.77
ROUGE: 75.74
kg-to-text-generation-on-webnlg-2-0GAP - Me,re
ROUGE: 76.22
kg-to-text-generation-on-webnlg-2-0GAP - Me,r+γ
BLEU: 66.2
ROUGE: 76.36
kg-to-text-generation-on-webnlg-2-0GCN
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.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
GAP: A Graph-aware Language Model Framework for Knowledge Graph-to-Text Generation | Papers | HyperAI