arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1907.06142cs.CLcs.LG
收藏

用图递归网络解决图NLP问题

Tackling Graphical NLP problems with Graph Recurrent Networks

University of Rochester(罗切斯特大学)

Linfeng Song

摘要:

如何正确地对图进行建模是自然语言处理领域中一个长期存在的重要问题,其中几种流行的图类型是知识图谱、语义图和依赖图。与其他数据结构(如序列和树)相比,图通常在表示实体之间的复杂相关性方面更强大。例如,知识图谱存储真实词实体(诸如“Barack_Obama”和“U.S.)及其关系(例如“live_in”和“lead_by”)。正确地编码知识图谱有利于用户应用,例如问答和知识发现。对图进行建模也非常具有挑战性,可能是因为图通常包含大量和循环的关系。近年来,深度学习,特别是基于RNN的模型,在许多NLP问题上取得了成功。此外,RNN及其变体在一些图问题上得到了广泛的研究,并取得了初步的成功。尽管已经取得了成功,但基于RNN的模型在图上存在几个主要缺点。首先,它们只能消耗序列数据,因此需要线性化来序列化输入图,导致重要的结构信息丢失。其次,序列化结果通常很长,因此RNN需要很长时间对其进行编码。在这篇论文中,我们提出了一个新的图神经网络,命名为图递归网络(GRN)。我们研究了我们的GRN模型在4个非常不同的任务,如机器阅读理解,关系抽取和机器翻译。一些图没有边标签,而另一些有向图有边标签。为了考虑这些重要的差异,我们逐渐增强了我们的GRN模型,例如进一步考虑边缘标签和添加RNN解码器。精心设计的实验表明GRN在所有这些任务上的有效性。

英文摘要:

How to properly model graphs is a long-existing and important problem in NLP area, where several popular types of graphs are knowledge graphs, semantic graphs and dependency graphs. Comparing with other data structures, such as sequences and trees, graphs are generally more powerful in representing complex correlations among entities. For example, a knowledge graph stores real-word entities (such as "Barack_Obama" and "U.S.") and their relations (such as "live_in" and "lead_by"). Properly encoding a knowledge graph is beneficial to user applications, such as question answering and knowledge discovery. Modeling graphs is also very challenging, probably because graphs usually contain massive and cyclic relations. Recent years have witnessed the success of deep learning, especially RNN-based models, on many NLP problems. Besides, RNNs and their variations have been extensively studied on several graph problems and showed preliminary successes. Despite the successes that have been achieved, RNN-based models suffer from several major drawbacks on graphs. First, they can only consume sequential data, thus linearization is required to serialize input graphs, resulting in the loss of important structural information. Second, the serialization results are usually very long, so it takes a long time for RNNs to encode them. In this thesis, we propose a novel graph neural network, named graph recurrent network (GRN). We study our GRN model on 4 very different tasks, such as machine reading comprehension, relation extraction and machine translation. Some take undirected graphs without edge labels, while the others have directed ones with edge labels. To consider these important differences, we gradually enhance our GRN model, such as further considering edge labels and adding an RNN decoder. Carefully designed experiments show the effectiveness of GRN on all these tasks.

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

↑