具有顺序和语义一致性的文本控制知识图谱生成
Syntax Controlled Knowledge Graph-to-Text Generation with Order and Semantic Consistency
摘要:
知识图谱(KG)存储了大量的结构化知识,但不容易被人类直接理解。知识图谱到文本(KG-to-text)生成旨在从知识图谱生成易于理解的句子,同时保持生成的句子与知识图谱之间的语义一致性。现有的KG到文本生成方法将该任务描述为以线性化KG作为输入的序列到序列生成任务,并通过在每个时间步处解码句子词和KG节点词之间的简单选择来考虑生成的文本和KG的一致性问题。然而,线性化KG顺序通常通过启发式搜索获得,而没有数据驱动的优化。本文在从字幕中提取的顺序监督下优化知识描述顺序预测,并通过句法和语义正则化进一步增强生成句子与KG的一致性。我们将部分的语音(POS)的句法标签,以限制的位置,从KG复制单词,并采用语义上下文评分功能,以评估每个单词在其本地上下文的语义适合度时,解码生成的句子中的每个单词。在WebNLG和DART两个数据集上进行了大量的实验,并达到了最先进的性能。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。