Compressing Recurrent Neural Networks with Tensor Ring for Action Recognition

Yu Pan, Jing Xu, Maolin Wang, Jinmian Ye, Fei Wang +2 more
11/19/2018
cs.CVcs.LG

Official code: tnbar/tednet (100 stars, Python, MIT, PyTorch, last commit 2022-04-06).

Abstract

Recurrent Neural Networks (RNNs) and their variants, such as Long-Short Term Memory (LSTM) networks, and Gated Recurrent Unit (GRU) networks, have achieved promising performance in sequential data modeling. The hidden layers in RNNs can be regarded as the memory units, which are helpful in storing information in sequential contexts.

Show full abstract

However, when dealing with high dimensional input data, such as video and text, the input-to-hidden linear transformation in RNNs brings high memory usage and huge computational cost. This makes the training of RNNs unscalable and difficult. To address this challenge, we propose a novel compact LSTM model, named as TR-LSTM, by utilizing the low-rank tensor ring decomposition (TRD) to reformulate the input-to-hidden transformation. Compared with other tensor decomposition methods, TR-LSTM is more stable. In addition, TR-LSTM can complete an end-to-end training and also provide a fundamental building block for RNNs in handling large input data. Experiments on real-world action recognition datasets have demonstrated the promising performance of the proposed TR-LSTM compared with the tensor train LSTM and other state-of-the-art competitors.

View on arXivView PDF

Code Implementations(1)

tnbar/tednetOfficial100%
PyTorchMIT

TedNet: A Pytorch Toolkit for Tensor Decomposition Networks

10013Python, ShellDec 4, 20204 years agoMIT
artificial-intelligencedeep-neural-networkspytorchtensor-decomposition

Similar Papers

Cite this paper

@article{pan2018compressing,
  title  = {Compressing Recurrent Neural Networks with Tensor Ring for Action Recognition},
  author = {Yu Pan and Jing Xu and Maolin Wang and Jinmian Ye and Fei Wang and Kun Bai and Zenglin Xu},
  year   = {2018},
  eprint = {1811.07503},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1811.07503}
}

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

Discussion