arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2009.13282cs.CL
收藏

基于图的多跳推理的长文本生成

Graph-based Multi-hop Reasoning for Long Text Generation

Peking University(北京大学);Alibaba Group(阿里巴巴集团)

Liang Zhao, Jingjing Xu, Junyang Lin, Yichang Zhang, Hongxia Yang, Xu Sun

摘要:

长文本生成是一项重要而又具有挑战性的任务,其主要问题在于传统生成模型经常遇到的语义依赖问题。为了解决这个问题,我们提出了一个多跳推理生成(MRG)的方法,采用多跳推理的知识图谱学习句子之间的语义依赖关系。MRG由基于图的多跳推理模块和路径感知语句实现模块两部分组成。推理模块负责从知识图谱中寻找骨架路径,模仿人类书写中的想象过程,进行语义传递。基于所推断的路径,句子实现模块然后生成完整的句子。与以前的黑盒模型不同,MRG明确地推断骨架路径,这提供了解释性的视图来理解所提出的模型是如何工作的。我们在三个有代表性的任务上进行实验,包括故事生成,评论生成和产品描述生成。自动和手动评估表明,我们提出的方法可以生成比强基线(如预训练模型(如GPT-2)和知识增强模型)更具信息性和连贯性的长文本。

英文摘要:

Long text generation is an important but challenging task.The main problem lies in learning sentence-level semantic dependencies which traditional generative models often suffer from. To address this problem, we propose a Multi-hop Reasoning Generation (MRG) approach that incorporates multi-hop reasoning over a knowledge graph to learn semantic dependencies among sentences. MRG consists of twoparts, a graph-based multi-hop reasoning module and a path-aware sentence realization module. The reasoning module is responsible for searching skeleton paths from a knowledge graph to imitate the imagination process in the human writing for semantic transfer. Based on the inferred paths, the sentence realization module then generates a complete sentence. Unlike previous black-box models, MRG explicitly infers the skeleton path, which provides explanatory views tounderstand how the proposed model works. We conduct experiments on three representative tasks, including story generation, review generation, and product description generation. Automatic and manual evaluation show that our proposed method can generate more informative and coherentlong text than strong baselines, such as pre-trained models(e.g. GPT-2) and knowledge-enhanced models.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑