As a natural language generation task, it is challenging to generate informative and coherent review text. In order to enhance the informativeness of the generated text, existing solutions typically learn to copy entities or triples from knowledge graphs (KGs). However, they lack overall consideration to select and arrange the incorporated knowledge, which tends to cause text incoherence. To address the above issue, we focus on improving entity-centric coherence of the generated reviews by leveraging the semantic structure of KGs. In this paper, we propose a novel Coherence Enhanced Text Planning model (CETP) based on knowledge graphs (KGs) to improve both global and local coherence for review generation. The proposed model learns a two-level text plan for generating a document: (1) the document plan is modeled as a sequence of sentence plans in order, and (2) the sentence plan is modeled as an entity-based subgraph from KG. Local coherence can be naturally enforced by KG subgraphs through intra-sentence correlations between entities. For global coherence, we design a hierarchical self-attentive architecture with both subgraph- and node-level attention to enhance the correlations between subgraphs. To our knowledge, we are the first to utilize a KG-based text planning model to enhance text coherence for review generation. Extensive experiments on three datasets confirm the effectiveness of our model on improving the content coherence of generated texts.
翻译:作为一项自然语言生成任务,生成信息丰富和一致的审查文本是一项艰巨的任务。为了提高生成文本的信息性,现有解决方案通常会学习复制实体,或从知识图表(KGs)中获取三倍内容。然而,它们缺乏选择和安排集成知识的总体考虑,往往造成文本不一致。为了解决上述问题,我们侧重于通过利用KGs语义结构来改进以实体为中心的审查的一致性。在本文件中,我们提议基于知识图表的新颖的“一致性增强文本规划模型”改进了全球和地方的生成一致性。拟议的模型学习了生成文件的双层次文本计划:(1)文件计划是按句子计划顺序建模的,(2) 句子计划是按KGs基于实体的子座标来建模。本地一致性可以自然地由KG子谱通过实体之间的建模相关性来实施。为了全球一致性,我们设计了一种等级自强型结构,其子词组和本地调调调调调,我们首先关注了子组和本地调调调调调调调的文本。我们利用了三层文本来增强生成的文本之间的关联性。