Kronecker CP Decomposition with Fast Multiplication for Compressing RNNs
arXiv:2008.09342 · doi:10.1109/TNNLS.2021.3105961
Abstract
Recurrent neural networks (RNNs) are powerful in the tasks oriented to sequential data, such as natural language processing and video recognition. However, since the modern RNNs, including long-short term memory (LSTM) and gated recurrent unit (GRU) networks, have complex topologies and expensive space/computation complexity, compressing them becomes a hot and promising topic in recent years. Among plenty of compression methods, tensor decomposition, e.g., tensor train (TT), block term (BT), tensor ring (TR) and hierarchical Tucker (HT), appears to be the most amazing approach since a very high compression ratio might be obtained. Nevertheless, none of these tensor decomposition formats can provide both the space and computation efficiency. In this paper, we consider to compress RNNs based on a novel Kronecker CANDECOMP/PARAFAC (KCP) decomposition, which is derived from Kronecker tensor (KT) decomposition, by proposing two fast algorithms of multiplication between the input and the tensor-decomposed weight. According to our experiments based on UCF11, Youtube Celebrities Face and UCF50 datasets, it can be verified that the proposed KCP-RNNs have comparable performance of accuracy with those in other tensor-decomposed formats, and even 278,219x compression ratio could be obtained by the low rank KCP. More importantly, KCP-RNNs are efficient in both space and computation complexity compared with other tensor-decomposed ones under similar ranks. Besides, we find KCP has the best potential for parallel computing to accelerate the calculations in neural networks.
Accepted by TNNLS
References in corpus (9)
- Quantized Neural Networks: Training Neural Networks with Low Precision Weights and Activations
- The Heidelberg spiking datasets for the systematic evaluation of spiking neural networks
- Compressing Recurrent Neural Network with Tensor Train
- Proving the Lottery Ticket Hypothesis: Pruning is All You Need
- Tensor-Train Recurrent Neural Networks for Video Classification
- Hybrid Tensor Decomposition in Neural Network Compression
- Compressing 3DCNNs Based on Tensor Train Decomposition
- Compressing Recurrent Neural Networks Using Hierarchical Tucker Tensor Decomposition
- Recurrent Regression for Face Recognition