Syntax Controlled Knowledge Graph-to-Text Generation with Order and Semantic Consistency

Jin Liu, Chongfeng Fan, Fengyu Zhou, Huijuan Xu
7/2/2022
cs.AI

No official code found. Best implementation: LemonQC/KG2Text (4 stars, Apache-2.0, last commit 2022-11-16).

Abstract

The knowledge graph (KG) stores a large amount of structural knowledge, while it is not easy for direct human understanding. Knowledge graph-to-text (KG-to-text) generation aims to generate easy-to-understand sentences from the KG, and at the same time, maintains semantic consistency between generated sentences and the KG. Existing KG-to-text generation methods phrase this task as a sequence-to-sequence generation task with linearized KG as input and consider the consistency issue of the generated texts and KG through a simple selection between decoded sentence word and KG node word at each time step. However, the linearized KG order is commonly obtained through a heuristic search without data-driven optimization. In this paper, we optimize the knowledge description order prediction under the order supervision extracted from the caption and further enhance the consistency of the generated sentences and KG through syntactic and semantic regularization. We incorporate the Part-of-Speech (POS) syntactic tags to constrain the positions to copy words from the KG and employ a semantic context scoring function to evaluate the semantic fitness for each word in its local context when decoding each word in the generated sentence. Extensive experiments are conducted on two datasets, WebNLG and DART, and achieve state-of-the-art performances.

View on arXivView PDF

Code Implementations(1)

LemonQC/KG2TextCommunity100%
Apache-2.0

KG--->Text

41Perl, RubyOct 25, 20213 years agoApache-2.0

Similar Papers

Cite this paper

@article{liu2022syntax,
  title  = {Syntax Controlled Knowledge Graph-to-Text Generation with Order and Semantic Consistency},
  author = {Jin Liu and Chongfeng Fan and Fengyu Zhou and Huijuan Xu},
  year   = {2022},
  eprint = {2207.00719},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2207.00719v1}
}

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

Discussion