arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1611.01702cs.CLcs.AIcs.LGstat.ML
收藏

TopicRNN:一个具有长距离语义依赖的循环神经网络

TopicRNN: A Recurrent Neural Network with Long-Range Semantic Dependency

Columbia University(哥伦比亚大学);Microsoft Research(微软研究院)

Adji B. Dieng, Chong Wang, Jianfeng Gao, John Paisley

摘要:

在本文中,我们提出了TopicRNN,一个基于循环神经网络(RNN)的语言模型,旨在通过潜在主题直接捕获文档中与单词相关的全局语义。由于它们的顺序性质,RNN擅长捕捉单词序列的局部结构-语义和句法-但可能难以记住长距离依赖关系。直观地说,这些长距离依赖关系是语义性质的。相比之下,潜在主题模型能够捕获文档的全局底层语义结构,但不考虑单词排序。所提出的TopicRNN模型集成了RNN和潜在主题模型的优点:它使用RNN捕获局部(语法)依赖关系,使用潜在主题捕获全局(语义)依赖关系。与以前的上下文RNN语言建模工作不同,我们的模型是端到端学习的。单词预测的实证结果表明,TopicRNN优于现有的上下文RNN基线。此外,TopicRNN可以用作文档的无监督特征提取器。我们这样做是为了对IMDB电影评论数据集进行情感分析,并报告出错率为$6.28\%$。这与半监督方法产生的最先进的$5.91\%$相当。最后,TopicRNN还产生了合理的主题,使其成为潜在Dirichlet分配等文档模型的有用替代品。

英文摘要:

In this paper, we propose TopicRNN, a recurrent neural network (RNN)-based language model designed to directly capture the global semantic meaning relating words in a document via latent topics. Because of their sequential nature, RNNs are good at capturing the local structure of a word sequence - both semantic and syntactic - but might face difficulty remembering long-range dependencies. Intuitively, these long-range dependencies are of semantic nature. In contrast, latent topic models are able to capture the global underlying semantic structure of a document but do not account for word ordering. The proposed TopicRNN model integrates the merits of RNNs and latent topic models: it captures local (syntactic) dependencies using an RNN and global (semantic) dependencies using latent topics. Unlike previous work on contextual RNN language modeling, our model is learned end-to-end. Empirical results on word prediction show that TopicRNN outperforms existing contextual RNN baselines. In addition, TopicRNN can be used as an unsupervised feature extractor for documents. We do this for sentiment analysis on the IMDB movie review dataset and report an error rate of $6.28\%$. This is comparable to the state-of-the-art $5.91\%$ resulting from a semi-supervised approach. Finally, TopicRNN also yields sensible topics, making it a useful alternative to document models such as latent Dirichlet allocation.

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

↑