Learning and Compressing: Low-Rank Matrix Factorization for Deep Neural Network Compression
Open Access
- 20 February 2023
- journal article
- research article
- Published by MDPI AG in Applied Sciences
- Vol. 13 (4) , 2704
Abstract
Recently, the deep neural network (DNN) has become one of the most advanced and powerful methods used in classification tasks. However, the cost of DNN models is sometimes considerable due to the huge sets of parameters. Therefore, it is necessary to compress these models in order to reduce the parameters in weight matrices and decrease computational consumption, while maintaining the same level of accuracy. In this paper, in order to deal with the compression problem, we first combine the loss function and the compression cost function into a joint function, and optimize it as an optimization framework. Then we combine the CUR decomposition method with this joint optimization framework to obtain the low-rank approximation matrices. Finally, we narrow the gap between the weight matrices and the low-rank approximations to compress the DNN models on the image classification task. In this algorithm, we not only solve the optimal ranks by enumeration, but also obtain the compression result with low-rank characteristics iteratively. Experiments were carried out on three public datasets under classification tasks. Comparisons with baselines and current state-of-the-art results can conclude that our proposed low-rank joint optimization compression algorithm can achieve higher accuracy and compression ratios.Keywords
Funding Information
- National Natural Science Foundation of China (32071775)
This publication has 35 references indexed in Scilit:
- Compressed Singular Value Decomposition for Image and Video Processing2017
- Coordinating Filters for Faster Deep Neural Networks2017
- Efficient algorithms for cur and interpolative matrix decompositionsAdvances in Computational Mathematics, 2016
- Ranking SaliencyIEEE Transactions on Pattern Analysis and Machine Intelligence, 2016
- Deep Residual Learning for Image Recognition2016
- Compressed Nonnegative Matrix Factorization Is Fast and AccurateIEEE Transactions on Signal Processing, 2016
- CUR matrix decompositions for improved data analysisProceedings of the National Academy of Sciences of the United States of America, 2009
- $rm K$-SVD: An Algorithm for Designing Overcomplete Dictionaries for Sparse RepresentationIEEE Transactions on Signal Processing, 2006
- Gradient-based learning applied to document recognitionProceedings of the IEEE, 1998
- A Singularly Valuable Decomposition: The SVD of a MatrixThe College Mathematics Journal, 1996