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

Leap-LSTM:增强文本分类的长短期记忆

Leap-LSTM: Enhancing Long Short-Term Memory for Text Categorization

Peking University(北京大学)

Ting Huang, Gehui Shen, Zhi-Hong Deng

摘要:

递归神经网络(RNN)广泛应用于自然语言处理(NLP)领域,从文本分类到问答和机器翻译。然而,RNN通常从头到尾阅读整个文本,有时反之亦然,这使得处理长文本的效率低下。当阅读一个分类任务(如主题分类)的长文档时,大量的单词是不相关的,可以跳过。为此,我们提出了Leap-LSTM,这是一种LSTM增强模型,它在阅读文本时动态地在单词之间跳跃。在每一步中,我们利用几个特征编码器从前面的文本,下面的文本和当前单词中提取信息,然后确定是否跳过当前单词。我们在几个文本分类任务上评估了Leap-LSTM:情感分析,新闻分类,本体分类和主题分类,使用五个基准数据集。实验结果表明,我们的模型比标准LSTM读取速度更快,预测效果更好。与以前的模型,也可以跳过的话,我们的模型实现了更好的性能和效率之间的权衡。

英文摘要:

Recurrent Neural Networks (RNNs) are widely used in the field of natural language processing (NLP), ranging from text categorization to question answering and machine translation. However, RNNs generally read the whole text from beginning to end or vice versa sometimes, which makes it inefficient to process long texts. When reading a long document for a categorization task, such as topic categorization, large quantities of words are irrelevant and can be skipped. To this end, we propose Leap-LSTM, an LSTM-enhanced model which dynamically leaps between words while reading texts. At each step, we utilize several feature encoders to extract messages from preceding texts, following texts and the current word, and then determine whether to skip the current word. We evaluate Leap-LSTM on several text categorization tasks: sentiment analysis, news categorization, ontology classification and topic classification, with five benchmark data sets. The experimental results show that our model reads faster and predicts better than standard LSTM. Compared to previous models which can also skip words, our model achieves better trade-offs between performance and efficiency.

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

↑