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

结合卷积和递归网络的文本分类

Combine Convolution with Recurrent Networks for Text Classification

University of Science and Technique of China(中国科学技术大学)

Shengfei Lyu, Jiaqi Liu

摘要:

卷积神经网络(CNN)和递归神经网络(RNN)是文本分类中常用的两种结构。结合两个网络优势的传统方法依赖于简化它们或连接从它们中提取的特征。在本文中,我们提出了一种新的方法,以保持这两个网络的优势,在很大程度上。在该模型中,一个卷积神经网络被用来学习一个二维权重矩阵,其中每行从不同的方面反映每个词的重要性。同时,我们使用双向RNN来处理每个单词,并采用神经张量层融合前向和后向隐藏状态来获得单词表示。最后,将权重矩阵和词表示相结合,以获得文本的2D矩阵形式的表示。我们进行了大量的文本分类数据集上的实验。实验结果证实了该方法的有效性。

英文摘要:

Convolutional neural network (CNN) and recurrent neural network (RNN) are two popular architectures used in text classification. Traditional methods to combine the strengths of the two networks rely on streamlining them or concatenating features extracted from them. In this paper, we propose a novel method to keep the strengths of the two networks to a great extent. In the proposed model, a convolutional neural network is applied to learn a 2D weight matrix where each row reflects the importance of each word from different aspects. Meanwhile, we use a bi-directional RNN to process each word and employ a neural tensor layer that fuses forward and backward hidden states to get word representations. In the end, the weight matrix and word representations are combined to obtain the representation in a 2D matrix form for the text. We carry out experiments on a number of datasets for text classification. The experimental results confirm the effectiveness of the proposed method.

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

↑