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

句子和文档的分布式表示

Distributed Representations of Sentences and Documents

Google Inc(谷歌公司)

Quoc V. Le, Tomas Mikolov

摘要:

许多机器学习算法需要将输入表示为固定长度的特征向量。当涉及到文本时,最常见的固定长度特征之一是词袋。尽管词袋特征很受欢迎,但它们有两个主要缺点:它们失去了单词的顺序,并且它们也忽略了单词的语义。例如,“强大”、“强大”和“巴黎”是同样遥远的。在本文中,我们提出了段落向量,这是一种无监督的算法,可以从可变长度的文本(如句子,段落和文档)中学习固定长度的特征表示。我们的算法表示每个文件的密集向量,这是训练来预测文档中的单词。它的构造使我们的算法有可能克服词袋模型的弱点。实验结果表明,段落向量优于词袋模型以及其他技术的文本表示。最后,我们在几个文本分类和情感分析任务上取得了新的最先进的结果。

英文摘要:

Many machine learning algorithms require the input to be represented as a fixed-length feature vector. When it comes to texts, one of the most common fixed-length features is bag-of-words. Despite their popularity, bag-of-words features have two major weaknesses: they lose the ordering of the words and they also ignore semantics of the words. For example, "powerful," "strong" and "Paris" are equally distant. In this paper, we propose Paragraph Vector, an unsupervised algorithm that learns fixed-length feature representations from variable-length pieces of texts, such as sentences, paragraphs, and documents. Our algorithm represents each document by a dense vector which is trained to predict words in the document. Its construction gives our algorithm the potential to overcome the weaknesses of bag-of-words models. Empirical results show that Paragraph Vectors outperform bag-of-words models as well as other techniques for text representations. Finally, we achieve new state-of-the-art results on several text classification and sentiment analysis tasks.

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

↑