SOTAVerified

JointGT: Graph-Text Joint Representation Learning for Text Generation from Knowledge Graphs

2021-06-19Findings (ACL) 2021Code Available1· sign in to hype

Pei Ke, Haozhe Ji, Yu Ran, Xin Cui, LiWei Wang, Linfeng Song, Xiaoyan Zhu, Minlie Huang

Code Available — Be the first to reproduce this paper.

Reproduce

Code

Abstract

Existing pre-trained models for knowledge-graph-to-text (KG-to-text) generation simply fine-tune text-to-text pre-trained models such as BART or T5 on KG-to-text datasets, which largely ignore the graph structure during encoding and lack elaborate pre-training tasks to explicitly model graph-text alignments. To tackle these problems, we propose a graph-text joint representation learning model called JointGT. During encoding, we devise a structure-aware semantic aggregation module which is plugged into each Transformer layer to preserve the graph structure. Furthermore, we propose three new pre-training tasks to explicitly enhance the graph-text alignment including respective text / graph reconstruction, and graph-text alignment in the embedding space via Optimal Transport. Experiments show that JointGT obtains new state-of-the-art performance on various KG-to-text datasets.

Tasks

Benchmark Results

DatasetModelMetricClaimedVerifiedStatus
PathQuestionJointGT (BART)BLEU65.89Unverified
PathQuestionT5BLEU58.95Unverified
PathQuestionJointGT (T5)BLEU60.45Unverified
PathQuestionBARTBLEU63.74Unverified
WebNLG 2.0 (Constrained)BARTBLEU56.65Unverified
WebNLG 2.0 (Constrained)JointGT (T5)BLEU61.01Unverified
WebNLG 2.0 (Constrained)T5BLEU58.66Unverified
WebNLG 2.0 (Constrained)JointGT (BART)BLEU58.55Unverified
WebNLG 2.0 (Unconstrained)JointGT (BART)BLEU65.92Unverified
WebNLG 2.0 (Unconstrained)JointGT (T5)BLEU66.14Unverified
WebNLG 2.0 (Unconstrained)T5BLEU64.42Unverified
WebNLG 2.0 (Unconstrained)BARTBLEU64.55Unverified
WebQuestionsJointGT (BART)BLEU30.02Unverified
WebQuestionsT5BLEU28.78Unverified
WebQuestionsBARTBLEU29.61Unverified
WebQuestionsJointGT (T5)BLEU28.95Unverified

Reproductions