张量空间中的广义语言模型
A Generalized Language Model in Tensor Space
摘要:
在文献中,张量已被有效地用于捕获语言模型中的上下文信息。然而,现有的方法通常采用相对低阶的张量,这在建模语言中的表达能力有限。开发高阶张量表示是具有挑战性的,在导出有效的解决方案和显示其通用性方面。本文利用张量网络和张量分解,提出了一种名为张量空间语言模型(TSLM)的语言模型。在TSLM中,我们建立了一个由词向量的张量积构成的高维语义空间。理论上,我们证明了这种张量表示是n-gram语言模型的推广。我们进一步表明,这种高阶张量表示可以分解为递归计算的语言建模的条件概率。在Penn Tree Bank(PTB)数据集和WikiText基准上的实验结果表明了TSLM的有效性。
英文摘要:
In the literature, tensors have been effectively used for capturing the context information in language models. However, the existing methods usually adopt relatively-low order tensors, which have limited expressive power in modeling language. Developing a higher-order tensor representation is challenging, in terms of deriving an effective solution and showing its generality. In this paper, we propose a language model named Tensor Space Language Model (TSLM), by utilizing tensor networks and tensor decomposition. In TSLM, we build a high-dimensional semantic space constructed by the tensor product of word vectors. Theoretically, we prove that such tensor representation is a generalization of the n-gram language model. We further show that this high-order tensor representation can be decomposed to a recursive calculation of conditional probability for language modeling. The experimental results on Penn Tree Bank (PTB) dataset and WikiText benchmark demonstrate the effectiveness of TSLM.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。