On Model Compression for Neural Networks: Framework, Algorithm, and Convergence Guarantee
Chenyang Li, Jihoon Chung, Mengnan Du, Haimin Wang, Xianlian Zhou, Bo Shen
TL;DR
This work introduces a holistic, nonconvex optimization framework for model compression that unifies low-rank tensorization and weight pruning via a neural-network block coordinate descent (NN-BCD) algorithm. NN-BCD is gradient-free, leverages proximal updates, and handles non-differentiable and nonconvex components, with global convergence to a critical point at a rate of $O(1/k)$ under mild conditions through the Kurdyka–Łojasiewicz property. The authors provide detailed algorithmic steps, subproblem solutions, and convergence proofs, enabling efficient, scalable training for TT-based layers and pruned networks. Empirically, NN-BCD achieves strong performance on tensorized CNNs and MLPs (MNIST, HAR) and on weight-pruned LeNet-300-100 with high sparsity, often matching or surpassing uncompressed baselines at substantial compression. The approach offers a practical pathway to deploy compact, high-performing neural networks in resource-constrained environments.
Abstract
Model compression is a crucial part of deploying neural networks (NNs), especially when the memory and storage of computing devices are limited in many applications. This paper focuses on two model compression techniques: low-rank approximation and weight pruning in neural networks, which are very popular nowadays. However, training NN with low-rank approximation and weight pruning always suffers significant accuracy loss and convergence issues. In this paper, a holistic framework is proposed for model compression from a novel perspective of nonconvex optimization by designing an appropriate objective function. Then, we introduce NN-BCD, a block coordinate descent (BCD) algorithm to solve the nonconvex optimization. One advantage of our algorithm is that an efficient iteration scheme can be derived with closed-form, which is gradient-free. Therefore, our algorithm will not suffer from vanishing/exploding gradient problems. Furthermore, with the Kurdyka-Łojasiewicz (KŁ) property of our objective function, we show that our algorithm globally converges to a critical point at the rate of O(1/k), where k denotes the number of iterations. Lastly, extensive experiments with tensor train decomposition and weight pruning demonstrate the efficiency and superior performance of the proposed framework. Our code implementation is available at https://github.com/ChenyangLi-97/NN-BCD
