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

局部聚集词嵌入向量(VLAWE):一种新的文档级表示

Vector of Locally-Aggregated Word Embeddings (VLAWE): A Novel Document-level Representation

University of Bucharest(布加勒斯特大学)

Radu Tudor Ionescu, Andrei M. Butnaru

摘要:

在本文中,我们提出了一种新的表示文本文档的基础上聚合词嵌入向量到文档嵌入。我们的方法的灵感来自于用于图像表示的局部聚集描述符向量,它的工作原理如下。首先,从文档集合中收集的词嵌入通过k均值聚类,以学习语义相关的词嵌入的码本。然后,每个词嵌入与其最近的聚类质心(码字)相关联。然后,通过累加每个码字向量和与相应码字相关联的每个词向量(来自文档)之间的差来计算文档的局部聚集词嵌入向量(VLAWE)表示。我们将以无监督方式学习的VLAWE表示插入到分类器中,并表明它对各种文本分类任务都很有用。我们将我们的方法与最近广泛的最先进的方法进行比较,证明了我们方法的有效性。此外,我们在Movie Review数据集上获得了相当大的改进,报告的准确率为93.3%,比最先进的方法绝对提高了10%。我们的代码可在https://github.com/raduionescu/vlawe-boswe/上获得。

英文摘要:

In this paper, we propose a novel representation for text documents based on aggregating word embedding vectors into document embeddings. Our approach is inspired by the Vector of Locally-Aggregated Descriptors used for image representation, and it works as follows. First, the word embeddings gathered from a collection of documents are clustered by k-means in order to learn a codebook of semnatically-related word embeddings. Each word embedding is then associated to its nearest cluster centroid (codeword). The Vector of Locally-Aggregated Word Embeddings (VLAWE) representation of a document is then computed by accumulating the differences between each codeword vector and each word vector (from the document) associated to the respective codeword. We plug the VLAWE representation, which is learned in an unsupervised manner, into a classifier and show that it is useful for a diverse set of text classification tasks. We compare our approach with a broad range of recent state-of-the-art methods, demonstrating the effectiveness of our approach. Furthermore, we obtain a considerable improvement on the Movie Review data set, reporting an accuracy of 93.3%, which represents an absolute gain of 10% over the state-of-the-art approach. Our code is available at https://github.com/raduionescu/vlawe-boswe/.

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

↑