A Fully Tensorized Recurrent Neural Network

Charles C. Onu, Jacob E. Miller, Doina Precup
10/8/2020
cs.LGstat.ML

Official code: onucharles/tensorized-rnn (26 stars, Python, MIT, last commit 2022-12-13).

Abstract

Recurrent neural networks (RNNs) are powerful tools for sequential modeling, but typically require significant overparameterization and regularization to achieve optimal performance. This leads to difficulties in the deployment of large RNNs in resource-limited settings, while also introducing complications in hyperparameter selection and training.

Show full abstract

To address these issues, we introduce a "fully tensorized" RNN architecture which jointly encodes the separate weight matrices within each recurrent cell using a lightweight tensor-train (TT) factorization. This approach represents a novel form of weight sharing which reduces model size by several orders of magnitude, while still maintaining similar or better performance compared to standard RNNs. Experiments on image classification and speaker verification tasks demonstrate further benefits for reducing inference times and stabilizing model training and hyperparameter selection.

View on arXivView PDF

Code Implementations(1)

MIT

A fully tensorized recurrent neural network using tensor-train decomposition

267Python, Jupyter NotebookApr 1, 20203 years agoMIT
compressiondeep-learninggrulstmrnn+2 more

Similar Papers

Cite this paper

@article{onu2020fully,
  title  = {A Fully Tensorized Recurrent Neural Network},
  author = {Charles C. Onu and Jacob E. Miller and Doina Precup},
  year   = {2020},
  eprint = {2010.04196},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2010.04196}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2010.04196.svg)](https://codeofpaper.com/paper/2010.04196)

Discussion