Tensor Decomposition for Compressing Recurrent Neural Network

Andros Tjandra, Sakriani Sakti, Satoshi Nakamura
2/28/2018
cs.LG

Official code: androstj/tensor_rnn (18 stars, Python, MIT, PyTorch, last commit 2018-06-04).

Abstract

In the machine learning fields, Recurrent Neural Network (RNN) has become a popular architecture for sequential data modeling. However, behind the impressive performance, RNNs require a large number of parameters for both training and inference.

Show full abstract

In this paper, we are trying to reduce the number of parameters and maintain the expressive power from RNN simultaneously. We utilize several tensor decompositions method including CANDECOMP/PARAFAC (CP), Tucker decomposition and Tensor Train (TT) to re-parameterize the Gated Recurrent Unit (GRU) RNN. We evaluate all tensor-based RNNs performance on sequence modeling tasks with a various number of parameters. Based on our experiment results, TT-GRU achieved the best results in a various number of parameters compared to other decomposition methods.

View on arXivView PDF

Code Implementations(1)

PyTorchMIT

An implementation of various tensor-based decomposition for NN & RNN parameters

184Python, ShellApr 25, 20188 years agoMIT
cp-decompositiondeep-learningmachine-learningneural-networkpytorch+4 more

Similar Papers

Cite this paper

@article{tjandra2018tensor,
  title  = {Tensor Decomposition for Compressing Recurrent Neural Network},
  author = {Andros Tjandra and Sakriani Sakti and Satoshi Nakamura},
  year   = {2018},
  eprint = {1802.10410},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1802.10410}
}

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/1802.10410.svg)](https://codeofpaper.com/paper/1802.10410)

Discussion