[Paper Review] Trained Rank Pruning for Efficient Deep Neural Networks
This paper proposes Trained Rank Pruning (TRP), a method that integrates low-rank approximation and nuclear norm regularization into the training process of deep neural networks, enabling models to naturally adopt a low-rank structure with minimal performance loss. By alternating between low-rank approximation and stochastic sub-gradient training, TRP eliminates the need for fine-tuning after compression and achieves state-of-the-art results on CIFAR-10 and ImageNet.
To accelerate DNNs inference, low-rank approximation has been widely adopted because of its solid theoretical rationale and efficient implementations. Several previous works attempted to directly approximate a pre-trained model by low-rank decomposition; however, small approximation errors in parameters can ripple over a large prediction loss. Apparently, it is not optimal to separate low-rank approximation from training. Unlike previous works, this paper integrates low rank approximation and regularization into the training process. We propose Trained Rank Pruning (TRP), which alternates between low rank approximation and training. TRP maintains the capacity of the original network while imposing low-rank constraints during training. A nuclear regularization optimized by stochastic sub-gradient descent is utilized to further promote low rank in TRP. Networks trained with TRP has a low-rank structure in nature, and is approximated with negligible performance loss, thus eliminating fine-tuning after low rank approximation. The proposed method is comprehensively evaluated on CIFAR-10 and ImageNet, outperforming previous compression counterparts using low rank approximation. Our code is available at: https://github.com/yuhuixu1993/Trained-Rank-Pruning.
Motivation & Objective
- To address the performance degradation caused by approximation errors in post-training low-rank decomposition of pre-trained models.
- To eliminate the need for fine-tuning after low-rank approximation by embedding the low-rank constraint directly into the training process.
- To maintain the original network's capacity while promoting a low-rank structure through joint optimization of weight matrices and nuclear regularization.
- To achieve efficient inference through structured parameter reduction without sacrificing model accuracy.
Proposed method
- TRP alternates between low-rank approximation of weight matrices and stochastic gradient descent updates during training.
- A nuclear regularization term is optimized via stochastic sub-gradient descent to encourage low-rank solutions.
- The method integrates low-rank constraints directly into the training loop, ensuring that the network learns a low-rank structure from the start.
- Weight matrices are decomposed into low-rank factors during training, with rank controlled by the regularization strength.
- The approach avoids post-compression fine-tuning by maintaining model capacity and minimizing approximation error from the outset.
Experimental results
Research questions
- RQ1Can low-rank approximation be effectively integrated into the training process to reduce performance loss compared to post-training decomposition?
- RQ2Does jointly optimizing for low-rank structure and model accuracy during training eliminate the need for fine-tuning after compression?
- RQ3How does TRP compare to existing low-rank compression methods in terms of accuracy and parameter efficiency on standard benchmarks?
- RQ4To what extent does nuclear norm regularization promote low-rank structures in deep networks during training?
Key findings
- TRP achieves state-of-the-art compression performance on CIFAR-10 and ImageNet with negligible accuracy loss compared to full-precision models.
- The method eliminates the need for fine-tuning after low-rank approximation, reducing inference deployment complexity.
- By integrating low-rank constraints into training, TRP maintains higher model capacity and reduces approximation error propagation.
- Nuclear regularization via stochastic sub-gradient descent effectively promotes low-rank structures in the trained weights.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.