arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2106.02562cs.CL
收藏

用于自然语言处理的混合层次结构循环神经网络

Recurrent Neural Networks with Mixed Hierarchical Structures for Natural Language Processing

Purdue University(普渡大学)

Zhaoxin Luo, Michael Zhu

摘要:

在语言学和自然语言处理(NLP)任务中都存在层次结构。如何设计RNN来学习自然语言的层次表示仍然是一个长期存在的挑战。在本文中,我们定义了两种不同类型的边界称为静态和动态边界,分别,然后使用它们来构建一个多层的层次结构的文档分类任务。特别是,我们专注于一个三层的层次结构与静态的单词和句子层和动态的短语层。使用LSTM单元和两个边界检测器来实现所提出的结构,并且由此产生的网络被称为具有混合分层结构的{ \em递归神经网络}(MHS-RNN)。我们进一步增加了三层的注意力机制的MHS-RNN模型。简化注意力机制使我们的模型能够使用更重要的内容来构建文档表示,并增强其在文档分类任务上的性能。在五个不同数据集上的实验表明,该架构在所有五个任务上都优于以前的方法。

英文摘要:

Hierarchical structures exist in both linguistics and Natural Language Processing (NLP) tasks. How to design RNNs to learn hierarchical representations of natural languages remains a long-standing challenge. In this paper, we define two different types of boundaries referred to as static and dynamic boundaries, respectively, and then use them to construct a multi-layer hierarchical structure for document classification tasks. In particular, we focus on a three-layer hierarchical structure with static word- and sentence- layers and a dynamic phrase-layer. LSTM cells and two boundary detectors are used to implement the proposed structure, and the resulting network is called the {\em Recurrent Neural Network with Mixed Hierarchical Structures} (MHS-RNN). We further add three layers of attention mechanisms to the MHS-RNN model. Incorporating attention mechanisms allows our model to use more important content to construct document representation and enhance its performance on document classification tasks. Experiments on five different datasets show that the proposed architecture outperforms previous methods on all the five tasks.

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

↑