arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1611.00196cs.CL
收藏

循环神经网络语言模型自适应导出文档向量

Recurrent Neural Network Language Model Adaptation Derived Document Vector

HKUST(香港科技大学)

Wei Li, Brian Kan Wing Mak

摘要:

在许多自然语言处理(NLP)任务中,通常使用词频-逆文档频率(TF-IDF)向量将文档建模为词袋。基于频率的TF-IDF特征向量的一个主要缺点是它忽略了文档中单词之间的语法和语义关系的词序,并且它们在某些NLP任务中可能很重要,例如体裁分类。本文提出了一种新的分布式矢量表示的文件:一个简单的递归神经网络语言模型(RNN-LM)或长短期记忆RNN语言模型(LSTM-LM)首先创建的所有文件在一个任务中的LM参数,然后适应每个文件,和适应的参数向量化表示的文件。新的文档向量分别标记为DV-RNN和DV-LSTM。我们相信,我们的新的文档向量可以捕捉到一些高层次的顺序信息的文档,其他当前的文档表示无法捕捉。新的文档向量进行了评估,在体裁分类的文件在三个语料库:布朗语料库,BNC婴儿语料库和人工创建的Penn Treebank数据集。将它们的分类性能与TF-IDF向量和最新的段落向量分布式记忆模型(PV-DM)的分类性能进行了比较。结果表明,在大多数情况下,DV-LSTM的性能明显优于TF-IDF和PV-DM,并且所提出的文档向量与TF-IDF或PV-DM的组合可以进一步提高性能。

英文摘要:

In many natural language processing (NLP) tasks, a document is commonly modeled as a bag of words using the term frequency-inverse document frequency (TF-IDF) vector. One major shortcoming of the frequency-based TF-IDF feature vector is that it ignores word orders that carry syntactic and semantic relationships among the words in a document, and they can be important in some NLP tasks such as genre classification. This paper proposes a novel distributed vector representation of a document: a simple recurrent-neural-network language model (RNN-LM) or a long short-term memory RNN language model (LSTM-LM) is first created from all documents in a task; some of the LM parameters are then adapted by each document, and the adapted parameters are vectorized to represent the document. The new document vectors are labeled as DV-RNN and DV-LSTM respectively. We believe that our new document vectors can capture some high-level sequential information in the documents, which other current document representations fail to capture. The new document vectors were evaluated in the genre classification of documents in three corpora: the Brown Corpus, the BNC Baby Corpus and an artificially created Penn Treebank dataset. Their classification performances are compared with the performance of TF-IDF vector and the state-of-the-art distributed memory model of paragraph vector (PV-DM). The results show that DV-LSTM significantly outperforms TF-IDF and PV-DM in most cases, and combinations of the proposed document vectors with TF-IDF or PV-DM may further improve performance.

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

↑