Language Modeling Using Tensor Trains

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Su, Zhan, Zhou, Yuqin, Mo, Fengran, Simonsen, Jakob Grue
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866910438164267008
author Su, Zhan
Zhou, Yuqin
Mo, Fengran
Simonsen, Jakob Grue
author_facet Su, Zhan
Zhou, Yuqin
Mo, Fengran
Simonsen, Jakob Grue
contents 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.)
format Preprint
id arxiv_https___arxiv_org_abs_2405_04590
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Language Modeling Using Tensor Trains
Su, Zhan
Zhou, Yuqin
Mo, Fengran
Simonsen, Jakob Grue
Computation and Language
Information Retrieval
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.)
title Language Modeling Using Tensor Trains
topic Computation and Language
Information Retrieval
url https://arxiv.org/abs/2405.04590