arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.04590cs.CLcs.IR
收藏

使用张量列(Tensor Trains)进行语言建模

Language Modeling Using Tensor Trains

University of Copenhagen(哥本哈根大学);University of Montreal(蒙特利尔大学)

Zhan Su, Yuqin Zhou, Fengran Mo, Jakob Grue Simonsen

AI总结:

提出基于张量列的语言模型TTLM,统一解释多种RNN架构,并在小规模隐藏单元下优于普通RNN。

摘要:

我们提出了一种新颖的张量网络语言模型,它基于最简单的张量网络(即张量列,tensor trains),称为“Tensor Train Language Model”(TTLM,张量列语言模型)。TTLM在由词语张量积构造的指数级空间中表示句子,却以低维方式计算句子概率。我们证明,二阶RNN、循环算术电路(RACs)和乘法积分RNN的架构本质上都是TTLM的特例。在真实语言建模任务上的实验评估表明,所提出的TTLM变体(即TTLM-Large和TTLM-Tiny)在隐藏单元规模较小的情况下优于普通循环神经网络(RNNs)。(代码可在https://github.com/shuishen112/tensortrainlm获取。)

英文摘要:

We propose a novel tensor network language model based on the simplest tensor network (i.e., tensor trains), called `Tensor Train Language Model' (TTLM). TTLM represents sentences in an exponential space constructed by the tensor product of words, but computing the probabilities of sentences in a low-dimensional fashion. We demonstrate that the architectures of Second-order RNNs, Recurrent Arithmetic Circuits (RACs), and Multiplicative Integration RNNs are, essentially, special cases of TTLM. Experimental evaluations on real language modeling tasks show that the proposed variants of TTLM (i.e., TTLM-Large and TTLM-Tiny) outperform the vanilla Recurrent Neural Networks (RNNs) with low-scale of hidden units. (The code is available at https://github.com/shuishen112/tensortrainlm.)

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

↑