CoVeR:使用张量分解学习协变量特定的向量表示
CoVeR: Learning Covariate-Specific Vector Representations with Tensor Decompositions
摘要:
词嵌入是一种在大型文本语料库中获取共现结构的有效方法。然而,除了文本数据本身之外,我们通常还有与单个语料库文档相关的其他协变量-例如作者的人口统计数据,出版时间和地点-我们希望嵌入能够自然地捕获这些信息。我们提出了CoVeR,一个新的张量分解模型的向量嵌入协变量。CoVeR联合学习所有单词的\emph{base}嵌入以及加权对角矩阵,以模拟每个协变量如何影响基础嵌入。例如,为了获得特定于作者或场所的嵌入,我们可以简单地将基础嵌入乘以相关的变换矩阵。我们的方法的主要优点是数据效率和协变量变换的可解释性。我们的实验表明,与仅使用相关数据子集为每个协变量学习单独嵌入的标准方法以及其他相关方法相比,我们的联合模型学习了更好的协变量特定嵌入。此外,CoVeR鼓励嵌入“主题对齐”,因为维度具有特定的独立含义。这使得我们的协变量特定嵌入可以按主题进行比较,从而实现下游差异分析。我们经验性地评估了我们的算法在数据集上的好处,并演示了它如何用于解决许多关于协变量效应的自然问题。本文附带的代码可以在http://github.com/kjtian/CoVeR上找到。
英文摘要:
Word embedding is a useful approach to capture co-occurrence structures in large text corpora. However, in addition to the text data itself, we often have additional covariates associated with individual corpus documents---e.g. the demographic of the author, time and venue of publication---and we would like the embedding to naturally capture this information. We propose CoVeR, a new tensor decomposition model for vector embeddings with covariates. CoVeR jointly learns a \emph{base} embedding for all the words as well as a weighted diagonal matrix to model how each covariate affects the base embedding. To obtain author or venue-specific embedding, for example, we can then simply multiply the base embedding by the associated transformation matrix. The main advantages of our approach are data efficiency and interpretability of the covariate transformation. Our experiments demonstrate that our joint model learns substantially better covariate-specific embeddings compared to the standard approach of learning a separate embedding for each covariate using only the relevant subset of data, as well as other related methods. Furthermore, CoVeR encourages the embeddings to be "topic-aligned" in that the dimensions have specific independent meanings. This allows our covariate-specific embeddings to be compared by topic, enabling downstream differential analysis. We empirically evaluate the benefits of our algorithm on datasets, and demonstrate how it can be used to address many natural questions about covariate effects. Accompanying code to this paper can be found at http://github.com/kjtian/CoVeR.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。