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

一种改进的tf-idf加权文档向量嵌入算法

Improving a tf-idf weighted document vector embedding

TripAdvisor, Inc.(猫途鹰公司(TripAdvisor, Inc.))

Craig W. Schmidt

摘要:

我们研究了一些方法来计算一个密集的向量嵌入语料库中的文档,给定一组词向量,如word 2 vec或GloVe。我们描述了两种方法,可以提高一个简单的加权和,这是最佳的意义上说,他们最大限度地提高了一个特定的加权余弦相似性度量。我们考虑了几个加权函数,包括逆文档频率(idf),平滑逆频率(SIF),以及word 2 vec中使用的子采样函数。我们发现idf最适合我们的应用。我们还使用Arora等人提出的公共组件删除作为后处理,并发现它在大多数情况下是有用的。我们将这些嵌入变化与使用TripAdvisor评论的新评估任务上的doc 2 vec嵌入进行了比较,并对文献中的CQADupStack基准进行了比较。

英文摘要:

We examine a number of methods to compute a dense vector embedding for a document in a corpus, given a set of word vectors such as those from word2vec or GloVe. We describe two methods that can improve upon a simple weighted sum, that are optimal in the sense that they maximizes a particular weighted cosine similarity measure. We consider several weighting functions, including inverse document frequency (idf), smooth inverse frequency (SIF), and the sub-sampling function used in word2vec. We find that idf works best for our applications. We also use common component removal proposed by Arora et al. as a post-process and find it is helpful in most cases. We compare these embeddings variations to the doc2vec embedding on a new evaluation task using TripAdvisor reviews, and also on the CQADupStack benchmark from the literature.

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

↑