A Tensorized Transformer for Language Modeling

By Xindian Ma, Peng Zhang, Shuai Zhang, Nan Duan, Yuexian Hou, Dawei Song, M. Zhou. 2019

200 citations recorded by the source corpus.

Latest development of neural models has connected the encoder and decoder through a self-attention mechanism. In particular, Transformer, which is solely based on self-attention, has led to breakthroughs in Natural Language Processing (NLP) tasks. However, the multi-head attention mechanism, as a key component of Transformer, limits the effective deployment of the model to a resource-limited setting. In this paper, based on the ideas of tensor decomposition and parameters sharing, we propose a novel self-attention model (namely Multi-linear attention) with Block-Term Tensor Decomposition (BTD). We test and verify the proposed attention method on three language modeling tasks (i.e., PTB, WikiText-103 and One-billion) and a neural machine translation task (i.e., WMT-2016 English-German). Multi-linear attention can not only largely compress the model parameters but also obtain performance improvements, compared with a number of language modeling approaches, such as Transformer, Transformer-XL, and Transformer with tensor train decomposition.

Subfields: Artificial Intelligence, Computational Mathematics

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Kurt Keutzer
  2. Zi-Mei Yao
  3. Michael W. Mahoney
  4. A. Gholami
  5. Zhen Dong
  6. Sheng Shen
  7. Derya Soydaner
  8. Qun Liu

In Computational Mathematics

  1. A. Gholami
  2. Derya Soydaner
  3. Michael W. Mahoney
  4. Kurt Keutzer
  5. Sheng Shen
  6. Zi-Mei Yao
  7. David P. Woodruff
  8. Petros Drineas

Citations in the corpus