Abstract
Convolutional neural networks (CNNs) have been employed in a multitude of applications, yielding results that have gained international recognition. Nevertheless, the training and inference of convolutional neural networks (CNNs) require a significant amount of memory and computational resources, which present a challenge for their deployment on hardware with limited resources. Although it is an effective method to compress the parameterized CNN, applying tensor compression directly is challenging because it is difficult to choose the proper tensor rank. In this paper, we proposed a novel automatic tensor decomposition method to compress CNN. Our method first trains a complete convolutional neural network to obtain the trained weight parameters, and then it takes advantage of the genetic algorithm to automatically search tensor ranks to compress the parameters of neural networks. Fine-tuning is also used to optimize the network performance. Extensive experimental results demonstrate the effectiveness of our proposed method on the Alexnet and Vgg11_bn network, which significantly reduces the GPU memory and power consumption.